AC_AttitudeControl: correct old and misleading comments

This commit is contained in:
Peter Barker 2018-10-10 23:28:37 +11:00 committed by Peter Barker
parent 4567247ea1
commit 04e4484d96

View File

@ -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