Commit Graph

60357 Commits

Author SHA1 Message Date
Paul Riseborough acfb5ccc05 Tools: Add test for quadplane forward motor use and pitch limiting 2023-09-27 11:43:45 +10:00
Paul Riseborough 3866f2b4b5 Plane: Rework pitch limiting in QuadPlane::assign_tilt_to_fwd_thr
Don't unnecessarily increase the forward pitch limit when position control forward action is saturated.
2023-09-27 11:43:45 +10:00
Paul Riseborough acf8dbaeee Plane: Add diagnostics logging to QuadPlane::assign_tilt_to_fwd_thr 2023-09-27 11:43:45 +10:00
Paul Riseborough fa5aef050c Plane: Restructure throttle scaling and pitch limiting to enable logging 2023-09-27 11:43:45 +10:00
Paul Riseborough fb7c383946 Plane: Prevent quadplane.assign_tilt_to_fwd_thr() being called twice 2023-09-27 11:43:45 +10:00
Paul Riseborough c2d6db13ec Plane: explicitly type cast pitch limit 2023-09-27 11:43:45 +10:00
Paul Riseborough 90eacaeb88 Plane: fix centi-degree scaling bug 2023-09-27 11:43:45 +10:00
Paul Riseborough da595bbf88 Plane: Add protection for failed quadplane forward thrust motor 2023-09-27 11:43:45 +10:00
Paul Riseborough 75789bd94d AC_PosControl: Add monitoring and reporting of forward accel saturation 2023-09-27 11:43:45 +10:00
Andrew Tridgell e3ce7d966b Plane: fixes from review 2023-09-27 11:43:45 +10:00
Andrew Tridgell 573de2fc17 Plane: implement methods for aux switch control of vfwd code
and use a common function for the active method
2023-09-27 11:43:45 +10:00
Andrew Tridgell 936d6ed378 RC_Channel: added VFWD_THR_OVERRIDE 2023-09-27 11:43:45 +10:00
Andrew Tridgell 9c7c995185 AP_ICEngine: added ICE_DISABLED state 2023-09-27 11:43:45 +10:00
Paul Riseborough 4993dcb814 Plane: Remove duplicated parameter check 2023-09-27 11:43:45 +10:00
Paul Riseborough f834d4730b Plane: Add Q_FWD_THR_GAIN to table of transmitter tuning parameters 2023-09-27 11:43:45 +10:00
Paul Riseborough 6ad7588857 Plane: Add arming check for incompatible Q_VFWD_GAIN and Q_FWD_THR_USE 2023-09-27 11:43:45 +10:00
Paul Riseborough daea00168b Plane: Use Q_FWD_THR_USE parameter to control modes that use Q_FWD_THR_GAIN 2023-09-27 11:43:45 +10:00
Paul Riseborough ed91d428e1 Plane: Default Q_FWD_THR_GAIN to 0 and update meta data 2023-09-27 11:43:45 +10:00
Paul Riseborough 7bbd0ed74e Plane: prevent wind up of Q-mode velocity controller I term 2023-09-27 11:43:45 +10:00
Paul Riseborough b3a1807349 Plane: Fix use of q_fwd_nav_pitch_lim_cd class variable 2023-09-27 11:43:45 +10:00
Paul Riseborough 16895003df Plane: if statement cleanup in QuadPlane::assign_tilt_to_fwd_thr 2023-09-27 11:43:45 +10:00
Paul Riseborough 57cfe854b2 Plane: Add Q_FWD_THR_GAIN value arming check for tailsitters 2023-09-27 11:43:45 +10:00
Paul Riseborough 04e5f6b5f6 Plane: use forward tilt instead of forward throttle when close to ground 2023-09-27 11:43:45 +10:00
Paul Riseborough 8988de3c7c Plane: Allow non positive values of Q_FWD_PIT_LIM to be used 2023-09-27 11:43:45 +10:00
Paul Riseborough e866998b21 Plane: Rename q_fwd_tilt_lim to q_fwd_pitch_lim 2023-09-27 11:43:45 +10:00
Paul Riseborough c15bb3f1e3 Plane: remove code that can never run 2023-09-27 11:43:45 +10:00
Paul Riseborough 98220c7315 Plane: Handle reset of q_fwd_throttle in QuadPlane::mode_enter(void) 2023-09-27 11:43:45 +10:00
Paul Riseborough 2d3431a1ac Plane: Improve use of forward flight motors and tilting rotors in Q modes 2023-09-27 11:43:45 +10:00
Pierre Kancir 01f94e9aa5 AP_Logger: don't virtual out_of_time_for_writing_messages for DF
This save use some flash against the solution with override
2023-09-27 08:15:42 +10:00
Pierre Kancir 06836b947f AP_Logger: make some functions final 2023-09-27 08:15:42 +10:00
Pierre Kancir 2fff57708a RC_Channel: Remove static from get_override_mask and make const 2023-09-27 08:15:42 +10:00
Pierre Kancir 247a72b823 AP_Logger: fix warning for implicit overrided function 2023-09-27 08:15:42 +10:00
Clyde McQueen 5e8fed9d43 Sub: provide script access to joystick buttons 2023-09-27 08:14:36 +10:00
Clyde McQueen 924a391d55 AP_Scripting: add sub bindings for joystick buttons 2023-09-27 08:14:36 +10:00
Clyde McQueen 5e11ccaa32 AP_JSButton: reserve 4 button functions for script access 2023-09-27 08:14:36 +10:00
Buenobarbie 5748e7b840 AP_Scripting: New script example 2023-09-27 08:14:15 +10:00
Pierre Kancir 911a467e37 Rover: make Mode::Number enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir 3a11a1cf0d Rover: add mission Terminate action for fence breach 2023-09-27 08:12:23 +10:00
Pierre Kancir 0029457dc6 Rover: add missing Terminate action for Failsafe 2023-09-27 08:12:23 +10:00
Pierre Kancir 7dc0c567ce Rover: make Failsafe_Action enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir 499dd5ea5b Rover: make smartrtk substate enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir c7f3d0046d Rover: make Auto submode enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir f088f0df9e Rover: make guided submode enum class 2023-09-27 08:12:23 +10:00
muramura d36667c84a Copter: Change to ternary operator 2023-09-27 08:12:01 +10:00
daniel.li ec601684e6 AP_Baro: Fix GCS DPS310 HWID issue
DPS280/DPS310 use the same driver(AP_Baro_DPS280.cpp/h), but it is necessary to distinguish between the two.
2023-09-27 08:11:52 +10:00
Peter Barker 93da99bea2 Plane: adjust for a lack of DCM 2023-09-27 08:00:54 +10:00
Peter Barker 486ed2965e AP_AHRS: add AP_AHRS_DCM_ENABLED
preliminary commit to add the bulk of the changes which are not problematic
2023-09-27 08:00:54 +10:00
Peter Barker 34a508bfd8 AP_VisualOdom: visualodom requires DCM to work 2023-09-27 08:00:54 +10:00
Peter Barker eb05093f34 AP_Compass: compass calibration requires DCM 2023-09-27 08:00:54 +10:00
Randy Mackay 7a56d887b9 AP_Winch: Options param for init state and verbose output 2023-09-27 06:48:06 +09:00