DJI::OSDK::WayPointInitSettings Struct Reference

Waypoint Mission Initialization settings. More...

#include <dji_mission_type.hpp>

Public Attributes

uint8_t indexNumber
 
float32_t maxVelocity
 
float32_t idleVelocity
 
uint8_t finishAction
 
uint8_t executiveTimes
 
uint8_t yawMode
 
uint8_t traceMode
 
uint8_t RCLostAction
 
uint8_t gimbalPitch
 
float64_t latitude
 
float64_t longitude
 
float32_t altitude
 
uint8_t reserved [16]
 

Detailed Description

Waypoint Mission Initialization settings.

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

◆ altitude

float32_t DJI::OSDK::WayPointInitSettings::altitude

Focus altitude (relative takeoff point height)

◆ executiveTimes

uint8_t DJI::OSDK::WayPointInitSettings::executiveTimes

Function execution times
1: once
2: twice

◆ finishAction

uint8_t DJI::OSDK::WayPointInitSettings::finishAction

Action on finish
0: no action
1: return to home
2: auto landing
3: return to point 0
4: infinite mode, no exit

◆ gimbalPitch

uint8_t DJI::OSDK::WayPointInitSettings::gimbalPitch

Gimbal pitch mode
0: free mode, no control on gimbal
1: auto mode, Smooth transition between waypoints

◆ idleVelocity

float32_t DJI::OSDK::WayPointInitSettings::idleVelocity

Cruising Speed (without joystick input, no more than vel_cmd_range)

◆ indexNumber

uint8_t DJI::OSDK::WayPointInitSettings::indexNumber

Total number of waypoints

◆ latitude

float64_t DJI::OSDK::WayPointInitSettings::latitude

Focus latitude (radian)

◆ longitude

float64_t DJI::OSDK::WayPointInitSettings::longitude

Focus longitude (radian)

◆ maxVelocity

float32_t DJI::OSDK::WayPointInitSettings::maxVelocity

Maximum speed joystick input(2~15m)

◆ RCLostAction

uint8_t DJI::OSDK::WayPointInitSettings::RCLostAction

Action on rc lost
0: exit waypoint and failsafe
1: continue the waypoint

◆ reserved

uint8_t DJI::OSDK::WayPointInitSettings::reserved[16]

Reserved, must be set to 0

◆ traceMode

uint8_t DJI::OSDK::WayPointInitSettings::traceMode

Trace mode
0: point to point, after reaching the target waypoint hover, complete waypoints action (if any), then fly to the next waypoint
1: Coordinated turn mode, smooth transition between waypoints, no waypoints task

◆ yawMode

uint8_t DJI::OSDK::WayPointInitSettings::yawMode

Yaw mode
0: auto mode(point to next waypoint)
1: lock as an initial value
2: controlled by RC
3: use waypoint's yaw(tgt_yaw)


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