AC_PosControl: remove out-of-date comments
This commit is contained in:
parent
18d7d3f038
commit
3e0c24adf9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user