Firmware
Classes | Enumerations
FlightTaskAuto.hpp File Reference

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

#include "FlightTask.hpp"
#include <uORB/topics/position_setpoint_triplet.h>
#include <uORB/topics/position_setpoint.h>
#include <uORB/topics/home_position.h>
#include <uORB/topics/vehicle_status.h>
#include <lib/ecl/geo/geo.h>
#include <ObstacleAvoidance.hpp>

Go to the source code of this file.

Classes

class  FlightTaskAuto
 

Enumerations

enum  WaypointType : int {
  position = position_setpoint_s::SETPOINT_TYPE_POSITION, velocity = position_setpoint_s::SETPOINT_TYPE_VELOCITY, loiter = position_setpoint_s::SETPOINT_TYPE_LOITER, takeoff = position_setpoint_s::SETPOINT_TYPE_TAKEOFF,
  land = position_setpoint_s::SETPOINT_TYPE_LAND, idle = position_setpoint_s::SETPOINT_TYPE_IDLE, offboard = position_setpoint_s::SETPOINT_TYPE_OFFBOARD, 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.
 
enum  State { State::offtrack, State::target_behind, State::previous_infront, State::none }
 

Detailed Description

Map from global triplet to local quadruple.

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.