Waypoint settings for individual waypoints being added to the mission. More...
#include <dji_mission_type.hpp>
Public Attributes | |
uint8_t | index |
float64_t | latitude |
float64_t | longitude |
float32_t | altitude |
float32_t | damping |
int16_t | yaw |
int16_t | gimbalPitch |
uint8_t | turnMode |
uint8_t | reserved [8] |
uint8_t | hasAction |
uint16_t | actionTimeLimit |
uint8_t | actionNumber: 4 |
uint8_t | actionRepeat: 4 |
uint8_t | commandList [16] |
int16_t | commandParameter [16] |
Detailed Description
Waypoint settings for individual waypoints being added to the mission.
This is one of the few structs in the OSDK codebase that is used in both a sending and a receiving API.
Member Data Documentation
◆ actionNumber
uint8_t DJI::OSDK::WayPointSettings::actionNumber |
Total number of actions
◆ actionRepeat
uint8_t DJI::OSDK::WayPointSettings::actionRepeat |
Total running times
◆ actionTimeLimit
uint16_t DJI::OSDK::WayPointSettings::actionTimeLimit |
Action time limit
◆ altitude
float32_t DJI::OSDK::WayPointSettings::altitude |
Altitude (relative altitude from takeoff point)
◆ commandList
uint8_t DJI::OSDK::WayPointSettings::commandList[16] |
action list.Take value from enum WaypointActionTypeFormat.
◆ commandParameter
int16_t DJI::OSDK::WayPointSettings::commandParameter[16] |
action parameters.Details Please see notes of enum WaypointActionTypeFormat's action
◆ damping
float32_t DJI::OSDK::WayPointSettings::damping |
Bend length (effective coordinated turn mode only)
◆ gimbalPitch
int16_t DJI::OSDK::WayPointSettings::gimbalPitch |
Gimbal pitch
◆ hasAction
uint8_t DJI::OSDK::WayPointSettings::hasAction |
Action flag
0: no action
1: has action
◆ index
uint8_t DJI::OSDK::WayPointSettings::index |
Index to be uploaded
◆ latitude
float64_t DJI::OSDK::WayPointSettings::latitude |
Latitude (radian)
◆ longitude
float64_t DJI::OSDK::WayPointSettings::longitude |
Longitude (radian)
◆ reserved
uint8_t DJI::OSDK::WayPointSettings::reserved[8] |
Reserved
◆ turnMode
uint8_t DJI::OSDK::WayPointSettings::turnMode |
Turn mode
0: clockwise
1: counter-clockwise
◆ yaw
int16_t DJI::OSDK::WayPointSettings::yaw |
Yaw (degree)
The documentation for this struct was generated from the following file:
- osdk-core/api/inc/dji_mission_type.hpp