27 #ifndef NAV_TAKEOFF_AND_LANDING_H
28 #define NAV_TAKEOFF_AND_LANDING_H
135 extern bool nav_land_at_loc(
float td_alt,
float lat,
float lon,
float dir,
float dist,
float radius);
bool nav_takeoff_from_wp(uint8_t wp_id)
Takeoff from a waypoint.
enum nav_takeoff_status status
current step
uint8_t td_id
touch down wp id
bool nav_land_at_loc(float td_alt, float lat, float lon, float dir, float dist, float radius)
Land at lat long location.
enum nav_landing_status status
current step
float nav_takeoff_direction
Takeoff direction in range [0-360] (deg) set to flight plan QFU by default.
bool nav_land_at_wp(uint8_t td_id, uint8_t af_id, float radius)
Land at waypoint location.
void nav_takeoff_and_landing_init(void)
Init function.
bool nav_takeoff_from_loc(float lat, float lon)
Takeoff from lat long location.
struct EnuCoor_f af_pos
start of descent point
float radius
circle radius for fixedwing landing
bool timeout
true if status should be set to init
struct EnuCoor_f td_pos
touch down point
uint8_t af_id
start of descent wp id
bool timeout
true if status should be set to init
struct EnuCoor_f start_pos
start position
bool nav_takeoff_from_here(void)
Takeoff from current location.
uint8_t climb_id
climb waypoint id
struct EnuCoor_f climb_pos
climb point
void nav_takeoff_and_landing_periodic(void)
Periodic timeout check function.
@ NAV_TAKEOFF_START_MOTOR
bool nav_land_here(float td_alt, float radius)
Land at current location.
Paparazzi floating point math for geodetic calculations.
vector in East North Up coordinates Units: meters
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.