46#include "generated/airframe.h"
50#include "generated/flight_plan.h"
59#ifndef APP_TARGET_SPEED
60#define APP_TARGET_SPEED NOMINAL_AIRSPEED
62#define MAX_WIND_ON_FINAL 0.8*APP_TARGET_SPEED
65#define APP_ANGLE RadOfDeg(5)
68#ifndef APP_INTERCEPT_RATE
69#define APP_INTERCEPT_RATE 0.625
72#ifndef APP_DISTANCE_AF_SD
73#define APP_DISTANCE_AF_SD 100
#define WaypointAlt(_wp)
waypoint altitude in m above MSL
float v_ctl_auto_airspeed_setpoint
in meters per second
static struct EnuCoor_f * stateGetPositionEnu_f(void)
Get position in local ENU coordinates (float).
static float stateGetHorizontalSpeedNorm_f(void)
Get norm of horizontal ground speed (float).
static struct FloatVect2 * stateGetHorizontalWindspeed_f(void)
Get horizontal windspeed (float).
Fixedwing Navigation library.
#define NavSegment(_start, _end)
#define NavVerticalAltitudeMode(_alt, _pre_climb)
Set the vertical mode to altitude control with the specified altitude setpoint and climb pre-command.
#define NavVerticalAutoThrottleMode(_pitch)
Set the climb control to auto-throttle with the specified pitch pre-command.
bool gls_run(uint8_t _af, uint8_t _sd, uint8_t _tod, uint8_t _td)
#define APP_DISTANCE_AF_SD
#define APP_INTERCEPT_RATE
static bool gls_compute_TOD(uint8_t _af, uint8_t _sd, uint8_t _tod, uint8_t _td)
#define MAX_WIND_ON_FINAL
bool gls_start(uint8_t _af, uint8_t _sd, uint8_t _tod, uint8_t _td)
vector in East North Up coordinates Units: meters
API to get/set the generic vehicle states.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.