Andy Piper
cfebae5857
APM_Control: update for new AC_PID settings
...
enable filters with AP_FILTER_ENABLED
2023-11-21 13:26:23 +11:00
Andy Piper
9211dba484
APM_Control: update docs for new AC_PID parameters
...
add advanced flag to PIDs and selectively compile advanced PID options
2023-11-21 13:26:23 +11:00
Leonard Hall
029950ef05
APM_Control: Support PD Max
2023-09-26 10:41:05 +10:00
Randy Mackay
68e1769cc1
AR_AttitudeControl: add singleton and get_srate
2023-08-01 09:16:17 +10:00
Randy Mackay
6f52eaf9a7
AR_AttitudeContol: add steering_limited checks
2023-07-05 20:27:54 +09:00
Leonard Hall
2f2143ca6f
AP_Control: Support changing update period
2022-12-13 17:10:06 +11:00
Randy Mackay
71ae3f0a13
AR_AttitudeControl: balancebot gets pitch limit protection
2022-11-15 09:00:57 +09:00
Randy Mackay
3d89bd9f14
AR_AttitudeControl: balancebot pitch feedforward uses current pitch angle
2022-11-15 09:00:57 +09:00
Randy Mackay
30b2e03a85
AR_AttitudeControl: improve balancebot pitch control param description
2022-11-15 09:00:57 +09:00
xianglunkai
2e5c201222
AR_AttitudeControl: use _desired_speed instead of desired_speed for throttle-speed controller
2022-03-04 17:51:19 +11:00
Randy Mackay
619f4976a2
AR_AttitudeControl: get_turn_rate_from_heading applies acceleration limit
...
Limits rate output so that vehicle will not overshoot the target heading
2022-02-10 07:45:12 +09:00
Randy Mackay
91d40b768c
AR_AttitudeControl: get_throttle_speed_pid_info.FF includes base throttle
2022-01-07 09:36:44 +09:00
Randy Mackay
e85a95f21c
AR_AttitudeControl: reduce some param defaults
...
These reductions are based on experirence helping users setup new vehicle. In the vast majority of cases the existing values are too high
STEER_ANG_P is the default for the angle-to-rate controller and is used during pivot turns. This value may still be slightly too high.
STEER_RATE_MAX is the maximum turn rate so the new value allows a 360 turn in 3 seconds
STEER_ACCEL_MAX is the acceleration for the turn rate meaning a vehicle can get to 120 deg/sec in 1 sec
THR_ACCEL_MAX is the maximum acceleration. This new value means a vehicle can accelerate to 1m/s in 1 second.
2021-11-17 19:18:23 +11:00
Randy Mackay
9c54b3d252
AR_AttitudeControl: move param defines from .h to .cpp
2021-11-17 19:18:23 +11:00
Randy Mackay
570c12215d
AR_AttitudeControl: fix get_throttle_out_speed use of passed in limits
2021-09-10 07:50:00 +09:00
Peter Barker
d2102ce9b7
APM_Control: stop taking references to ahrs in APM_Control
2021-07-21 18:27:23 +10:00
Iampete1
bc90ba5486
AR_AttitudeControl: get_steering_out_rate use abs speed for G limit
2021-05-19 16:02:20 +01:00
Iampete1
980c41e273
APM_Control: G limit all turn rates
2021-05-03 19:22:16 -04:00
Randy Mackay
f0ffaa5624
AR_AttitudeControl: reset speed filter and I term when stopped
2021-03-04 09:07:32 +09:00
Andrew Tridgell
9a244eef29
APM_Control: added SMAX param docs
2020-10-25 10:32:48 +11:00
Randy Mackay
2db57dffac
AR_AttitudeControl: update param desc increment and range
2020-09-16 16:49:40 +09:00
Peter Barker
c9f2b9ff87
AR_AttitudeControl: correct spelling error in param docs
2020-03-16 17:44:35 +11:00
Peter Hall
c71cbe2729
APM_Control: AR_AttitudeControl: add description for new PID params
2019-09-23 09:45:46 +09:00
Peter Barker
7fbaea7971
APM_Control: wrap_180_cd no longer solely returns floats
2019-09-18 12:57:02 +10:00
Randy Mackay
1b533295a8
AR_AttitudeControl: minor comment fixes
2019-08-06 20:00:05 +09:00
Peter Hall
65d8047165
AR_AttitudeControl: fix sailboat heel PID
2019-08-06 20:00:05 +09:00
Leonard Hall
6f14673f08
APM_Control: support for upgrade to PID object
2019-07-25 17:38:15 +09:00
Leonard Hall
157f786adf
Global: rename desired to target in PID info
2019-07-25 17:38:15 +09:00
Michael du Breuil
197804412a
APM_Control: Fix AP_GPS include
2019-06-18 10:02:05 +10:00
Randy Mackay
a96c146758
AR_AttitudeControl: set-throttle-out-stop considered same as running speed controller
...
update the speed-last-ms time when set-throttle-out-stop runs or else the desired throttle will not be acceleration limited when the desired speed is next increased above zero
2019-06-08 09:35:36 +09:00
Randy Mackay
4e68d16526
AR_AttitudeControl: use speed_control_active in get_desired_speed_accel_limited
...
also minor formatting fixes
this is a non-functional change
2019-05-10 06:55:35 +09:00
Randy Mackay
6d4d1bc20a
AR_AttitudeControl: add get_turn_rate_from_heading
2019-05-10 06:55:35 +09:00
Randy Mackay
8907b727f6
AR_AttitudeControl: add get_turn_rate_from_lat_accel
2019-05-10 06:55:35 +09:00
Randy Mackay
f6f5967a82
AR_AttitudeControl: minor param desc fix
2019-05-04 14:49:26 +09:00
IamPete1
49ec059420
APM_Control: add function to relax rover i terms
2019-02-27 08:51:24 +09:00
Peter Barker
b276034c60
APM_Control: correct use of incorrect abs functions
2018-10-19 08:46:43 +11:00
IamPete1
e443b864c6
AR_AttitudeControl: add sail heel PID
2018-09-28 10:40:12 +09:00
Randy Mackay
d7d6c6ab04
AR_AttitudeControl: clarify units of get_steering_out_heading argument
...
also update comments
2018-09-11 14:39:50 +09:00
Randy Mackay
96097586c3
AR_AttitudeControl: reset I if speed controller not called recently
2018-09-04 15:00:41 +09:00
Randy Mackay
106b8abab7
AR_AttitudeControl: get_throttle_out_from_pitch accepts vehicle speed
2018-08-27 16:44:33 +09:00
Randy Mackay
d5ef3c2e0f
AR_AttitudeControl: get_throttle_out_from_pitch uses motor limits
...
This allows removing I-term build up from throttle hitting 100%
2018-08-27 16:44:33 +09:00
Randy Mackay
65b020eac3
AR_AttitudeControl: re-order pitch control to match other similar methods
2018-08-27 16:44:33 +09:00
Randy Mackay
1c18d06aa3
AR_AttitudeControl: move unnecessary else
2018-08-06 11:30:22 +09:00
Randy Mackay
9b60e0844b
AR_AttitudeControl: add get_desired_pitch accessor
2018-08-06 11:30:22 +09:00
Ebin
ccb32cf357
APM_Control: BRAKE param default is true
2018-07-20 14:41:32 +10:00
Randy Mackay
9eebb6225a
AR_AttitudeControl: brake fix to set limit in only one direction
2018-07-19 09:04:50 +08:00
Ebin
ce182fd307
APM_Control: fixed test condition in AR_AttutudeControl.cpp
2018-07-06 19:41:09 +10:00
Ebin
97a260a980
APM_Control: get_throttle_out_from_pitch() accepts dt as argument
2018-06-28 21:55:20 +09:00
Ebin
657ff06380
APM_Control: added balancing function for BalanceBot
2018-06-28 21:55:20 +09:00
Randy Mackay
5e7b37f0b2
AR_AttitudeControl: remove constraint on steering output
2018-06-12 17:44:10 +09:00