AC_PosControl: remove out-of-date comments

This commit is contained in:
Leonard Hall 2017-12-10 23:10:37 +10:30 committed by Randy Mackay
parent 18d7d3f038
commit 3e0c24adf9

View File

@ -505,7 +505,6 @@ void AC_PosControl::accel_to_throttle(float accel_target_z)
/// ///
/// set_accel_xy - set horizontal acceleration in cm/s/s /// set_accel_xy - set horizontal acceleration in cm/s/s
/// calc_leash_length_xy should be called afterwards
void AC_PosControl::set_accel_xy(float accel_cmss) void AC_PosControl::set_accel_xy(float accel_cmss)
{ {
if (fabsf(_accel_cms-accel_cmss) > 1.0f) { if (fabsf(_accel_cms-accel_cmss) > 1.0f) {
@ -516,7 +515,6 @@ void AC_PosControl::set_accel_xy(float accel_cmss)
} }
/// set_speed_xy - set horizontal speed maximum in cm/s /// set_speed_xy - set horizontal speed maximum in cm/s
/// calc_leash_length_xy should be called afterwards
void AC_PosControl::set_speed_xy(float speed_cms) void AC_PosControl::set_speed_xy(float speed_cms)
{ {
if (fabsf(_speed_cms-speed_cms) > 1.0f) { if (fabsf(_speed_cms-speed_cms) > 1.0f) {