class SimulatorState
@EXClassNullAway class SimulatorState
Description:
Aircraft simulator state data.
Class Members:
Simulated Aircraft State
method
method areMotorsOn
Package: dji.common.flightcontroller.simulator
Description:
TRUE if motors are on in the simulator.
Return:
method isFlying
Package: dji.common.flightcontroller.simulator
Description:
TRUE if aircraft is flying in the simulator.
Return:
method getLocation
LocationCoordinate2D getLocation ()
Package: dji.common.flightcontroller.simulator
Description:
Simulated aircraft location.
Return:
method getPositionX
Package: dji.common.flightcontroller.simulator
Description:
Gets East-West distance from initial simulator location, where East is positive, and North-East-Down coordinate system is used.
Return:
method getPositionY
Package: dji.common.flightcontroller.simulator
Description:
Gets North-South distance from initial simulator location, where North is positive, and North-East-Down coordinate system is used.
Return:
method getPositionZ
Package: dji.common.flightcontroller.simulator
Description:
Gets vertical distance from initial simulator location. The value should be negative if the height of aircraft is higher than initial home point's height.
Return:
method getPitch
Package: dji.common.flightcontroller.simulator
Description:
Simulated aircraft pitch with range [-30, 30] degrees.
Return:
method getRoll
Package: dji.common.flightcontroller.simulator
Description:
Simulated aircraft roll with range [-30, 30] degrees.
Return:
method getYaw
Package: dji.common.flightcontroller.simulator
Description:
Simulated aircraft yaw with range [-180, 180] degrees.
Return: