Skip to content

Commit

Permalink
ArduPlane: TECS now has takeoff settings setter
Browse files Browse the repository at this point in the history
  • Loading branch information
Georacer committed Jun 26, 2024
1 parent d386f27 commit bc635b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/ArduPlane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,11 @@ void Plane::update_alt()
tecs_target_alt_cm = MAX(tecs_target_alt_cm, prev_WP_loc.alt - home.alt) + (g2.rtl_climb_min+10)*100;
}

TECS_controller.set_tkoff_settings(get_takeoff_pitch_min_cd(), mode_takeoff.level_alt);
TECS_controller.update_pitch_throttle(tecs_target_alt_cm,
target_airspeed_cm,
flight_stage,
distance_beyond_land_wp,
get_takeoff_pitch_min_cd(),
throttle_nudge,
tecs_hgt_afe(),
aerodynamic_load_factor,
Expand Down

0 comments on commit bc635b3

Please sign in to comment.