40 #ifndef LANDINGSLOPE_H_ 41 #define LANDINGSLOPE_H_ 77 float bearing_airplane_currwp);
91 float horizontal_slope_displacement,
float landing_slope_angle_rad);
98 float horizontal_slope_displacement,
float landing_slope_angle_rad);
101 float bearing_airplane_currwp);
103 void update(
float landing_slope_angle_rad_new,
104 float flare_relative_alt_new,
105 float motor_lim_relative_alt_new,
void update(float landing_slope_angle_rad_new, float flare_relative_alt_new, float motor_lim_relative_alt_new, float H1_virt_new)
static float getLandingSlopeAbsoluteAltitude(float wp_landing_distance, float wp_landing_altitude, float horizontal_slope_displacement, float landing_slope_angle_rad)
float _flare_relative_alt
h_flare,rel in the plot
float getLandingSlopeRelativeAltitudeSave(float wp_landing_distance, float bearing_lastwp_currwp, float bearing_airplane_currwp)
float _H1_virt
H1 in the plot.
float getLandingSlopeRelativeAltitude(float wp_landing_distance)
float _flare_length
d1 + delta d in the plot
float _horizontal_slope_displacement
delta d in the plot
float landing_slope_angle_rad()
void calculateSlopeValues()
float _H0
h_flare,rel + H1 in the plot
float motor_lim_relative_alt()
static float getLandingSlopeWPDistance(float slope_altitude, float wp_landing_altitude, float horizontal_slope_displacement, float landing_slope_angle_rad)
float getFlareCurveRelativeAltitudeSave(float wp_landing_distance, float bearing_lastwp_currwp, float bearing_airplane_currwp)
float _motor_lim_relative_alt
float horizontal_slope_displacement()
float _landing_slope_angle_rad
phi in the plot
float flare_relative_alt()