Commit Graph

233 Commits

Author SHA1 Message Date
Andrew Tridgell 6d40d5bda0 AC_AttitudeControl: apply EKF Z gain scaler
for flying with DCM
2021-08-28 14:41:27 +09:00
Leonard Hall b6c4ccb683 AC_AttitudeControl: AC_PosControl: Non functional clean up 2021-08-28 14:41:27 +09:00
Leonard Hall bb5b00d920 AC_AttitudeControl: AC_PosControl: limit initial acceleration 2021-08-28 14:41:27 +09:00
Leonard Hall feafbe81a3 AC_AttitudeControl: AC_PosControl: fix stopping point initialization 2021-08-28 14:41:27 +09:00
Iampete1 e1972c7132 AC_PosControl: init_z_controller_stopping_point: remove duplicate set_integrator 2021-08-28 14:41:27 +09:00
Andrew Tridgell cc5bfc8375 AC_AttitudeControl: this fixes an issue with Z accel initialisation
tailsitter quadplanes were climbing a lot on transition from fixed
wing to Q modes. Leonard tracked it down to a bug in the Z accel init
2021-08-28 14:41:27 +09:00
Leonard Hall a363468281 AC_AttitudeControl: AC_PosControl: support Control: Refactor to use Jerk 2021-08-14 10:44:08 +09:00
Leonard Hall 2e6e3d7b89 AC_AttitudeControl: AC_PosControl: fix PID filter names FILT -> FLTE, D_FILT -> FLTD 2021-08-14 10:44:08 +09:00
Leonard Hall 9d1a51969b AC_PosControl: Add MAX(bla,0) because safe_sqrt isn't safe 2021-07-22 19:07:36 +09:00
Leonard Hall 8e31de412c AC_AttitudeControl: AC_PosControl: calculate cross track 2021-07-22 19:07:36 +09:00
Leonard Hall dbf1020c16 AC_AttitudeControl: AC_PosControl: Auto Terain following update 2021-07-22 19:07:36 +09:00
Leonard Hall 370b980876 AC_AttitudeControl: AC_PosControl: support accel only input in the vertical 2021-07-22 19:07:36 +09:00
Leonard Hall a29794ab49 AC_AttitudeControl: AC_PosControl: support terrain following 2021-07-22 19:07:36 +09:00
Leonard Hall 731a6bcb31 AC_AttitudeControl: AC_PosControl: seperate kinimatic shaping from pid limit setting 2021-07-22 19:07:36 +09:00
Leonard Hall 52166c94fe AC_AttitudeControl: Add terain following to guided 2021-07-22 19:07:36 +09:00
Leonard Hall b6b4d9869c AC_AttitudeControl: AC_PosControl: Support Accel only input 2021-07-22 19:07:36 +09:00
Leonard Hall 91e22680a5 AC_AttitudeControl: AC_PosControl: Change input_pos_xyz name 2021-07-22 19:07:36 +09:00
Leonard Hall 5475d1153c AC_PosControl: fixup ekf reset 2021-06-25 10:01:49 +09:00
Andrew Tridgell 66186e5221 AC_AttitudeControl: convert poscontrol to use double position 2021-06-24 21:34:30 +10:00
Andrew Tridgell 7819cc6400 AC_AttitudeControl: cleanup poscontrol comments with input from Leonard 2021-06-24 20:28:45 +10:00
Andrew Tridgell fd68233fed AC_AttitudeControl: cleanup position control APIs
use Vector2 for xy, float for z
2021-06-24 20:28:45 +10:00
Leonard Hall 47b0ac663a AC_AttitudeControl: AC_PosControl: Init and stopping point fixes 2021-06-24 09:01:07 +10:00
Leonard Hall ffc64c3042 AC_AttitudeControl: AC_PosControl: change force_descend to ignore_descent_limit 2021-06-23 10:58:50 +09:00
Leonard Hall d599052da3 AC_AttitudeControl:AC_PosControl: vibration failsafe fix 2021-06-23 10:29:23 +09:00
Leonard Hall d9529e1be3 AC_AttitudeControl: AC_PosControl: Remove extra accel limit 2021-06-21 14:14:23 +09:00
Hwurzburg 3f4d4e45fc AC_AttitudeControl: correct param ranges to accomodate TradHeli defaults 2021-05-28 09:44:11 +09:00
Randy Mackay d9c68031fa AC_PosControl: write_log checks xy and z controllers are active
This allows write_log to be write PSCZ messages for modes with onlyi vertical control (e.g. althold) without also logging out-of-date PSC messages
2021-05-26 18:58:31 +10:00
Leonard Hall 491350c1d6 AC_AttitudeControl: Fix before squash 2021-05-24 20:13:37 +10:00
Andrew Tridgell 8213fc5277 AC_AttitudeControl: prevent panic on SITL when no lock-step scheduling
this disables the internal error for bad timing on SITL types without
lock-step scheduling, such as RealFlight
2021-05-24 20:13:37 +10:00
Leonard Hall 92e05e8c4f AC_AttitudeControl: PosControl fixes 2021-05-24 20:13:37 +10:00
Leonard Hall 4158c37cfa AC_PosControl: Calculate heading 2021-04-27 17:13:55 +09:00
Leonard Hall bb46f7a947 AC_PosControl: Thrust Vector output 2021-04-27 17:13:55 +09:00
Randy Mackay cb0d37586e AC_PosControl: use Vector limit_length and formatting fixes 2021-04-03 12:07:59 +09:00
Leonard Hall ba00c2edd6 AC_PosControl: alt hold controller update
pass accel limit top_pos_xy
prearm check updated
fix PSC_VELZ_FLTE/D param descriptions
fix VelZ FF param desc
limit maximum desired z component
integrate AC_PID_Basic
2021-04-03 12:07:59 +09:00
Leonard Hall b73ad1a1bc AC_PosControl: remove unused sqrt_controller_3D 2021-04-03 12:07:59 +09:00
Leonard Hall 49da872218 AC PosControl: fix position error get functions 2021-04-03 12:07:59 +09:00
Peter Hall aa75fc2c3d AC_PosControl: use target lean angles rather than true for init 2021-03-17 08:13:11 +09:00
Leonard Hall 8ace1bfad1 AC_PosControl: const local vars and remove todo 2021-02-10 13:26:23 +09:00
Randy Mackay 0703a1cf93 AC_PosControl: add PSCZ logging 2021-02-09 19:33:52 +09:00
Randy Mackay 9f914d9e7d AC_PosControl: add get_z_accel_cmss helper function 2021-02-09 19:33:52 +09:00
Randy Mackay 6320338771 AC_PosControl: use AP_Math control functions 2021-01-20 18:19:40 +11:00
Randy Mackay d6869b9234 AC_PosControl: fix typo in posxy_p param desc 2020-11-05 14:59:00 +09:00
Andrew Tridgell 0a7c628355 AC_AttitudeControl: added SMAX param docs 2020-10-25 10:32:48 +11:00
Randy Mackay 4ed486bb92 AC_AttitudeControl: revert Add PosControl PID logging 2020-09-12 08:10:33 +09:00
Iampete1 c109df3dd5 AC_AttitudeControl: Add PosControl PID logging 2020-09-11 10:12:08 +10:00
Iampete1 e955b431ef AC_PosControl: move to structure logging for PSC 2020-09-11 10:12:08 +10:00
Iampete1 c27bdafea4 AC_PosControl: correct VELXY_D_FILT Description 2020-06-23 11:40:12 +09:00
Rishabh 6a98ab569e AC_PosControl: Replace update_vel_controller_xy() with update_xy_controller() 2020-04-21 09:22:45 +10:00
Peter Barker e477f6c840 AC_PosControl: add documentation for PSC log message 2020-04-06 10:46:45 +10:00
Leonard Hall 29332ac112 AC_PosControl: add relax_velocity_controller_xy 2020-03-11 10:39:18 +09:00