mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
Plane: added height to 10Hz TECS call
This commit is contained in:
parent
cf6684ac0c
commit
971d36f06b
@ -1254,7 +1254,8 @@ static void update_alt()
|
|||||||
target_airspeed_cm,
|
target_airspeed_cm,
|
||||||
(control_mode==AUTO && takeoff_complete == false),
|
(control_mode==AUTO && takeoff_complete == false),
|
||||||
takeoff_pitch_cd,
|
takeoff_pitch_cd,
|
||||||
throttle_nudge);
|
throttle_nudge,
|
||||||
|
float(hgt_afe_cm)*0.01f);
|
||||||
if (g.log_bitmask & MASK_LOG_TECS) {
|
if (g.log_bitmask & MASK_LOG_TECS) {
|
||||||
Log_Write_TECS_Tuning();
|
Log_Write_TECS_Tuning();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user