PX4 Firmware
PX4 Autopilot Software http://px4.io
FlightTaskAuto.hpp File Reference

Map from global triplet to local quadruple. More...

Include dependency graph for FlightTaskAuto.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FlightTaskAuto
 

Enumerations

enum  WaypointType : int {
  WaypointType::position = position_setpoint_s::SETPOINT_TYPE_POSITION, WaypointType::velocity = position_setpoint_s::SETPOINT_TYPE_VELOCITY, WaypointType::loiter = position_setpoint_s::SETPOINT_TYPE_LOITER, WaypointType::takeoff = position_setpoint_s::SETPOINT_TYPE_TAKEOFF,
  WaypointType::land = position_setpoint_s::SETPOINT_TYPE_LAND, WaypointType::idle = position_setpoint_s::SETPOINT_TYPE_IDLE, WaypointType::offboard = position_setpoint_s::SETPOINT_TYPE_OFFBOARD, WaypointType::follow_target = position_setpoint_s::SETPOINT_TYPE_FOLLOW_TARGET
}
 This enum has to agree with position_setpoint_s type definition The only reason for not using the struct position_setpoint is because of the size. More...
 
enum  State { State::offtrack, State::target_behind, State::previous_infront, State::none }
 

Detailed Description

Map from global triplet to local quadruple.

Definition in file FlightTaskAuto.hpp.

Enumeration Type Documentation

◆ State

enum State
strong
Enumerator
offtrack 

Vehicle is more than cruise speed away from track.

target_behind 

Vehicle is in front of target.

previous_infront 

Vehilce is behind previous waypoint.

none 

Vehicle is in normal tracking mode from triplet previous to triplet target.

Definition at line 67 of file FlightTaskAuto.hpp.

◆ WaypointType

enum WaypointType : int
strong

This enum has to agree with position_setpoint_s type definition The only reason for not using the struct position_setpoint is because of the size.

Enumerator
position 
velocity 
loiter 
takeoff 
land 
idle 
offboard 
follow_target 

Definition at line 56 of file FlightTaskAuto.hpp.