PX4 Firmware
PX4 Autopilot Software http://px4.io
RTL::RTLPosition Struct Reference
Collaboration diagram for RTL::RTLPosition:

Public Member Functions

void set (const home_position_s &home_position)
 

Public Attributes

double lat
 
double lon
 
float alt
 
float yaw
 
uint8_t safe_point_index
 0 = home position, 1 = mission landing, >1 = safe landing points (rally points) More...
 
RTLDestinationType type {RTL_DESTINATION_HOME}
 

Detailed Description

Definition at line 110 of file rtl.h.

Member Function Documentation

◆ set()

void RTL::RTLPosition::set ( const home_position_s home_position)
inline

Definition at line 118 of file rtl.h.

References RTL::RTL_DESTINATION_HOME, and type.

Referenced by RTL::find_RTL_destination().

Here is the caller graph for this function:

Member Data Documentation

◆ alt

float RTL::RTLPosition::alt

◆ lat

double RTL::RTLPosition::lat

◆ lon

double RTL::RTLPosition::lon

◆ safe_point_index

uint8_t RTL::RTLPosition::safe_point_index

0 = home position, 1 = mission landing, >1 = safe landing points (rally points)

Definition at line 115 of file rtl.h.

◆ type

RTLDestinationType RTL::RTLPosition::type {RTL_DESTINATION_HOME}

Definition at line 116 of file rtl.h.

Referenced by RTL::find_RTL_destination(), RTL::on_activation(), set(), and RTL::set_rtl_item().

◆ yaw

float RTL::RTLPosition::yaw

Definition at line 114 of file rtl.h.

Referenced by RTL::find_RTL_destination(), and RTL::set_rtl_item().


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