dji_broadcast.hpp
Go to the documentation of this file.
void * UserData
This is used as the datatype for all data arguments in callbacks.
Definition: dji_type.hpp:75
void setBroadcastFreqDefaults()
Definition: dji_broadcast.cpp:529
void setBroadcastFreqToZero()
Definition: dji_broadcast.cpp:613
struct for data broadcast and subscription, return obstacle info around the vehicle
Definition: dji_telemetry.hpp:300
void setBroadcastFreq(uint8_t *dataLenIs16, VehicleCallBack callback=0, UserData userData=0)
Definition: dji_broadcast.cpp:382
Telemetry::TimeStamp getTimeStamp()
Definition: dji_broadcast.cpp:86
struct indicates the signal level of GPS velocity info
Definition: dji_telemetry.hpp:245
Telemetry::SDKInfo getSDKInfo()
Definition: dji_broadcast.cpp:349
This struct is returned from all blocking calls, except certain mission calls that have explicit type...
Definition: dji_ack.hpp:146
Telemetry::Vector3f getAngularRate()
Definition: dji_broadcast.cpp:207
Telemetry::Vector3f getVelocity()
Definition: dji_broadcast.cpp:154
Type definition for new Vehicle-style callbacks.
struct for data broadcast, return RTK info
Definition: dji_telemetry.hpp:404
struct for data broadcast, return compass reading
Definition: dji_telemetry.hpp:455
Telemetry::Quaternion getQuaternion()
Definition: dji_broadcast.cpp:134
void(* VehicleCallBack)(Vehicle *vehicle, RecvContainer recvFrame, UserData userData)
Function prototype for all callback functions used in the OSDK.
Definition: dji_vehicle_callback.hpp:76
Telemetry::SyncStamp getSyncStamp()
Definition: dji_broadcast.cpp:111
struct for data broadcast, return gimbal angle
Definition: dji_telemetry.hpp:503
struct for data broadcast, timestamp from local cache
Definition: dji_telemetry.hpp:223
struct for data broadcast, software sync timestamp from local cache
Definition: dji_telemetry.hpp:234
struct for TOPIC_BATTERY_INFO and data broadcast, return battery status
Definition: dji_telemetry.hpp:530
struct for GPSInfo of data broadcast
Definition: dji_telemetry.hpp:802
Telemetry::Battery getBatteryInfo()
Definition: dji_broadcast.cpp:326
The CallBackHandler struct allows users to encapsulate callbacks and data in one struct.
Definition: dji_vehicle_callback.hpp:83
struct for data broadcast, return GPS data
Definition: dji_telemetry.hpp:272
Telemetry::GPSInfo getGPSInfo()
Definition: dji_broadcast.cpp:239
Telemetry::Compass getCompassData()
Definition: dji_broadcast.cpp:359
struct for TOPIC_CONTROL_DEVICE and data broadcast, return SDK info
Definition: dji_telemetry.hpp:541
struct for data broadcast, return flight status
Definition: dji_telemetry.hpp:518
Telemetry API through asynchronous "Broadcast"-style messages.
Definition: dji_broadcast.hpp:52
uint8_t LegacyStatus
Return type for flight status data broadcast (only for M100). Returns VehicleStatus::M100FlightStatus...
Definition: dji_telemetry.hpp:791
Telemetry::Vector3f getAcceleration()
Definition: dji_broadcast.cpp:144
uint8_t LegacyBattery
Return type for battery data broadcast (only for M100). Returns percentage.
Definition: dji_telemetry.hpp:795
Matrice 100 Timestamp data, available in Broadcast telemetry (only for M100)
Definition: dji_telemetry.hpp:759
Enumeration of all telemetry data types, structures and maps.
Telemetry::RelativePosition getRelativePosition()
Definition: dji_broadcast.cpp:228
Telemetry::GlobalPosition getGlobalPosition()
Definition: dji_broadcast.cpp:217
Definition: dji_ack.cpp:38
struct for data broadcast, return magnetometer reading
Definition: dji_telemetry.hpp:439
Telemetry::VelocityInfo getVelocityInfo()
Definition: dji_broadcast.cpp:181
struct for data broadcast and data subscription, return RC reading
Definition: dji_telemetry.hpp:463
Matrice 100 Velocity struct, returned in Broadcast telemetry (only for M100)
Definition: dji_telemetry.hpp:772