DJI::OSDK::Telemetry::RCWithFlagData Struct Reference

struct for TOPIC_RC_WITH_FLAG_DATA More...

#include <dji_telemetry.hpp>

Public Attributes

float32_t pitch
 
float32_t roll
 
float32_t yaw
 
float32_t throttle
 
struct {
   uint8_t   logicConnected:1
 
   uint8_t   skyConnected:1
 
   uint8_t   groundConnected:1
 
   uint8_t   appConnected:1
 
   uint8_t   reserved:4
 
flag
 

Detailed Description

struct for TOPIC_RC_WITH_FLAG_DATA

Member Data Documentation

◆ appConnected

uint8_t DJI::OSDK::Telemetry::RCWithFlagData::appConnected

Mobile App is connected to RC

◆ groundConnected

uint8_t DJI::OSDK::Telemetry::RCWithFlagData::groundConnected

Ground side is connected, i.e., RC is on and connected to FC

◆ logicConnected

uint8_t DJI::OSDK::Telemetry::RCWithFlagData::logicConnected

0 if sky or ground side is disconnected for 3 seconds

◆ pitch

float32_t DJI::OSDK::Telemetry::RCWithFlagData::pitch

down = -0.999, middle = 0.000, up =0.999

◆ roll

float32_t DJI::OSDK::Telemetry::RCWithFlagData::roll

left = -0.999, middle = 0.000, right=0.999

◆ skyConnected

uint8_t DJI::OSDK::Telemetry::RCWithFlagData::skyConnected

Sky side is connected, i.e., receiver is connected to FC

◆ throttle

float32_t DJI::OSDK::Telemetry::RCWithFlagData::throttle

down = -0.999, middle = 0.000, up =0.999

◆ yaw

float32_t DJI::OSDK::Telemetry::RCWithFlagData::yaw

left = -0.999, middle = 0.000, right=0.999


The documentation for this struct was generated from the following file: