|
|
|
@ -65,7 +65,7 @@ public:
@@ -65,7 +65,7 @@ public:
|
|
|
|
|
// TODO: TYPE_HELICAL,
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
bool verify_land(const AP_SpdHgtControl::FlightStage flight_stage, const Location &prev_WP_loc, Location &next_WP_loc, const Location ¤t_loc, |
|
|
|
|
bool verify_land(const AP_Vehicle::FixedWing::FlightStage flight_stage, const Location &prev_WP_loc, Location &next_WP_loc, const Location ¤t_loc, |
|
|
|
|
const int32_t auto_state_takeoff_altitude_rel_cm, 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, bool &throttle_suppressed); |
|
|
|
|
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); |
|
|
|
@ -78,7 +78,7 @@ public:
@@ -78,7 +78,7 @@ public:
|
|
|
|
|
bool restart_landing_sequence(void); |
|
|
|
|
float wind_alignment(const float heading_deg); |
|
|
|
|
float head_wind(void); |
|
|
|
|
int32_t get_target_airspeed_cm(const AP_SpdHgtControl::FlightStage flight_stage); |
|
|
|
|
int32_t get_target_airspeed_cm(const AP_Vehicle::FixedWing::FlightStage flight_stage); |
|
|
|
|
|
|
|
|
|
// accessor functions for the params and states
|
|
|
|
|
static const struct AP_Param::GroupInfo var_info[]; |
|
|
|
@ -155,7 +155,7 @@ private:
@@ -155,7 +155,7 @@ private:
|
|
|
|
|
AP_Int8 type; |
|
|
|
|
|
|
|
|
|
// Land Type STANDARD GLIDE SLOPE
|
|
|
|
|
bool type_slope_verify_land(const AP_SpdHgtControl::FlightStage flight_stage, const Location &prev_WP_loc, Location &next_WP_loc, const Location ¤t_loc, |
|
|
|
|
bool type_slope_verify_land(const AP_Vehicle::FixedWing::FlightStage flight_stage, const Location &prev_WP_loc, Location &next_WP_loc, const Location ¤t_loc, |
|
|
|
|
const int32_t auto_state_takeoff_altitude_rel_cm, 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, bool &throttle_suppressed); |
|
|
|
|
|
|
|
|
|
void type_slope_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); |
|
|
|
|