DJISimulatorState

@interface DJISimulatorState : NSObject

Aircraft’s state during the simulation.

  • YES if motors are on in simulator.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL areMotorsOn;
  • YES if aircraft is flying in simulator.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isFlying;
  • Simulated latitude of the aircraft.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double latitude;
  • Simulated longitude of the aircraft.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double longitude;
  • Simulated aircraft pitch with range [-30, 30].

    Declaration

    Objective-C

    @property (readonly, nonatomic) float pitch;
  • Simulated aircraft roll with range [-30, 30].

    Declaration

    Objective-C

    @property (readonly, nonatomic) float roll;
  • yaw

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

    Declaration

    Objective-C

    @property (readonly, nonatomic) float yaw;
  • Simulated aircraft X (East-West) distance from initial simulator location where East is positive and North-East-Down coordinate system is used.

    Declaration

    Objective-C

    @property (readonly, nonatomic) float positionX;
  • Simulated aircraft Y (North-South) distance from initial simulator location where North is positive and North-East-Down coordinate system is used.

    Declaration

    Objective-C

    @property (readonly, nonatomic) float positionY;
  • Simulated aircraft Z (Vertical direction). The value should be negative if the height of aircraft is higher than initial home point’s height.

    Declaration

    Objective-C

    @property (readonly, nonatomic) float positionZ;