The attitude of the aircraft, where the pitch, roll, and yaw values will be in the range of [-180, 180] degrees. If its pitch, roll, and yaw values are 0, the aircraft will be hovering level with a True North heading.
YES if the clearance between the aircraft and the ground is less than 0.3m, and confirmation from the user is needed to continue the landing. When the confirmation is needed, confirmLandingWithCompletion in DJIFlightController can be used to continue landing. It is
supported by flight controller firmware 3.2.0.0 or above.
YES if the ultrasonic sensor is being used. Variables that can impact the quality of the ultrasound measurement, or whether it's being used, are height above ground and the type of ground (if it reflects sound waves well). Usually, the ultrasonic sensor works when the aircraft is less than 8m above ground.
Height of aircraft measured by the ultrasonic sensor in meters. The data will only be available if isUltrasonicBeingUsed returns YES. Height has a precision of 0.1m. This value has reference significance when the height is below 5 meters.
YES if a vision sensor is being used. Variables that can impact the quality of the vision measurement, or whether it's being used, are height above ground and the type of ground (if it has sufficiently rich texture). Usually, the vision sensor works when the aircraft is less than 3m above ground.
The estimated remaining time, in seconds, it will take the aircraft to go home with a 10% battery buffer remaining. This time includes landing the aircraft. If the aircraft is using the simulator, this value will be 0.
NSUInteger timeNeededToGoHome
The estimated time, in seconds, needed for the aircraft to go home from its current location.
NSUInteger timeNeededToLandFromCurrentHeight
The estimated time, in seconds, needed for the aircraft to move downward from its current position and land.
NSUInteger batteryPercentageNeededToGoHome
The estimated battery percentage, in the range of [0,100], needed for the aircraft to go home and have 10% battery remaining. This includes landing of the aircraft.
The battery percentage, in the range of [0,100], needed for the aircraft to move downward from its current position and land.
float maxRadiusAircraftCanFlyAndGoHome
The maximum radius, in meters, an aircraft can fly from its home location and still make it all the way back home, based on altitude, distance, battery, etc. If the aircraft goes out farther than the max radius, it will fly as far back home as it can and land. If the aircraft is using the simulator, this value will be 0.
The Smart Return-To-Home (RTH) state for the current flight.
NSInteger smartRTHCountdown
The countdown (in seconds) for the Smart Return-To-Home (RTH). Once the countdown reaches 0, the aircraft will execute an automatic go-home procedure. It is only valid when smartRTHState is DJIFlightControllerSmartRTHStateCountingDown.
Flight controller flight modes. If the current flight mode means P-GPS, it will show OPTI in DJI app if the vision system is working. If the current flight Mode contains GPS and also the RTK signal is healthy, it will show RTK in DJI app.
Enum Members:
DJIFlightModeManual
Manual mode. Shown as Manual in DJI app.
DJIFlightModeAtti
Attitude mode. Shown as Atti in DJI app.
DJIFlightModeAttiCourseLock
Attitude course lock mode. Shown as Atti in DJI app.
DJIFlightModeGPSAtti
GPS Attitude mode. Shown as P-GPS in DJI app.
DJIFlightModeGPSCourseLock
GPS course lock mode. Shown as CL/P-CL/F-CL in DJI app.
DJIFlightModeGPSHomeLock
GPS Home mode. Shown as HL/P-HL/F-HL in DJI app.
DJIFlightModeGPSHotPoint
GPS hotpoint mode. Show as POI/F-POI in DJI app.
DJIFlightModeAssistedTakeoff
Assisted takeoff mode. Shown as TakeOff in DJI app.
DJIFlightModeAutoTakeoff
Auto takeoff mode. Shown as TakeOff in DJI app.
DJIFlightModeAutoLanding
Auto landing mode. Shown as Landing in DJI app.
DJIFlightModeGPSWaypoint
GPS waypoint mode. Shown as WP/F-WP in DJI app.
DJIFlightModeGoHome
Go home mode. Shown as Gohome in DJI app.
DJIFlightModeJoystick
Joystick mode. hown as Joystick in DJI app.
DJIFlightModeGPSAttiWristband
Attitude limited mode. Shown as Atti in DJI app.
DJIFlightModeDraw
Draw mode. Shown as Draw in DJI app.
DJIFlightModeGPSFollowMe
GPS follow me mode. Shown as FM/F-FM in DJI app.
DJIFlightModeActiveTrack
ActiveTrack mode. Shown as ActiveTrack in DJI app.
DJIFlightModeTapFly
TapFly mode. Shown as TapFly in DJI app.
DJIFlightModeGPSNovice
GPS Novice mode. Shown as Beginner in DJI app.
DJIFlightModeUnknown
The main controller flight mode is unknown.
DJIFlightModeConfirmLanding
Confirm landing mode. Shown as Landing in DJI app.
DJIFlightModeTerrainFollow
The aircraft should move following the terrain. Shown as TerrainTracking in DJI app.
DJIFlightModeTripod
Tripod mode. Shown as Tripod in DJI app.
DJIFlightModeActiveTrackSpotlight
Active track mode, corresponds to Spotlight active track mode. Shown as QuickShot/ActiveTrack in DJI app.
DJIFlightModeMotorsJustStarted
The motors are just started. Shown as TakeOff in DJI app.