Commit Graph

758 Commits

Author SHA1 Message Date
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
Andy Piper 31a2acb7ad AC_AttitudeControl: rename get_angle_P_scale_logging() 2023-09-13 18:02:44 +10:00
Leonard Hall ffc553f34f AC_AttitudeControl: Fix yaw limit calculations 2023-09-12 19:14:01 +10:00
Randy Mackay ed7ca580c2 AC_AttitudeControl: add const get_rate_pid accessors 2023-09-12 19:14:01 +10:00
Peter Barker 70109f968c AC_AttitudeControl: tidy AC_PID construction 2023-08-31 11:09:10 +10:00
Peter Barker b06921fbac AC_AttitudeControl: remove unused defines 2023-08-30 12:30:25 +10:00
Iampete1 b4cd3a4d26 AC_AttitudeControl: Heli: move integrate_bf_rate_error_to_angle_errors to private 2023-08-01 09:14:46 +09:00
Iampete1 6ece7ffb2e AC_AttitudeControl: Heli: remove unused flags 2023-08-01 09:14:46 +09:00
Rakesh Vivekanandan cacbb23c0b Sub: AC_AttitudeControl_Sub: Helper function to ensure that the vehicle reaches the target orientation with the desired yaw rate. 2023-07-27 14:29:10 -03:00
Peter Barker 615bf8e5ee AC_AttitudeControl: allow AP_SCRIPTING_ENABLED to come from hwdef files 2023-06-09 16:10:52 +10:00
Peter Barker f1eec8482b AC_AttitudeControl: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Mirko Denecke d958ce384f AC_AttitudeControl: fix get_vel_target_z_cms description 2023-04-10 09:15:57 +10:00
Henry Wurzburg 762e709f73 AC_Attitude:add TKOFF/LAND only weathervane option 2023-03-01 09:51:36 +11:00
Andy Piper 8ecd1d9a37 AC_AttitudeControl: move THR_G_BOOST to Multicopter only
refactor PD and Angle P boosting into update_throttle_gain_boost()
call update_throttle_gain_boost() from rate_controller_run()
2023-01-31 08:22:40 +09:00
Andrew Tridgell 64d03555af AC_AttitudeControl: use ticks32() for is_active tests
this avoids problems with very uneven timing
2023-01-29 15:28:43 +11:00
Iampete1 46e560f3f6 AC_AttitudeControl: CommandModel: use new defualt pattern 2023-01-24 10:16:56 +11:00
Andy Piper 53b7f96a5d AC_AttitudeControl: boost PD on roll and pitch when slew limit is hit
boost angle P when slew limit is hit
move to a single parameter for thrust-gain boosting
add PD scaling support
2023-01-11 18:59:52 +11:00
Randy Mackay 5981e8bbaa AC_AttitudeControl: add get_rate_ef_targets accessor 2023-01-09 10:34:34 +09:00
Andrew Tridgell 3d5ef88c43 AC_AttitudeControl: fixed time wrap bug in is_active_xy()
this failed at 70 minutes
2023-01-08 16:02:42 +11:00
Leonard Hall 140dc61f2a AC_AttitudeControl: AC_PosControl: Simplify and clarify use of vertical controllers 2022-12-30 20:25:58 +09:00
Leonard Hall 05aa879b61 AC_AttitudeControl: AC_PosControl: Comment fix and small efficiency gain 2022-12-30 20:25:58 +09:00
Leonard Hall 78942911b7 AC_AttitudeControl: AC_PosControl: Include FF in _pid_vel_xy integrator initialisation 2022-12-28 08:25:31 +09:00
Leonard Hall 3c69d28237 AC_AttitudeControl: Support changing update period 2022-12-13 17:10:06 +11:00
Henry Wurzburg b9452e58b7 AC_AttitudeControl: generalize pid descriptions 2022-11-22 10:55:45 +11:00
Peter Barker 48d25cfc9f AC_AttitudeControl: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Leonard Hall aed694316d AC_AttitudeControl: input_thrust_vector with general heading 2022-11-01 08:21:50 +09:00
Iampete1 14a786bdfa AC_AttitudeControl: remove duplicate `_attitude_target.normalize()` 2022-10-18 08:30:46 +11:00
Andrew Tridgell bd1be3b41c AC_AttitudeControl: added single loop override of angle P gains
this is used by quadplanes in back-transiton to prevent oscillation
caused by driving the fixed wing controller too fast
2022-10-18 07:38:39 +11:00
Willian Galvani e1ec24f25d Sub: remove angle_boost logic
Most subs are neutrally buoyant, which means this code makes more harm than it is actually useful
2022-09-15 11:07:59 -03:00
Leonard Hall f3cd5a9a38 AC_PosControl: Fix slow target decay decay problem 2022-09-02 09:02:46 +09:00
Leonard Hall 4a12faea92 AC_PosControl: Make get_z_accel_cmss public 2022-08-31 19:19:04 -04:00
Andrew Tridgell 56bb13420d AC_AttitudeControl: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Henry Wurzburg 33ececf782 AC_AttitudeControl: correct metadata in libraries failing checks on emitter 2022-08-16 11:50:11 +10:00
Iampete1 07d96361ed AC_AttitudeControl: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 c87d46e24d AC_AttitudeControl: CommandModel: use set_and_default method 2022-07-20 17:59:59 +10:00
Iampete1 56c6233be9 AC_AttitudeControl: remove PosControl_Sub 2022-07-05 16:00:03 -03:00