From ebbfa9391d8b34f49a2a9ad63c9e0b7fc722a5d4 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 5 Jan 2017 15:25:10 +0900 Subject: [PATCH] Copter: remove comments from package place --- ArduCopter/control_auto.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArduCopter/control_auto.cpp b/ArduCopter/control_auto.cpp index 6619ffb7de..a387bdcf36 100644 --- a/ArduCopter/control_auto.cpp +++ b/ArduCopter/control_auto.cpp @@ -855,9 +855,7 @@ void Copter::auto_payload_place_run_loiter() const float target_yaw_rate = 0; attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(wp_nav->get_roll(), wp_nav->get_pitch(), target_yaw_rate, get_smoothing_gain()); - // update altitude target and call position controller - // const float target_climb_rate = 0; - // pos_control->set_alt_target_from_climb_rate_ff(target_climb_rate, G_Dt, false); + // call position controller pos_control->update_z_controller(); }