Flight
Telemetry
note
Telemetry with enum type (i.e. flight modes, device states) is represented using a pair of topics :
/dji/<enum telemetry>: code number of the enum value./dji/<enum telemetry>/desc: description text of the enum value.
Topics ending with */desc are only indicative and intended for humans, not for programs. They are not documented below.
/dji/flight/aircraftState
| Description | Aircraft’s current state. |
|---|---|
| Push | Every 2s when aircraft is on |
| Type | int |
| DJI Bindings | Aircraft property mode_code |
| Values |
|
/dji/flight/aircraftState/reason
| Description | Reason why aircraft’s has switched to current aircraftState. |
|---|---|
| Push | Every 2s when aircraft is on |
| Type | int |
| DJI Bindings | Aircraft property mode_code_reason |
| Values |
|
/dji/flight/taskState
| Description | Current flight task state. |
|---|---|
| Push | Every 2s |
| Type | int |
| DJI Bindings | Dock property flighttask_step_code |
| Values |
|
/dji/flight/controlSource
| Description | Device currently in-control of the aircraft. |
|---|---|
| Push | Every 2s when aircraft is on |
| Type | int |
| DJI Bindings | Dock property control_source |
| Values |
|
/dji/flight/gear
| Description | Current flight mode. Only relevant when controlled using the RC. |
|---|---|
| Push | Every 2s when aircraft is on |
| Type | int |
| DJI Bindings | Dock property gear |
| Values |
|
/dji/flight/position
| Description | Geographic position of the aircraft (i.e. latitude, longitude & altitude). |
|---|---|
| Push | Every 2s when aircraft is on |
| Type | Position |
| DJI Bindings | Aircraft properties latitude, longitude & height |
/dji/flight/orientation
| Description | Aircraft orientation wrt the NED frame expressed as Euler angles in degrees. |
|---|---|
| Push | Every 2s when aircraft is on |
| Type | Orientation |
| DJI Bindings | Aircraft properties attitude_head, attitude_pitch & attitude_roll |