dji_telemetry.hpp
Go to the documentation of this file.
869 template <> struct TypeMap<TOPIC_HOME_POINT_SET_STATUS > { typedef HomeLocationSetStatus type;};
uint32_t gpsYawError
Definition: dji_telemetry.hpp:736
struct for TOPIC_GPS_DETAILS and sub struct for GPSInfo of data broadcast
Definition: dji_telemetry.hpp:361
uint32_t mountStatus
Definition: dji_telemetry.hpp:480
uint32_t installedDirection
Definition: dji_telemetry.hpp:487
uint32_t imuInstallationError
Definition: dji_telemetry.hpp:733
struct DJI::OSDK::Telemetry::SBUSFullRawData SBUSFullRawData
struct for the sbus part of TOPIC_RC_FULL_RAW_DATA
Provides RTK connection status @ up to 50Hz.
Definition: dji_telemetry.hpp:99
struct DJI::OSDK::Telemetry::Quaternion Quaternion
struct for TOPIC_QUATERNION
struct for TOPIC_HOME_POINT_INFO
Definition: dji_telemetry.hpp:342
Provides the altitude from sea level when the aircraft last took off.
Definition: dji_telemetry.hpp:70
struct DJI::OSDK::Telemetry::GimbalStatus GimbalStatus
struct for TOPIC_GIMBAL_STATUS
uint32_t escYawStatus
Definition: dji_telemetry.hpp:493
Provides various data about the battery @ up to 50Hz.
Definition: dji_telemetry.hpp:91
Provides double gimbal information, used for M210V2.
Definition: dji_telemetry.hpp:106
sub struct for RTK of data broadcast
Definition: dji_telemetry.hpp:393
Provides aircraft's raw Real-Time Kinematic (RTK) yaw @ up to 5Hz.
Definition: dji_telemetry.hpp:80
Provides gimbal status and error codes @ up to 50Hz.
Definition: dji_telemetry.hpp:86
struct for data broadcast and subscription, return obstacle info around the vehicle
Definition: dji_telemetry.hpp:300
uint32_t droneDataRecv
Definition: dji_telemetry.hpp:494
struct indicates the signal level of GPS velocity info
Definition: dji_telemetry.hpp:245
Provides aircraft's GPS/IMU fused X-Y position and barometric altitude (put together in a single topi...
Definition: dji_telemetry.hpp:72
Provides a measure of the quality of GPS signal, with a mechanism for guarding against unset homepoin...
Definition: dji_telemetry.hpp:95
uint32_t pitchLimited
Definition: dji_telemetry.hpp:482
uint8_t appConnected
Definition: dji_telemetry.hpp:608
struct DJI::OSDK::Telemetry::Battery Battery
struct for TOPIC_BATTERY_INFO and data broadcast, return battery status
float64_t longitude
Definition: dji_telemetry.hpp:345
struct for TOPIC_RC_WITH_FLAG_DATA
Definition: dji_telemetry.hpp:597
uint8_t backHealth
Definition: dji_telemetry.hpp:311
Provides three gimbal information, used for M300.
Definition: dji_telemetry.hpp:107
Provides the aircraft's internal flight state @ up to 50Hz.
Definition: dji_telemetry.hpp:87
struct DJI::OSDK::Telemetry::GlobalPosition GlobalPosition
struct for data broadcast, return GPS data
struct for TOPIC_THREE_GIMBAL_DATA
Definition: dji_telemetry.hpp:714
uint32_t yawCtrlFail
Definition: dji_telemetry.hpp:728
int16_t temperature
Definition: dji_telemetry.hpp:621
struct for data broadcast, return RTK info
Definition: dji_telemetry.hpp:404
uint32_t strongWindLevel2
Definition: dji_telemetry.hpp:731
struct for data broadcast, return compass reading
Definition: dji_telemetry.hpp:455
Provides a status on aircraft's Real-Time Kinematic (RTK) yaw solution @ up to 5Hz.
Definition: dji_telemetry.hpp:82
struct for TOPIC_HOME_POINT_SET_STATUS
Definition: dji_telemetry.hpp:351
struct DJI::OSDK::Telemetry::Velocity Velocity
struct for TOPIC_VELOCITY
Vector3f velocityNED
Definition: dji_telemetry.hpp:808
struct DJI::OSDK::Telemetry::Compass Compass
struct for data broadcast, return compass reading
struct DJI::OSDK::Telemetry::FlightAnomaly FlightAnomaly
struct for TOPIC_FLIGHT_ANOMALY
struct DJI::OSDK::Telemetry::LB2RcFullRawData LB2RcFullRawData
struct for the light bridge 2 part of TOPIC_RC_FULL_RAW_DATA
Provides quaternion representing ground frame (NED) to body frame (FRD) rotation @ up to 200Hz.
Definition: dji_telemetry.hpp:61
struct for TopicInfo data used to subscribe packages from the FC
Definition: dji_telemetry.hpp:173
Provides raw remote controller stick, buttons and switch data @ up to 50Hz.
Definition: dji_telemetry.hpp:96
struct DJI::OSDK::Telemetry::LegacyVelocity LegacyVelocity
Matrice 100 Velocity struct, returned in Broadcast telemetry (only for M100)
struct DJI::OSDK::Telemetry::GPSInfo GPSInfo
struct for GPSInfo of data broadcast
Provides aircraft's fused altitude from sea level using the ICAO model @ up to 200Hz.
Definition: dji_telemetry.hpp:68
Provides states of the aircraft related to SDK/RC control.
Definition: dji_telemetry.hpp:92
struct DJI::OSDK::Telemetry::Mag Mag
struct for data broadcast, return magnetometer reading
struct DJI::OSDK::Telemetry::ESCStatusIndividual ESCStatusIndividual
struct for status of each individual esc
struct for data broadcast, return gimbal angle
Definition: dji_telemetry.hpp:503
struct indicating RTK GPS Connection
Definition: dji_telemetry.hpp:588
struct for data broadcast, timestamp from local cache
Definition: dji_telemetry.hpp:223
uint16_t temperatureHigh
Definition: dji_telemetry.hpp:626
struct DJI::OSDK::Telemetry::Gimbal Gimbal
struct for data broadcast, return gimbal angle
uint8_t rightHealth
Definition: dji_telemetry.hpp:310
Provides aircraft's acceleration w.r.t a ground-fixed NEU frame @ up to 200Hz.
Definition: dji_telemetry.hpp:62
uint8_t frontHealth
Definition: dji_telemetry.hpp:309
struct DJI::OSDK::Telemetry::RTK RTK
struct for data broadcast, return RTK info
struct for data broadcast, software sync timestamp from local cache
Definition: dji_telemetry.hpp:234
uint32_t rollPitchCtrlFail
Definition: dji_telemetry.hpp:727
int16_t rightWheelButton
Definition: dji_telemetry.hpp:655
Provides status of whether the home point was set or not.
Definition: dji_telemetry.hpp:104
template struct maps a topic name to the corresponding data type
Definition: dji_telemetry.hpp:820
struct DJI::OSDK::Telemetry::VelocityInfo VelocityInfo
struct indicates the signal level of GPS velocity info
uint32_t impactInAir
Definition: dji_telemetry.hpp:724
int16_t videoPause
Definition: dji_telemetry.hpp:652
uint8_t leftHealth
Definition: dji_telemetry.hpp:312
Provides obstacle info around the vehicle @ up to 100Hz.
Definition: dji_telemetry.hpp:103
TopicName
enum TopicName is the interface for user to create packages and access data It is also used as index ...
Definition: dji_telemetry.hpp:59
uint16_t escDisconnected
Definition: dji_telemetry.hpp:625
uint32_t escRollStatus
Definition: dji_telemetry.hpp:492
Provides aircraft's acceleration w.r.t a body-fixed FRU frame @ up to 200Hz.
Definition: dji_telemetry.hpp:63
Provides aircraft's angular velocity in an IMU-centered, body-fixed FRD frame @ up to 400Hz.
Definition: dji_telemetry.hpp:67
If motors failed to start, this topic provides reasons why. Available @ up to 50Hz.
Definition: dji_telemetry.hpp:90
struct DJI::OSDK::Telemetry::SyncTimestamp SyncTimestamp
sub struct for TOPIC_HARD_SYNC
struct DJI::OSDK::Telemetry::HardSyncData HardSyncData
struct for TOPIC_HARD_SYNC
struct for TOPIC_BATTERY_INFO and data broadcast, return battery status
Definition: dji_telemetry.hpp:530
Provides a granular state representation for various tasks/flight modes @ up to 50Hz.
Definition: dji_telemetry.hpp:88
struct DJI::OSDK::Telemetry::HomeLocationSetStatus HomeLocationSetStatus
struct for TOPIC_HOME_POINT_SET_STATUS
Provides aircraft's raw GPS status and other details @ up to 5Hz.
Definition: dji_telemetry.hpp:77
Provides normalized remote controller stick input data, along with connection status @ up to 50Hz.
Definition: dji_telemetry.hpp:97
uint32_t heightCtrlFail
Definition: dji_telemetry.hpp:726
struct for GPSInfo of data broadcast
Definition: dji_telemetry.hpp:802
struct DJI::OSDK::Telemetry::LocalPositionVO LocalPositionVO
struct for TOPIC_POSITION_VO
uint32_t strongWindLevel1
Definition: dji_telemetry.hpp:730
uint32_t resetTime2p5ms
Definition: dji_telemetry.hpp:559
uint32_t escTemperatureHigh
Definition: dji_telemetry.hpp:734
struct DJI::OSDK::Telemetry::RC RC
struct for data broadcast and data subscription, return RC reading
struct DJI::OSDK::Telemetry::Vector3f Vector3f
struct for multiple Topics
struct DJI::OSDK::Telemetry::Vector3d Vector3d
struct for multiple Topics
struct for data broadcast, return GPS data
Definition: dji_telemetry.hpp:272
TOPIC_UID
enum TOPIC_UID is the UID that is accepted by the FC
Definition: dji_telemetry.hpp:116
uint16_t visibleSatelliteNumber
Definition: dji_telemetry.hpp:292
uint32_t compassInstallationError
Definition: dji_telemetry.hpp:732
struct DJI::OSDK::Telemetry::SyncStamp SyncStamp
struct for data broadcast, software sync timestamp from local cache
struct DJI::OSDK::Telemetry::SDKInfo SDKInfo
struct for TOPIC_CONTROL_DEVICE and data broadcast, return SDK info
Provides raw data from the ESCs @ up to 50Hz.
Definition: dji_telemetry.hpp:98
Provides aircraft's raw Real-Time Kinematic (RTK) LLA @ up to 5Hz.
Definition: dji_telemetry.hpp:78
struct for TOPIC_CONTROL_DEVICE and data broadcast, return SDK info
Definition: dji_telemetry.hpp:541
struct DJI::OSDK::Telemetry::RCWithFlagData RCWithFlagData
struct for TOPIC_RC_WITH_FLAG_DATA
struct for data broadcast, return flight status
Definition: dji_telemetry.hpp:518
Provides aircraft's angular velocity in a ground-fixed NED frame @ up to 200Hz.
Definition: dji_telemetry.hpp:66
union for TOPIC_RC_FULL_RAW_DATA Only support A3/N3/M600
Definition: dji_telemetry.hpp:683
uint32_t rollLimited
Definition: dji_telemetry.hpp:483
Provides aircraft's magnetometer reading, fused with IMU and GPS @ up to 100Hz.
Definition: dji_telemetry.hpp:83
Provides raw time information from GPS @ up to 5Hz.
Definition: dji_telemetry.hpp:74
uint32_t prevCalibrationgResult
Definition: dji_telemetry.hpp:486
Provides a number of flags which report different errors the aircraft may encounter in flight @ up to...
Definition: dji_telemetry.hpp:101
Provides aircraft's acceleration in an IMU-centered, body-fixed FRD frame @ up to 400Hz.
Definition: dji_telemetry.hpp:64
Provides the relative height above ground at up to 100Hz.
Definition: dji_telemetry.hpp:71
struct for the light bridge 2 part of TOPIC_RC_FULL_RAW_DATA
Definition: dji_telemetry.hpp:642
uint8_t LegacyStatus
Return type for flight status data broadcast (only for M100). Returns VehicleStatus::M100FlightStatus...
Definition: dji_telemetry.hpp:791
struct DJI::OSDK::Telemetry::RelativePosition RelativePosition
struct for data broadcast and subscription, return obstacle info around the vehicle
Provides gimbal pitch, roll, yaw @ up to 50Hz.
Definition: dji_telemetry.hpp:85
Provides a measure of the quality of GPS signal @ up to 50Hz.
Definition: dji_telemetry.hpp:94
struct DJI::OSDK::Telemetry::GPSDetail GPSDetail
struct for TOPIC_GPS_DETAILS and sub struct for GPSInfo of data broadcast
uint8_t LegacyBattery
Return type for battery data broadcast (only for M100). Returns percentage.
Definition: dji_telemetry.hpp:795
Provides aircraft's velocity in a ground-fixed NEU frame @ up to 200Hz.
Definition: dji_telemetry.hpp:65
Provides IMU and quaternion data time-synced with a hardware clock signal @ up to 400Hz.
Definition: dji_telemetry.hpp:93
Matrice 100 Timestamp data, available in Broadcast telemetry (only for M100)
Definition: dji_telemetry.hpp:759
Provides aircraft's raw Real-Time Kinematic (RTK) velocity @ up to 5Hz.
Definition: dji_telemetry.hpp:79
struct DJI::OSDK::Telemetry::LegacyGPSInfo LegacyGPSInfo
struct for GPSInfo of data broadcast
Provides raw date information from GPS @ up to 5Hz.
Definition: dji_telemetry.hpp:73
Data type and Data Structure definitions for use throughout DJI OSDK.
struct DJI::OSDK::Telemetry::PositionFrame PositionFrame
sub struct for RTK of data broadcast
uint32_t atLeastOneEscDisconnected
Definition: dji_telemetry.hpp:735
struct DJI::OSDK::Telemetry::GimbalThreeData GimbalThreeData
struct for TOPIC_THREE_GIMBAL_DATA
struct DJI::OSDK::Telemetry::TimeStamp TimeStamp
struct for data broadcast, timestamp from local cache
Provides a status on aircraft's Real-Time Kinematic (RTK) positioning solution @ up to 5Hz.
Definition: dji_telemetry.hpp:81
struct DJI::OSDK::Telemetry::LegacyTimeStamp LegacyTimeStamp
Matrice 100 Timestamp data, available in Broadcast telemetry (only for M100)
struct DJI::OSDK::Telemetry::RTKConnectStatus RTKConnectStatus
struct indicating RTK GPS Connection
struct for TOPIC_RTK_POSITION and sub struct for RTK of data broadcast
Definition: dji_telemetry.hpp:331
struct DJI::OSDK::Telemetry::PositionData PositionData
struct for TOPIC_RTK_POSITION and sub struct for RTK of data broadcast
Provides status for the landing gear state @ up to 50Hz.
Definition: dji_telemetry.hpp:89
uint8_t logicConnected
Definition: dji_telemetry.hpp:605
Provides the mode in which the gimbal will interpret control commands @ up to 50Hz.
Definition: dji_telemetry.hpp:100
struct for the sbus part of TOPIC_RC_FULL_RAW_DATA
Definition: dji_telemetry.hpp:673
Definition: dji_ack.cpp:38
struct DJI::OSDK::Telemetry::Status Status
struct for data broadcast, return flight status
struct for data broadcast, return magnetometer reading
Definition: dji_telemetry.hpp:439
uint32_t aircraftIsFalling
Definition: dji_telemetry.hpp:729
struct for TOPIC_DUAL_GIMBAL_DATA
Definition: dji_telemetry.hpp:706
uint32_t calibrating
Definition: dji_telemetry.hpp:485
Provides aircraft's raw GPS LLA @ up to 5Hz.
Definition: dji_telemetry.hpp:75
struct for status of each individual esc
Definition: dji_telemetry.hpp:616
Provides remote controller stick inputs @ up to 100Hz.
Definition: dji_telemetry.hpp:84
Provides aircraft's position in a Cartesian frame @ up to 50Hz, without the need for GPS.
Definition: dji_telemetry.hpp:102
uint32_t initUnfinished
Definition: dji_telemetry.hpp:495
struct for data broadcast and data subscription, return RC reading
Definition: dji_telemetry.hpp:463
struct DJI::OSDK::Telemetry::HomeLocationData HomeLocationData
struct for TOPIC_HOME_POINT_INFO
struct DJI::OSDK::Telemetry::GPSFused GPSFused
struct for TOPIC_GPS_FUSED
uint8_t downHealth
Definition: dji_telemetry.hpp:308
struct DJI::OSDK::Telemetry::GimbalDualData GimbalDualData
struct for TOPIC_DUAL_GIMBAL_DATA
uint32_t escPitchStatus
Definition: dji_telemetry.hpp:491
Provides aircraft's raw GPS velocity @ up to 5Hz.
Definition: dji_telemetry.hpp:76
uint8_t groundConnected
Definition: dji_telemetry.hpp:607
Provides aircraft's pressure altitude from sea level using the ICAO model @ up to 200Hz.
Definition: dji_telemetry.hpp:69
Provides homepoint information, the valid of the home point infomation can ref to the topic DJI_DATA_...
Definition: dji_telemetry.hpp:105
uint8_t skyConnected
Definition: dji_telemetry.hpp:606
struct DJI::OSDK::Telemetry::PositionTimeStamp PositionTimeStamp
Timestamp for GPS and RTK.
uint16_t unbalanced
Definition: dji_telemetry.hpp:624
Matrice 100 Velocity struct, returned in Broadcast telemetry (only for M100)
Definition: dji_telemetry.hpp:772