Commit Graph

356 Commits

Author SHA1 Message Date
Peter Barker
b3c1cd1a5e APM_Control: add missing include for AP::ins() 2024-09-06 08:52:01 +10:00
Peter Barker
4e623bd384 APM_Control: avoid use of AP_Logger.h in library headers
this pulls in many more headers, we should avoid using it whereever we can
2024-09-04 09:51:49 +10:00
Iampete1
5cc63d7e6f APM_Control: move to new constant dt low pass filter class 2024-08-20 09:09:41 +10:00
Andrew Tridgell
ad6502c9f1 APM_Control: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker
1e0c56b5b9 APM_Control: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Peter Barker
d0cc35af3e AR_PosControl: adjust for logging having moved into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
Andrew Tridgell
0430923639 APM_Control: change LIM_ROLL_CD to ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
93c4b75a60 APM_Control: convert LIM_PITCH_MIN/MAX -> PTCH_LIM_MIN/MAX_DEG 2024-01-23 15:00:30 +11:00
Peter Barker
f930c38712 APM_Control: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker
71a00dc733 APM_Control: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Randy Mackay
62dfe0f04b AR_PosControl: no min speed when stopping 2023-11-28 12:46:46 +09:00
Randy Mackay
2d89f835e5 AR_PosControl: fix PSC_VEL_I param range 2023-11-28 07:54:45 +09:00
Andrew Tridgell
69bfe9b837 APM_Control: added D_FF support for fixed wing 2023-11-21 13:26:23 +11:00
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
Michael du Breuil
f1b6a7d586 APM_Control: Allow autotune level 0 to actually reach the lowest entries of the autotune level table 2023-10-31 11:42:27 +11:00
Leonard Hall
029950ef05 APM_Control: Support PD Max 2023-09-26 10:41:05 +10:00
Andy Piper
ab24f97275 APM_Control: implement single-cycle feed-forward scaler for roll and pitch 2023-09-13 18:02:44 +10:00
Andy Piper
ee883b6ad0 APM_Control: allow autotune FLTD and FLTT updates to be disabled 2023-08-23 18:06:22 +10:00
Randy Mackay
57b54a4263 AR_PosControl: add singleton and get_srate 2023-08-01 09:16:17 +10:00
Randy Mackay
68e1769cc1 AR_AttitudeControl: add singleton and get_srate 2023-08-01 09:16:17 +10:00
Randy Mackay
9c15dcb206 AR_PosControl: limit and zero velocity I-term
zero in forward-back direction
limit in lateral direction
2023-07-05 20:27:54 +09:00
Randy Mackay
6f52eaf9a7 AR_AttitudeContol: add steering_limited checks 2023-07-05 20:27:54 +09:00
Randy Mackay
385e828fdd AR_PosControl: add input_pos_vel_accel target 2023-05-30 10:17:13 +10:00
Iampete1
c99c17f1ce AMP_Control: Roll and Pitch Controller: don't reset pid_info.I in reset_I calls 2023-01-17 11:19:39 +11:00
Leonard Hall
2f2143ca6f AP_Control: Support changing update period 2022-12-13 17:10:06 +11:00
Henry Wurzburg
2d4d915b45 APM_Control: generalize pid descriptions 2022-11-22 10:55:45 +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
Peter Barker
7f202b8a0e APM_Control: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Peter Barker
326789f0ed APM_Control: remove unused methods 2022-11-01 10:58:27 +11:00
Andrew Tridgell
01d006ebd1 APM_Control: added access to time constant 2022-10-18 07:38:39 +11:00
jackhong12
4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
MatthewHampsey
822c26f811 APM_Control: fixed yaw PID reset 2022-09-22 05:55:15 +10:00
Iampete1
ad32d277ff APM_Control: YawController: add enabled method 2022-09-20 11:21:54 +10:00
Iampete1
c6e0ba7360 APM_Control: SteerController: add active method 2022-09-20 11:21:54 +10:00
Shiv Tyagi
7d3f013695 AR_PosControl: add accessor for reversed 2022-09-06 11:23:51 +09:00
Andrew Tridgell
9a453bfc82 APM_Control: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Iampete1
6875ef17a0 APM_Control: params always use set method 2022-08-03 13:43:48 +01:00
Henry Wurzburg
dcde718f20 AP_Control: change I determination for Roll axis 2022-07-26 09:40:02 +10:00
esaldiran
545cf0504a APM_Control: AP_YawController: update pid_info with integrator reset for logging purposes 2022-07-19 11:40:03 +01:00
Andrew Tridgell
aafec1fbe7 APM_Control: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Peter Barker
73c6eabde2 APM_Control: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker
dd589934cc APM_Control: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Randy Mackay
c233f114bd AR_PosControl: fixup logging to record desired and target velocity and acceleration 2022-03-30 15:34:14 +09:00
Randy Mackay
74df1c0b22 AR_PosControl: reduce default I term to zero 2022-03-30 15:34:14 +09:00
Randy Mackay
abc7bd446a AR_PosControl: rover position controller 2022-03-30 15:34:14 +09:00
murata
bb72f91dda APM_Control: Change from division to multiplication 2022-03-16 18:41:52 +11:00
xianglunkai
2e5c201222 AR_AttitudeControl: use _desired_speed instead of desired_speed for throttle-speed controller 2022-03-04 17:51:19 +11:00