Browse Source

AC_AttitudeControl: correct old and misleading comments

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
04e4484d96
  1. 3
      libraries/AC_AttitudeControl/AC_PosControl.h

3
libraries/AC_AttitudeControl/AC_PosControl.h

@ -123,8 +123,7 @@ public: @@ -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

Loading…
Cancel
Save