From 1754cacf3c268ae090bacb595e2ef0a6ce8d439c Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 4 Oct 2014 23:31:33 +0900 Subject: [PATCH] AC_PosControl: remove completed to-do comments --- libraries/AC_AttitudeControl/AC_PosControl.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/AC_AttitudeControl/AC_PosControl.cpp b/libraries/AC_AttitudeControl/AC_PosControl.cpp index 77cc51e784..f3e003511e 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.cpp +++ b/libraries/AC_AttitudeControl/AC_PosControl.cpp @@ -393,11 +393,8 @@ void AC_PosControl::accel_to_throttle(float accel_target_z) // get d term d = _pid_alt_accel.get_d(_accel_error.z, _dt); - // To-Do: pull min/max throttle from motors - // To-Do: we had a contraint here but it's now removed, is this ok? with the motors library handle it ok? + // send throttle to attitude controller with angle boost _attitude_control.set_throttle_out((int16_t)p+i+d+_throttle_hover, true); - - // to-do add back in PID logging? } ///