31 #if defined(FIXEDWING_FIRMWARE)
36 #if defined(FIXEDWING_FIRMWARE)
37 #define USED_IN_FIXEDWING_ONLY
39 #define USED_IN_FIXEDWING_ONLY UNUSED
44 #if defined(FIXEDWING_FIRMWARE)
57 #elif defined(ROVER_FIRMWARE)
59 #error gvf_parametric does not support your firmware yet
65 #if defined(FIXEDWING_FIRMWARE)
84 #elif defined(ROVER_FIRMWARE)
86 #error gvf_parametric does not support your firmware yet
uint8_t autopilot_get_mode(void)
get autopilot mode
Core autopilot interface common to all firmwares.
static float ground_speed
float v_ctl_climb_setpoint
#define V_CTL_SPEED_THROTTLE
#define LATERAL_MODE_ROLL
Fixed wing horizontal control.
static struct FloatEulers * stateGetNedToBodyEulers_f(void)
Get vehicle body attitude euler angles (float).
static float stateGetHorizontalSpeedNorm_f(void)
Get norm of horizontal ground speed (float).
#define V_CTL_MODE_AUTO_CLIMB
"New" vertical control for fixed wing vehicles.
gvf_parametric_con gvf_parametric_control
Guiding vector field algorithm for 2D and 3D parametric trajectories.
#define GVF_PARAMETRIC_GRAVITY
void gvf_parametric_low_level_control_3D(float heading_rate USED_IN_FIXEDWING_ONLY, float climbing_rate USED_IN_FIXEDWING_ONLY)
#define USED_IN_FIXEDWING_ONLY
void gvf_parametric_low_level_control_2D(float heading_rate USED_IN_FIXEDWING_ONLY)
Firmware dependent file for the guiding vector field algorithm for 2D and 3D parametric trajectories.
float h_ctl_roll_max_setpoint
float h_ctl_roll_setpoint