DJI Mobile SDK Documentation

      class DJISimulatorState

      @interface DJISimulatorState : NSObject
      Header:DJISimulatorState.h
      Inherits From:NSObject
      SDK Key:DJIFlightControllerKey.DJIFlightControllerParamSimulatorState
      Description:

      Aircraft simulator state data.

      Class Members:
      Simulated Aircraft State
      property
      property areMotorsOn
      @property(nonatomic, readonly) BOOL areMotorsOn
      Header:DJISimulatorState.h
      Description:

      YES if motors are on in simulator.

      property
      property isFlying
      @property(nonatomic, readonly) BOOL isFlying
      Header:DJISimulatorState.h
      Description:

      YES if aircraft is flying in simulator.

      property
      property location
      @property(nonatomic, readonly) CLLocationCoordinate2D location
      Header:DJISimulatorState.h
      Description:

      Simulated aircraft location.

      property
      property positionX
      @property(nonatomic, readonly) float positionX
      Header:DJISimulatorState.h
      Description:

      Gets East-West distance from initial simulator location, where East is positive, and North-East-Down coordinate system is used.

      property
      property positionY
      @property(nonatomic, readonly) float positionY
      Header:DJISimulatorState.h
      Description:

      Gets North-South distance from initial simulator location, where North is positive, and North-East-Down coordinate system is used.

      property
      property positionZ
      @property(nonatomic, readonly) float positionZ
      Header:DJISimulatorState.h
      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.

      property
      property pitch
      @property(nonatomic, readonly) float pitch
      Header:DJISimulatorState.h
      Description:

      Simulated aircraft pitch with range [-30, 30] degrees.

      property
      property roll
      @property(nonatomic, readonly) float roll
      Header:DJISimulatorState.h
      Description:

      Simulated aircraft roll with range [-30, 30] degrees.

      property
      property yaw
      @property(nonatomic, readonly) float yaw
      Header:DJISimulatorState.h
      Description:

      Simulated aircraft yaw with range [-180, 180] degrees.