const classafParrotSdk2::NavDataFlags

sys::Obj
  afParrotSdk2::NavDataFlags

Standard state flags returned by the drone.

acquisitionThreadOn

Source

Bool acquisitionThreadOn()

adcWatchdogDelayed

Source

Bool adcWatchdogDelayed()

altitudeControlActive

Source

Bool altitudeControlActive()

anglesOutOufRange

Source

Bool anglesOutOufRange()

Drone exceeded maximum tilt. This also sets emergencyLanding.

angularSpeedControl

Source

Bool angularSpeedControl()

atCodecThreadOn

Source

Bool atCodecThreadOn()

batteryTooLow

Source

Bool batteryTooLow()

Battery level is at or below 20%

bootstrapMode

Source

Bool bootstrapMode()

Bootstap mode is on.

cameraReady

Source

Bool cameraReady()

comWatchdogProblem

Source

Bool comWatchdogProblem()

communicationLost

Source

Bool communicationLost()

controlCommandAck

Source

Bool controlCommandAck()

controlWatchdogDelayed

Source

Bool controlWatchdogDelayed()

cutOutDetected

Source

Bool cutOutDetected()

data

Source

const Int data

The raw flags data.

dump

Source

Str dump(Bool dumpToStdOut := true)

Dumps all flags out to debug string.

dumpChanged

Source

Str dumpChanged(NavDataFlags? oldFlags)

Dumps to a debug string all flags that are different to the instance passed in. May return an empty string if nothing has changed.

If null is passed in, all old flags are assumed to be false.

Note this ignores changes to common flags comWatchdogProblem and controlCommandAck.

emergencyLanding

Source

Bool emergencyLanding()

The drone initiated an emergency landing.

eulerAnglesControl

Source

Bool eulerAnglesControl()

flying

Source

Bool flying()

The drone is in the air.

gyrometersDown

Source

Bool gyrometersDown()

hiResNavData

Source

Bool hiResNavData()

NavData is being sent at ~ 200 times a second.

magnometerNeedsCalibration

Source

Bool magnometerNeedsCalibration()

motorProblem

Source

Bool motorProblem()

Source

Bool navDataThreadOn()

picVersionNumberOK

Source

Bool picVersionNumberOK()

timerElapsed

Source

Bool timerElapsed()

tooMuchWind

Source

Bool tooMuchWind()

Too much wind. (pffft!)

travellingEnabled

Source

Bool travellingEnabled()

ultrasonicSensorDeaf

Source

Bool ultrasonicSensorDeaf()

usbReady

Source

Bool usbReady()

userEmergencyLanding

Source

Bool userEmergencyLanding()

The user initiated an emergency landing (sent an emergency AT*REF command)

userFeedbackOn

Source

Bool userFeedbackOn()

videoEnabled

Source

Bool videoEnabled()

videoThreadOn

Source

Bool videoThreadOn()

visionEnabled

Source

Bool visionEnabled()