From 04e4484d964d2ff2af1f5ec0560a66e375f5428e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 10 Oct 2018 23:28:37 +1100 Subject: [PATCH] AC_AttitudeControl: correct old and misleading comments --- libraries/AC_AttitudeControl/AC_PosControl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AC_AttitudeControl/AC_PosControl.h b/libraries/AC_AttitudeControl/AC_PosControl.h index d8c0c0ded1..7ff1a4c4fe 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.h +++ b/libraries/AC_AttitudeControl/AC_PosControl.h @@ -123,8 +123,7 @@ public: /// relax_alt_hold_controllers - set all desired and targets to measured void relax_alt_hold_controllers(float throttle_setting); - /// get_alt_target, get_desired_alt - get desired altitude (in cm above home) from loiter or wp controller which should be fed into throttle controller - /// To-Do: remove one of the two functions below + /// get_alt_target - get desired altitude (in cm above home) from loiter or wp controller which should be fed into throttle controller float get_alt_target() const { return _pos_target.z; } /// get_alt_error - returns altitude error in cm