Commit Graph

793 Commits

Author SHA1 Message Date
Gone4Dirt 075ce596d2 Copter: Heli: simplify autorotation mode change and support RSC autorotation state 2024-10-11 09:54:26 +11:00
Randy Mackay c706d01d7f AC_PosControl: implement singleton 2024-10-04 09:25:56 +09:00
Leonard Hall 9fb8a0f1ac AC_PosControl: support 3D pos, vel, accel offsets
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-10-04 09:25:56 +09:00
Andy Piper eeda86ccb4 AC_AttitudeControl: rate_controller_run_dt() takes dt as last argument 2024-09-26 19:25:33 +10:00
Andy Piper 15de449d12 AC_AttitudeControl: raise a config error if rate_controller_run_dt() is called by accident 2024-09-26 19:25:33 +10:00
Andy Piper 053db86abc AC_AttitudeControl: ensure Write_Rate() can be called from autotune 2024-09-26 19:25:33 +10:00
Andy Piper 02a2c788da AC_AttitudeControl: ensure plane always gets the latest gyro 2024-09-26 19:25:33 +10:00
Andy Piper a647b3914c AC_AttitudeControl: remove unused functions 2024-09-26 19:25:33 +10:00
Andy Piper 70067ea7ae AC_AttitudeControl: Write_Rate() should be thread-safe 2024-09-26 19:25:33 +10:00
Andy Piper 829422ecfb AC_AttitudeControl: add commentary about functions which modify the rate loop target 2024-09-26 19:25:33 +10:00
Andy Piper 6b5da48641 AC_AttitudeControl: provide function to reset target modifiers 2024-09-26 19:25:33 +10:00
Leonard Hall ddfccb3098 AC_AttitudeControl: Use rate step command 2024-09-26 19:25:33 +10:00
Andy Piper ff002cba3f AC_AttitudeControl: ensure the rate and attitude controllers can't interfere with the target at the same time 2024-09-26 19:25:33 +10:00
Andy Piper c28e38e9b5 AC_AttitudeControl: pass in gyro sample to rate controller 2024-09-26 19:25:33 +10:00
Peter Barker b480416c3d AC_AttitudeControl: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 4663382b01 AC_AttitudeControl: use AC_PID defaults to tidy heli rate PID initialisation
makes it look like the Copter initialisation - ie. legible
2024-09-24 11:43:20 +10:00
Peter Barker 6a74a97bf7 AC_AttitudeControl: use AC_PID defaults to tidy rate Sub PID initialisation
makes it look like multi ie. legible
2024-09-24 11:36:38 +10:00
Andy Piper 71e2b756af AC_AttitudeControl: introduce ANG log message for high resolution attitude logging
Move RATE message to AC_AttitudeControl_Logging.cpp
2024-09-17 10:12:35 +10:00
Leonard Hall ea226637c9 AC_AttitudeControl: Vector3f multiplication clean up 2024-09-17 09:59:55 +10:00
Leonard Hall 5e27e3111d AC_AttitudeControl: Fix dt update order 2024-09-17 09:59:55 +10:00
Andy Piper bb2249f766 AC_AttitudeControl: record latest gyro value and time used for logging
move Write_Rate() to AC_AttitudeControl
move RATE log structure to AC_AttitudeControl
2024-09-10 16:33:04 +01:00
Tatsuya Yamaguchi 62e3c6a6a9 AC_AttitudeControl: update comment to reflect the current logic in is_active_xy() 2024-08-23 07:14:50 +10:00
Peter Barker fae3b39b15 AC_AttitudeControl: rename pid setters to include set_ in the names 2024-07-31 18:43:42 +10:00
Leonard Hall 2ab3d0b3b0 AC_AttitudeControl: Add Landed Gain Backoff 2024-07-25 09:50:35 +10:00
bnsgeyer c4f4067fd5 AC_AttitudeControl: add accessors to set rate limit 2024-07-01 22:57:55 -04:00
Bill Geyer c5585f84af AC_AttitudeControl: various suggested cleanup items
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-07-02 08:39:33 +09:00
Bill Geyer 805480e5a2 AC_AttitudeControl: only allow angle boost when not autorotating 2024-07-02 08:39:33 +09:00
bnsgeyer f06bbd471f AC_AttitudeControl: tradheli-add support for inverted and throttle boost features 2024-07-02 08:39:33 +09:00
Leonard Hall 7047e11090 AC_AttitudeControl: Change input_quaternion to use body frame rates 2024-06-26 11:22:54 +10:00
bnsgeyer 8a42a29ef7 AC_AttitudeControl: add comments for system ID disturbance input code 2024-05-14 23:16:52 -04:00
bnsgeyer c2e99dc50e AC_AttitudeControl: implement suggested changes 2024-05-14 23:16:52 -04:00
bnsgeyer 84e52378cf AC_PosControl: add support for sysid of vel and pos loops 2024-05-14 23:16:52 -04:00
Iampete1 f3c32a7c9e AC_AttitudeControl: move `euler_rate_to_ang_vel`, `ang_vel_to_euler_rate` and `euler_accel_limit` to Quaternion attitude 2024-05-07 08:34:40 +09:00
Tatsuya Yamaguchi 26ec2ae952 AC_AttitudeControl: fix ATC_SLEW_YAW description (NFC) 2024-04-17 22:18:51 +10:00
Randy Mackay 1eb2a3009d AC_PosControl: always update yaw targets 2024-03-25 11:03:25 +09:00
bnsgeyer d103eebf91 AC_AttitudeControl: Tradheli- fix inverted mode collective handling 2024-03-05 10:24:06 +09:00
Iampete1 576ee75669 AC_AttitudeControl: Heli: invert throttle in inverted flight, move state down to heli 2024-03-05 10:24:06 +09:00
Peter Barker 8ce6964948 AC_AttitudeControl: make logging methods public/static so Blimp can use them 2024-02-29 19:27:47 +11:00
Peter Barker 3165ec694c AC_AttitudeControl: move logging of PSC messages into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
lthall 728d9a9f96 Copter: AC_AttitudeControl: RP_FILT_HZ to RPY_FILT_HZ 2024-02-24 08:45:35 +09:00
Andy Piper 5b2d760365 AC_AttitudeControl: ensure yaw gets a FLTD default 2024-02-24 08:45:35 +09:00
Iampete1 6c4c7a2130 AC_AttitudeControl: fix reset_target_and_rate method 2024-02-19 09:15:58 +09:00
Peter Barker 2359ffc7da AC_AttitudeControl: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 4853ba632f AC_AttitudeControl: Spell correction 2024-01-17 08:40:15 +09:00
Peter Barker dcebd072be AC_AttitudeControl: correct compilation when GCS library not available 2023-12-12 11:41:47 +11:00
Andy Piper b7a969d462 AC_AttitudeControl: update for new AC_PID settings
enable filters with AP_FILTER_ENABLED
2023-11-21 13:26:23 +11:00
Andy Piper d6287e90f1 AC_AttitudeControl: update PID notch centres
add documentation for PID notches and D feed-foward
add notches and D feedforward to heli PIDs
add advanced flag to PIDs and selectively compile advanced PID options
2023-11-21 13:26:23 +11:00
Mykhailo Kuznietsov 6c4d988631 AC_AttitudeControl: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Paul Riseborough 75789bd94d AC_PosControl: Add monitoring and reporting of forward accel saturation 2023-09-27 11:43:45 +10:00
Leonard Hall ac0244e430 AC_AttitudeControl: Support PD Max 2023-09-26 10:41:05 +10:00