Commit Graph

14 Commits

Author SHA1 Message Date
Leonard Hall d19151103c AP_Math: Control: Add directional based acceleration limit 2022-01-31 19:41:01 +09:00
Leonard Hall 37c6dc74ae AP_Math: Control: Adjust limit handling to improve corners 2022-01-31 19:41:01 +09:00
Randy Mackay 092730c32e AP_Math: update_pos_vel_accel methods accept limit as const reference
also update some comments
2022-01-31 19:41:01 +09:00
Leonard Hall dac064e51c AP_Math: Control: Refactor to use Jerk 2021-08-14 11:05:38 +09:00
Andrew Tridgell f60c592af3 AP_Math: sync for 4.1.0beta releases 2021-07-23 10:19:46 +09:00
Andrew Tridgell 9b91cfe4ee AP_Math: implement double versions of some position control methods 2021-06-24 21:34:30 +10:00
Andrew Tridgell 3a3a30ab22 AP_Math: define postype_t and vectors 2021-06-24 21:34:30 +10:00
Andrew Tridgell 639570505b AP_Math: cleanups from Leonards feedback 2021-06-24 20:28:45 +10:00
Andrew Tridgell 566dd8ca8b AP_Math: cleanup API comments on control code 2021-06-24 20:28:45 +10:00
Andrew Tridgell 86f09cad09 AP_Math: cleanup position control APIs
use Vector2 for xy, float for z
2021-06-24 20:28:45 +10:00
Leonard Hall c4bb8baf0c AP_Math: Control: Add XY S-Curve shapers and shaping limits 2021-05-24 20:13:37 +10:00
Randy Mackay 0e506a71a1 AP_Math: remove control's limit_vector_length
these have been moved to Vector2f and Vector3f
2021-04-03 12:07:59 +09:00
Leonard Hall 3bb0482795 AP_Math: add update_pos_vel_accel to control
also add shape_vel, shape_pos_vel and stopping_distance
also add calculation of kinematic limits
2021-04-03 12:07:59 +09:00
Leonard Hall 1e38440c83 AP_Math: add control common functions 2021-01-20 18:19:40 +11:00