|
|
|
@ -925,7 +925,6 @@ void AP_TECS::_update_STE_rate_lim(void)
@@ -925,7 +925,6 @@ void AP_TECS::_update_STE_rate_lim(void)
|
|
|
|
|
void AP_TECS::update_pitch_throttle(int32_t hgt_dem_cm, |
|
|
|
|
int32_t EAS_dem_cm, |
|
|
|
|
enum AP_Vehicle::FixedWing::FlightStage flight_stage, |
|
|
|
|
bool is_doing_auto_land, |
|
|
|
|
float distance_beyond_land_wp, |
|
|
|
|
int32_t ptchMinCO_cd, |
|
|
|
|
int16_t throttle_nudge, |
|
|
|
@ -937,7 +936,7 @@ void AP_TECS::update_pitch_throttle(int32_t hgt_dem_cm,
@@ -937,7 +936,7 @@ void AP_TECS::update_pitch_throttle(int32_t hgt_dem_cm,
|
|
|
|
|
_DT = (now - _update_pitch_throttle_last_usec) * 1.0e-6f; |
|
|
|
|
_update_pitch_throttle_last_usec = now; |
|
|
|
|
|
|
|
|
|
_flags.is_doing_auto_land = is_doing_auto_land; |
|
|
|
|
_flags.is_doing_auto_land = _landing.in_progress; |
|
|
|
|
_distance_beyond_land_wp = distance_beyond_land_wp; |
|
|
|
|
_flight_stage = flight_stage; |
|
|
|
|
|
|
|
|
|