DJI::OSDK::Control::CtrlData Struct Reference

CtrlData used for flight control. More...

#include <dji_control.hpp>

Public Member Functions

 CtrlData (uint8_t in_flag, float32_t in_x, float32_t in_y, float32_t in_z, float32_t in_yaw)
 CtrlData initialize the CtrlData variable. More...
 

Public Attributes

uint8_t flag
 
float32_t x
 
float32_t y
 
float32_t z
 
float32_t yaw
 

Detailed Description

CtrlData used for flight control.

The struct for CtrlData

Constructor & Destructor Documentation

◆ CtrlData()

Control::CtrlData::CtrlData ( uint8_t  in_flag,
float32_t  in_x,
float32_t  in_y,
float32_t  in_z,
float32_t  in_yaw 
)

CtrlData initialize the CtrlData variable.

Parameters
in_flagSee CtrlData.flag
in_xSee CtrlData.x
in_ySee CtrlData.y
in_zSee CtrlData.z
in_yawSee CtrlData.yaw

Member Data Documentation

◆ flag

◆ x

float32_t DJI::OSDK::Control::CtrlData::x

Control with respect to the x axis of the DJI::OSDK::Control::HorizontalCoordinate.

◆ y

float32_t DJI::OSDK::Control::CtrlData::y

Control with respect to the y axis of the DJI::OSDK::Control::HorizontalCoordinate.

◆ yaw

float32_t DJI::OSDK::Control::CtrlData::yaw

Yaw position/velocity control w.r.t. the ground frame.

◆ z

float32_t DJI::OSDK::Control::CtrlData::z

Control with respect to the z axis, up is positive.


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