Copter: get angle_boost direct from pos_control

This commit is contained in:
Randy Mackay 2014-02-03 16:23:13 +09:00 committed by Andrew Tridgell
parent 90c5fe4be4
commit 3824f528ea

View File

@ -325,7 +325,7 @@ static void Log_Write_Control_Tuning()
LOG_PACKET_HEADER_INIT(LOG_CONTROL_TUNING_MSG),
time_ms : hal.scheduler->millis(),
throttle_in : g.rc_3.control_in,
angle_boost : angle_boost,
angle_boost : attitude_control.angle_boost(),
throttle_out : g.rc_3.servo_out,
desired_alt : pos_control.get_alt_target() / 100.0f,
inav_alt : current_loc.alt / 100.0f,