|
|
|
@ -74,6 +74,7 @@ public:
@@ -74,6 +74,7 @@ public:
|
|
|
|
|
const float height, const float sink_rate, const float wp_proportion, const uint32_t last_flying_ms, const bool is_armed, const bool is_flying, const bool rangefinder_state_in_range); |
|
|
|
|
void adjust_landing_slope_for_rangefinder_bump(AP_Vehicle::FixedWing::Rangefinder_State &rangefinder_state, Location &prev_WP_loc, Location &next_WP_loc, const Location ¤t_loc, const float wp_distance, int32_t &target_altitude_offset_cm); |
|
|
|
|
void setup_landing_glide_slope(const Location &prev_WP_loc, const Location &next_WP_loc, const Location ¤t_loc, int32_t &target_altitude_offset_cm); |
|
|
|
|
bool override_servos(void); |
|
|
|
|
void check_if_need_to_abort(const AP_Vehicle::FixedWing::Rangefinder_State &rangefinder_state); |
|
|
|
|
bool request_go_around(void); |
|
|
|
|
bool is_flaring(void) const; |
|
|
|
@ -104,6 +105,7 @@ public:
@@ -104,6 +105,7 @@ public:
|
|
|
|
|
void set_initial_slope(void) { initial_slope = slope; } |
|
|
|
|
bool is_expecting_impact(void) const; |
|
|
|
|
void log(void) const; |
|
|
|
|
const DataFlash_Class::PID_Info * get_pid_info(void) const; |
|
|
|
|
|
|
|
|
|
// landing altitude offset (meters)
|
|
|
|
|
float alt_offset; |
|
|
|
|