DJI::OSDK::WaypointV2Internal Struct Reference

#include <dji_mission_type.hpp>

Public Attributes

float32_t positionX
 
float32_t positionY
 
float32_t positionZ
 
DJIWaypointV2FlightPathMode waypointType
 
DJIWaypointV2HeadingMode headingMode
 
WaypointV2Config config
 
uint16_t dampingDistance
 
float32_t heading
 
DJIWaypointV2TurnMode turnMode
 
RelativePosition pointOfInterest
 
uint16_t maxFlightSpeed
 
uint16_t autoFlightSpeed
 

Detailed Description

The struct represents a target point in the waypoint mission. For a waypoint mission, a flight route consists of multiple WaypointV2 objects.

Member Data Documentation

◆ autoFlightSpeed

uint16_t DJI::OSDK::WaypointV2Internal::autoFlightSpeed

range:[0 , localMaxFlightSpeed] unit :cm/s

◆ config

WaypointV2Config DJI::OSDK::WaypointV2Internal::config

Represents current waypoint's speed config.

◆ heading

float32_t DJI::OSDK::WaypointV2Internal::heading

The heading to which the aircraft will rotate by the time it reaches the waypoint. The aircraft heading will gradually change between two waypoints with different headings if the waypoint mission's headingMode is set to DJIWaypointV2_DJIWaypointV2HeadingMode_WaypointCustom. A heading has a range of [-180, 180] degrees, where 0 represents True North.

◆ headingMode

DJIWaypointV2HeadingMode DJI::OSDK::WaypointV2Internal::headingMode

Represents current aircraft's heading mode on current waypoint.

◆ maxFlightSpeed

uint16_t DJI::OSDK::WaypointV2Internal::maxFlightSpeed

range :[0, maxFlightSpeed](WayPointV2InitSettings). unit:cm/s

◆ pointOfInterest

RelativePosition DJI::OSDK::WaypointV2Internal::pointOfInterest

Property is used when DJIWaypointV2_headingMode is DJIWaypointV2_DJIWaypointV2HeadingMode_TowardPointOfInterest. Aircraft will always be heading to point while executing mission. Default is "kCLLocationCoordinate2DInvalid".

◆ positionX

float32_t DJI::OSDK::WaypointV2Internal::positionX

waypoint position relative to WayPointV2InitSettings's reference point unit: m

◆ positionY

float32_t DJI::OSDK::WaypointV2Internal::positionY

X distance to reference point, North is positive

◆ positionZ

float32_t DJI::OSDK::WaypointV2Internal::positionZ

Y distance to reference point, East is positive

◆ turnMode

DJIWaypointV2TurnMode DJI::OSDK::WaypointV2Internal::turnMode

Determines whether the aircraft will turn clockwise or anticlockwise when changing its heading.

◆ waypointType

DJIWaypointV2FlightPathMode DJI::OSDK::WaypointV2Internal::waypointType

Z distance to reference point, UP is positive Waypoint flight path mode.


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