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
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_flag See CtrlData.flag in_x See CtrlData.x in_y See CtrlData.y in_z See CtrlData.z in_yaw See CtrlData.yaw
Member Data Documentation
◆ flag
uint8_t DJI::OSDK::Control::CtrlData::flag |
control data flag consists of 8 bits.
◆ 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:
- osdk-core/api/inc/dji_control.hpp
- osdk-core/api/src/dji_control.cpp