Commit Graph

27 Commits

Author SHA1 Message Date
Leonard Hall ac3a3d9576 AP_Math: Target velocity can reduce when limited
AP_Math: Target velocity can reduce when limited
2022-12-30 20:25:58 +09:00
Leonard Hall 114e8e2f52 AP_Math: Control Tools Enhancments
AP_Math: Control Tools Enhancments
2022-12-30 20:25:58 +09:00
Leonard Hall 1382923db0 AP_Math: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 1e3e5e5577 AP_Math: Control: Add velocity limits to shaping functions 2022-08-08 20:54:37 -04:00
Leonard Hall 1a21c6da1e AP_Math: Move rc_input_to_roll_pitch conversion 2022-05-31 08:08:17 +09:00
Andrew Tridgell ca4151be2c AP_Math: added angle_to_accel() and accel_to_angle() 2022-03-18 13:36:16 +11:00
Randy Mackay f57a081ceb AP_Math: minor control format fix 2022-02-08 17:01:23 +09:00
Leonard Hall a47fc65511 AP_Math: Control: improve real time S-Curve response to small inputs 2022-02-08 16:58:44 +09:00
Randy Mackay 8bbdd4825f AP_Math: minor control spelling and format fixes 2022-01-12 13:07:15 +09:00
Leonard Hall 1e124ca957 AP_Math: Control: Add directional based acceleration limit
AP_Math: Control: Add directional based acceleration limit
2021-12-16 09:54:49 +09:00
Randy Mackay 09388b7408 AP_Math: minor comment fix 2021-12-15 11:58:23 +09:00
Leonard Hall 718c094293 AP_Math: Control: Adjust limit handling to improve corners 2021-12-07 09:47:42 +09:00
Randy Mackay 4096a70a1f AP_Math: update_pos_vel_accel methods accept limit as const reference
also update some comments
2021-12-01 12:45:46 +09:00
Iampete1 460df9bb50 AP_Math: control: remove unneeded normalisation. 2021-11-23 13:47:10 +09:00
Leonard Hall 77fbcf1741 AP_Math: Control: add expo calculation. 2021-09-23 20:03:53 +09:00
Leonard Hall 8961695369 AP_Math: Control: Refactor to use Jerk 2021-08-11 17:07:29 +09:00
Leonard Hall 3a8924c185 AP_Math: Control: protect against divide by zero 2021-08-11 17:07:29 +09:00
Leonard Hall de36398ebf AC_Math: Control: Support Accel only input 2021-07-10 20:25:05 +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 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 5c47c0a131 AP_Math: Fix before squash 2021-05-24 20:13:37 +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