This namespace encapsulates all available telemetry topics through either Broadcast or Subscribe. More...
Classes | |
struct | Battery |
struct for TOPIC_BATTERY_INFO and data broadcast, return battery status More... | |
struct | Compass |
struct for data broadcast, return compass reading More... | |
struct | EscData |
struct for TOPIC_ESC_DATA More... | |
struct | ESCStatusIndividual |
struct for status of each individual esc More... | |
struct | FlightAnomaly |
struct for TOPIC_FLIGHT_ANOMALY More... | |
struct | Gimbal |
struct for data broadcast, return gimbal angle More... | |
struct | GimbalDualData |
struct for TOPIC_DUAL_GIMBAL_DATA More... | |
struct | GimbalStatus |
struct for TOPIC_GIMBAL_STATUS More... | |
struct | GimbalThreeData |
struct for TOPIC_THREE_GIMBAL_DATA More... | |
struct | GlobalPosition |
struct for data broadcast, return GPS data More... | |
struct | GPSDetail |
struct for TOPIC_GPS_DETAILS and sub struct for GPSInfo of data broadcast More... | |
struct | GPSFused |
struct for TOPIC_GPS_FUSED More... | |
struct | GPSInfo |
struct for GPSInfo of data broadcast More... | |
struct | HardSyncData |
struct for TOPIC_HARD_SYNC More... | |
struct | HomeLocationData |
struct for TOPIC_HOME_POINT_INFO More... | |
struct | HomeLocationSetStatus |
struct for TOPIC_HOME_POINT_SET_STATUS More... | |
struct | LB2RcFullRawData |
struct for the light bridge 2 part of TOPIC_RC_FULL_RAW_DATA More... | |
struct | LegacyGPSInfo |
struct for GPSInfo of data broadcast More... | |
struct | LegacyTimeStamp |
Matrice 100 Timestamp data, available in Broadcast telemetry (only for M100) More... | |
struct | LegacyVelocity |
Matrice 100 Velocity struct, returned in Broadcast telemetry (only for M100) More... | |
struct | LocalPositionVO |
struct for TOPIC_POSITION_VO More... | |
struct | Mag |
struct for data broadcast, return magnetometer reading More... | |
struct | PositionData |
struct for TOPIC_RTK_POSITION and sub struct for RTK of data broadcast More... | |
struct | PositionFrame |
sub struct for RTK of data broadcast More... | |
struct | PositionTimeStamp |
Timestamp for GPS and RTK. More... | |
struct | Quaternion |
struct for TOPIC_QUATERNION More... | |
struct | RC |
struct for data broadcast and data subscription, return RC reading More... | |
union | RCFullRawData |
union for TOPIC_RC_FULL_RAW_DATA Only support A3/N3/M600 More... | |
struct | RCWithFlagData |
struct for TOPIC_RC_WITH_FLAG_DATA More... | |
struct | RelativePosition |
struct for data broadcast and subscription, return obstacle info around the vehicle More... | |
struct | RTK |
struct for data broadcast, return RTK info More... | |
struct | RTKConnectStatus |
struct indicating RTK GPS Connection More... | |
struct | SBUSFullRawData |
struct for the sbus part of TOPIC_RC_FULL_RAW_DATA More... | |
struct | SDKInfo |
struct for TOPIC_CONTROL_DEVICE and data broadcast, return SDK info More... | |
struct | Status |
struct for data broadcast, return flight status More... | |
struct | SyncStamp |
struct for data broadcast, software sync timestamp from local cache More... | |
struct | SyncTimestamp |
sub struct for TOPIC_HARD_SYNC More... | |
struct | TimeStamp |
struct for data broadcast, timestamp from local cache More... | |
struct | TopicInfo |
struct for TopicInfo data used to subscribe packages from the FC More... | |
struct | TypeMap |
template struct maps a topic name to the corresponding data type More... | |
struct | Vector3d |
struct for multiple Topics More... | |
struct | Vector3f |
struct for multiple Topics More... | |
struct | Velocity |
struct for TOPIC_VELOCITY More... | |
struct | VelocityInfo |
struct indicates the signal level of GPS velocity info More... | |
Typedefs | |
typedef struct DJI::OSDK::Telemetry::Quaternion | Quaternion |
struct for TOPIC_QUATERNION | |
typedef struct DJI::OSDK::Telemetry::Vector3f | Vector3f |
struct for multiple Topics | |
typedef struct DJI::OSDK::Telemetry::Vector3d | Vector3d |
struct for multiple Topics More... | |
typedef struct DJI::OSDK::Telemetry::TimeStamp | TimeStamp |
struct for data broadcast, timestamp from local cache More... | |
typedef struct DJI::OSDK::Telemetry::SyncStamp | SyncStamp |
struct for data broadcast, software sync timestamp from local cache More... | |
typedef struct DJI::OSDK::Telemetry::VelocityInfo | VelocityInfo |
struct indicates the signal level of GPS velocity info More... | |
typedef struct DJI::OSDK::Telemetry::Velocity | Velocity |
struct for TOPIC_VELOCITY More... | |
typedef struct DJI::OSDK::Telemetry::GlobalPosition | GlobalPosition |
struct for data broadcast, return GPS data More... | |
typedef struct DJI::OSDK::Telemetry::GPSFused | GPSFused |
struct for TOPIC_GPS_FUSED More... | |
typedef struct DJI::OSDK::Telemetry::RelativePosition | RelativePosition |
struct for data broadcast and subscription, return obstacle info around the vehicle More... | |
typedef struct DJI::OSDK::Telemetry::PositionTimeStamp | PositionTimeStamp |
Timestamp for GPS and RTK. More... | |
typedef struct DJI::OSDK::Telemetry::PositionData | PositionData |
struct for TOPIC_RTK_POSITION and sub struct for RTK of data broadcast | |
typedef struct DJI::OSDK::Telemetry::HomeLocationData | HomeLocationData |
struct for TOPIC_HOME_POINT_INFO | |
typedef struct DJI::OSDK::Telemetry::HomeLocationSetStatus | HomeLocationSetStatus |
struct for TOPIC_HOME_POINT_SET_STATUS | |
typedef struct DJI::OSDK::Telemetry::GPSDetail | GPSDetail |
struct for TOPIC_GPS_DETAILS and sub struct for GPSInfo of data broadcast More... | |
typedef struct DJI::OSDK::Telemetry::GPSInfo | GPSInfo |
struct for GPSInfo of data broadcast More... | |
typedef struct DJI::OSDK::Telemetry::PositionFrame | PositionFrame |
sub struct for RTK of data broadcast | |
typedef struct DJI::OSDK::Telemetry::RTK | RTK |
struct for data broadcast, return RTK info More... | |
typedef struct DJI::OSDK::Telemetry::Mag | Mag |
struct for data broadcast, return magnetometer reading More... | |
typedef struct DJI::OSDK::Telemetry::Compass | Compass |
struct for data broadcast, return compass reading More... | |
typedef struct DJI::OSDK::Telemetry::RC | RC |
struct for data broadcast and data subscription, return RC reading | |
typedef struct DJI::OSDK::Telemetry::GimbalStatus | GimbalStatus |
struct for TOPIC_GIMBAL_STATUS | |
typedef struct DJI::OSDK::Telemetry::Gimbal | Gimbal |
struct for data broadcast, return gimbal angle | |
typedef struct DJI::OSDK::Telemetry::Status | Status |
struct for data broadcast, return flight status | |
typedef struct DJI::OSDK::Telemetry::Battery | Battery |
struct for TOPIC_BATTERY_INFO and data broadcast, return battery status | |
typedef struct DJI::OSDK::Telemetry::SDKInfo | SDKInfo |
struct for TOPIC_CONTROL_DEVICE and data broadcast, return SDK info | |
typedef struct DJI::OSDK::Telemetry::SyncTimestamp | SyncTimestamp |
sub struct for TOPIC_HARD_SYNC | |
typedef struct DJI::OSDK::Telemetry::HardSyncData | HardSyncData |
struct for TOPIC_HARD_SYNC | |
typedef struct DJI::OSDK::Telemetry::RTKConnectStatus | RTKConnectStatus |
struct indicating RTK GPS Connection | |
typedef struct DJI::OSDK::Telemetry::RCWithFlagData | RCWithFlagData |
struct for TOPIC_RC_WITH_FLAG_DATA | |
typedef struct DJI::OSDK::Telemetry::ESCStatusIndividual | ESCStatusIndividual |
struct for status of each individual esc | |
typedef struct DJI::OSDK::Telemetry::EscData | EscData |
struct for TOPIC_ESC_DATA | |
typedef struct DJI::OSDK::Telemetry::LB2RcFullRawData | LB2RcFullRawData |
struct for the light bridge 2 part of TOPIC_RC_FULL_RAW_DATA | |
typedef struct DJI::OSDK::Telemetry::SBUSFullRawData | SBUSFullRawData |
struct for the sbus part of TOPIC_RC_FULL_RAW_DATA | |
typedef uint8_t | GimbalControlMode |
typedef struct DJI::OSDK::Telemetry::GimbalSingleData | GimbalSingleData |
typedef struct DJI::OSDK::Telemetry::GimbalDualData | GimbalDualData |
struct for TOPIC_DUAL_GIMBAL_DATA | |
typedef struct DJI::OSDK::Telemetry::GimbalThreeData | GimbalThreeData |
struct for TOPIC_THREE_GIMBAL_DATA | |
typedef struct DJI::OSDK::Telemetry::FlightAnomaly | FlightAnomaly |
struct for TOPIC_FLIGHT_ANOMALY | |
typedef struct DJI::OSDK::Telemetry::LocalPositionVO | LocalPositionVO |
struct for TOPIC_POSITION_VO | |
typedef struct DJI::OSDK::Telemetry::LegacyTimeStamp | LegacyTimeStamp |
Matrice 100 Timestamp data, available in Broadcast telemetry (only for M100) | |
typedef struct DJI::OSDK::Telemetry::LegacyVelocity | LegacyVelocity |
Matrice 100 Velocity struct, returned in Broadcast telemetry (only for M100) More... | |
typedef uint16_t | EnableFlag |
typedef uint8_t | LegacyStatus |
Return type for flight status data broadcast (only for M100). Returns VehicleStatus::M100FlightStatus. | |
typedef uint8_t | LegacyBattery |
Return type for battery data broadcast (only for M100). Returns percentage. | |
typedef struct DJI::OSDK::Telemetry::LegacyGPSInfo | LegacyGPSInfo |
struct for GPSInfo of data broadcast More... | |
Enumerations | |
enum | TopicName { TOPIC_QUATERNION, TOPIC_ACCELERATION_GROUND, TOPIC_ACCELERATION_BODY, TOPIC_ACCELERATION_RAW, TOPIC_VELOCITY, TOPIC_ANGULAR_RATE_FUSIONED, TOPIC_ANGULAR_RATE_RAW, TOPIC_ALTITUDE_FUSIONED, TOPIC_ALTITUDE_BAROMETER, TOPIC_ALTITUDE_OF_HOMEPOINT, TOPIC_HEIGHT_FUSION, TOPIC_GPS_FUSED, TOPIC_GPS_DATE, TOPIC_GPS_TIME, TOPIC_GPS_POSITION, TOPIC_GPS_VELOCITY, TOPIC_GPS_DETAILS, TOPIC_RTK_POSITION, TOPIC_RTK_VELOCITY, TOPIC_RTK_YAW, TOPIC_RTK_POSITION_INFO, TOPIC_RTK_YAW_INFO, TOPIC_COMPASS, TOPIC_RC, TOPIC_GIMBAL_ANGLES, TOPIC_GIMBAL_STATUS, TOPIC_STATUS_FLIGHT, TOPIC_STATUS_DISPLAYMODE, TOPIC_STATUS_LANDINGGEAR, TOPIC_STATUS_MOTOR_START_ERROR, TOPIC_BATTERY_INFO, TOPIC_CONTROL_DEVICE, TOPIC_HARD_SYNC, TOPIC_GPS_SIGNAL_LEVEL, TOPIC_GPS_CONTROL_LEVEL, TOPIC_RC_FULL_RAW_DATA, TOPIC_RC_WITH_FLAG_DATA, TOPIC_ESC_DATA, TOPIC_RTK_CONNECT_STATUS, TOPIC_GIMBAL_CONTROL_MODE, TOPIC_FLIGHT_ANOMALY, TOPIC_POSITION_VO, TOPIC_AVOID_DATA, TOPIC_HOME_POINT_SET_STATUS, TOPIC_HOME_POINT_INFO, TOPIC_DUAL_GIMBAL_DATA, TOPIC_THREE_GIMBAL_DATA, TOTAL_TOPIC_NUMBER } |
enum TopicName is the interface for user to create packages and access data It is also used as index for TopicDataBase. More... | |
enum | TOPIC_UID { UID_QUATERNION = 0xa493281f, UID_ACCELERATION_GROUND = 0x8696c85b, UID_ACCELERATION_BODY = 0xbb17d5fe, UID_ACCELERATION_RAW = 0xc3503a6e, UID_VELOCITY = 0x18fb271d, UID_ANGULAR_RATE_FUSIONED = 0x3599c4be, UID_ANGULAR_RATE_RAW = 0x700389ee, UID_ALTITUDE_FUSIONED = 0x11e9c81a, UID_ALTITUDE_BAROMETER = 0x27396a39, UID_ALTITUDE_OF_HOMEPOINT = 0x252c164b, UID_HEIGHT_FUSION = 0x87cf419d, UID_GPS_FUSED = 0x4b19a8c7, UID_GPS_DATE = 0x598f79bc, UID_GPS_TIME = 0xd48912c9, UID_GPS_POSITION = 0x0c949e94, UID_GPS_VELOCITY = 0x7ac7eb80, UID_GPS_DETAILS = 0x81fed54e, UID_RTK_POSITION = 0x1df9a6b6, UID_RTK_VELOCITY = 0x763d13c3, UID_RTK_YAW = 0xf45d73fd, UID_RTK_POSITION_INFO = 0xda4a57b5, UID_RTK_YAW_INFO = 0xcb72b9e3, UID_HOME_POINT_SET_STATUS = 0xb5c2211f, UID_HOME_POINT_INFO = 0xbfe4b520, UID_COMPASS = 0xdf3d72b7, UID_RC = 0x739f7fe4, UID_GIMBAL_ANGLES = 0x01f71678, UID_GIMBAL_STATUS = 0x8b6cd45c, UID_STATUS_FLIGHT = 0x20cfb02a, UID_STATUS_DISPLAYMODE = 0x1a67d6a1, UID_STATUS_LANDINGGEAR = 0x772d6e22, UID_STATUS_MOTOR_START_ERROR = 0x3a41e909, UID_BATTERY_INFO = 0x69779dd9, UID_CONTROL_DEVICE = 0x667ba86a, UID_HARD_SYNC = 0xecbef06d, UID_GPS_SIGNAL_LEVEL = 0xa6a0395f, UID_GPS_CONTROL_LEVEL = 0xe30b17b0, UID_RC_FULL_RAW_DATA = 0x16ec4d0e, UID_RC_WITH_FLAG_DATA = 0xfe04cfcd, UID_ESC_DATA = 0xaaa0f589, UID_RTK_CONNECT_STATUS = 0x6f349326, UID_GIMBAL_CONTROL_MODE = 0x326a446d, UID_FLIGHT_ANOMALY = 0x0a624b4b, UID_POSITION_VO = 0xd3462697, UID_AVOID_DATA = 0xf6405daa, UID_DUAL_GIMBAL_FULL_DATA = 0xcfeea4fa, UID_THREE_GIMBAL_FULL_DATA = 0x19d374a0 } |
enum TOPIC_UID is the UID that is accepted by the FC | |
Variables | |
TopicInfo | TopicDataBase [] |
Detailed Description
This namespace encapsulates all available telemetry topics through either Broadcast or Subscribe.
Typedef Documentation
◆ Compass
typedef struct DJI::OSDK::Telemetry::Compass DJI::OSDK::Telemetry::Compass |
struct for data broadcast, return compass reading
- Note
- returned value is compass status, 0: compass is normal; 1: compass need calibrate; 2: compass need dir fix; 3: compass need restart.
◆ GlobalPosition
struct for data broadcast, return GPS data
- Note
- not available in data subscription
◆ GPSDetail
typedef struct DJI::OSDK::Telemetry::GPSDetail DJI::OSDK::Telemetry::GPSDetail |
struct for TOPIC_GPS_DETAILS and sub struct for GPSInfo of data broadcast
- Note
- only work outside of simulation
◆ GPSFused
typedef struct DJI::OSDK::Telemetry::GPSFused DJI::OSDK::Telemetry::GPSFused |
struct for TOPIC_GPS_FUSED
- Note
- fusion data from GPS and IMU, return in gps format
◆ GPSInfo
typedef struct DJI::OSDK::Telemetry::GPSInfo DJI::OSDK::Telemetry::GPSInfo |
struct for GPSInfo of data broadcast
- Note
- only work outside of simulation
◆ LegacyGPSInfo
struct for GPSInfo of data broadcast
- Note
- only work outside of simulation
◆ LegacyVelocity
◆ Mag
typedef struct DJI::OSDK::Telemetry::Mag DJI::OSDK::Telemetry::Mag |
struct for data broadcast, return magnetometer reading
- Note
- returned value is calibrated mag data, 1000 < |mag| < 2000 for normal operation
◆ PositionTimeStamp
Timestamp for GPS and RTK.
- Note
- : Data and time are GMT+8
◆ RelativePosition
struct for data broadcast and subscription, return obstacle info around the vehicle
- Note
- available in M210 (front, up, down)
◆ RTK
typedef struct DJI::OSDK::Telemetry::RTK DJI::OSDK::Telemetry::RTK |
◆ SyncStamp
typedef struct DJI::OSDK::Telemetry::SyncStamp DJI::OSDK::Telemetry::SyncStamp |
struct for data broadcast, software sync timestamp from local cache
- Note
- not available in data subscription and different from Hardware sync
◆ TimeStamp
typedef struct DJI::OSDK::Telemetry::TimeStamp DJI::OSDK::Telemetry::TimeStamp |
struct for data broadcast, timestamp from local cache
- Note
- not available in data subscription
◆ Vector3d
typedef struct DJI::OSDK::Telemetry::Vector3d DJI::OSDK::Telemetry::Vector3d |
struct for multiple Topics
- Note
- for TOPIC_GPS_POSITION, data type: (uint32)deg*10^7
◆ Velocity
typedef struct DJI::OSDK::Telemetry::Velocity DJI::OSDK::Telemetry::Velocity |
struct for TOPIC_VELOCITY
- Note
- The velocity may be in body or ground frame based on settings in DJI Assistant 2's SDK page.
◆ VelocityInfo
struct indicates the signal level of GPS velocity info