From 09388b7408da6d2be1a0ae96c169e0d91d4d63d5 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 13 Dec 2021 20:08:16 +0900 Subject: [PATCH] AP_Math: minor comment fix --- libraries/AP_Math/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/control.cpp b/libraries/AP_Math/control.cpp index cb2c8c13a1..b95d7c7b5c 100644 --- a/libraries/AP_Math/control.cpp +++ b/libraries/AP_Math/control.cpp @@ -79,7 +79,7 @@ void update_vel_accel_xy(Vector2f& vel, const Vector2f& accel, float dt, const V // update_pos_vel_accel - dual axis projection of position and velocity, pos and vel, forwards in time based on a time step of dt and acceleration of accel. // the position and velocity is not moved in the direction of limit if limit is not set to zero // limit - specifies if the system is unable to continue to accelerate -// pos_error and vel_error - specifies the direction of the velocity error useded in limit handling +// pos_error and vel_error - specifies the direction of the velocity error used in limit handling void update_pos_vel_accel_xy(Vector2p& pos, Vector2f& vel, const Vector2f& accel, float dt, const Vector2f& limit, const Vector2f& pos_error, const Vector2f& vel_error) { // move position and velocity forward by dt.