Commit Graph

63864 Commits

Author SHA1 Message Date
bugobliterator 4260acb21a waf: use debug option 3 which records defines as well 2024-07-05 14:16:27 +10:00
bugobliterator 2363e972bc AP_Bootloader: fix return check for otg2 serial deadline 2024-07-05 14:16:27 +10:00
Peter Barker 6ce7e179d7 RC_Channel: produce error if feature compiled out and aux func initialised 2024-07-04 19:41:07 +10:00
Peter Barker ce48932f4d AP_NavEKF3: remove storedRange member variable if rangefinder measurements disabled 2024-07-04 19:21:44 +10:00
Peter Barker 3dff46b2b2 AC_AutoTune: remove unused variables 2024-07-04 13:19:12 +10:00
Peter Barker 35bdadb8ec AC_AutoTune: adjust variable names to include _cd postfix 2024-07-04 13:19:12 +10:00
Vincent Poon fba47e641d Update Pixhawk6C hwdef.dat
Fix https://github.com/ArduPilot/ardupilot/issues/25840

The overcurrent detection of the HIPOWER current limiting chip is connected to PC11 on the Pixhawk 6C.
2024-07-04 06:37:58 +10:00
bnsgeyer a3463235f4 Copter: add comment for make_safe_ground_handling 2024-07-03 08:29:19 -04:00
bnsgeyer 0647444ee3 Copter: make safe spool down for tradheli in autotune mode 2024-07-03 08:29:19 -04:00
George Zogopoulos 61c910b08b AP_Scripting: Added script for Quad-X CoM compensation
The script uses the scripting matrix to produce non-equal
front and back thrust, compensating for the lever arm between the center
of thrust and the center of mass.
2024-07-03 18:44:36 +10:00
George Zogopoulos 2cd5413b0d SITL: Documented SIM_WIND_DIR_Z 2024-07-03 18:13:11 +10:00
Willian Galvani cb74ebbddd EKF3: allow earth-frame fields to be estimated with an origin but no GPS 2024-07-03 16:49:27 +10:00
Andy Piper fb3335378c Tracker: 4.5.5-beta1 release notes 2024-07-03 12:05:09 +09:00
Andy Piper 0357faa46c Rover: 4.5.5-beta1 release notes 2024-07-03 12:05:06 +09:00
Andy Piper 50e98fcbdf Copter: 4.5.5-beta1 release notes 2024-07-03 12:05:04 +09:00
Andy Piper ebe7633178 Plane: 4.5.5-beta1 release notes 2024-07-03 13:03:45 +10:00
bnsgeyer 5fa2fcfa56 AC_AutoTune: return freqresp ring buffers to original implementation 2024-07-01 22:57:55 -04:00
bnsgeyer 475663e199 AC_AutoTune: use ring buffer only for dwells 2024-07-01 22:57:55 -04:00
bnsgeyer bb6c52d508 AC_AutoTune: remove deletion of ring buffers 2024-07-01 22:57:55 -04:00
bnsgeyer f50bb54112 AC_AutoTune: more suggested changes 2024-07-01 22:57:55 -04:00
bnsgeyer 088b7ec094 AC_AutoTune: incorporate suggested changes 2024-07-01 22:57:55 -04:00
Bill Geyer 41ed4d1321 AC_AutoTune: use new new macro
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-07-01 22:57:55 -04:00
Bill Geyer b03203c612 Tools: heli autotune autotest save gains and add tune check 2024-07-01 22:57:55 -04:00
bnsgeyer b1b4ddea94 Tools: update heli autotune autotest 2024-07-01 22:57:55 -04:00
bnsgeyer c4f4067fd5 AC_AttitudeControl: add accessors to set rate limit 2024-07-01 22:57:55 -04:00
bnsgeyer b13efc86af AC_AutoTune: use attitude controller to enforce rate and accel limits 2024-07-01 22:57:55 -04:00
bnsgeyer ad1b01cd56 AC_AutoTune: improve RFF dwell test and data processing 2024-07-01 22:57:55 -04:00
Bill Geyer 30c2e1f53b AC_AutoTune: general cleanup and protect against freq exceedences 2024-07-01 22:57:55 -04:00
bnsgeyer cc7e43d643 AC_AutoTune: max gain, rate p and d tuning use common search method 2024-07-01 22:57:55 -04:00
bnsgeyer cf50aa1321 AC_AutoTune: trad heli variable cleanup 2024-07-01 22:57:55 -04:00
bnsgeyer ad58f3e1f8 AC_AutoTune: reworked updating max gains 2024-07-01 22:57:55 -04:00
bnsgeyer 989f48f97a AC_AutoTune: reworked updating angle p up 2024-07-01 22:57:55 -04:00
bnsgeyer cd18607f25 AC_AutoTune: reworked updating rate p and d up 2024-07-01 22:57:55 -04:00
bnsgeyer 61182c0e96 AC_AutoTune: reworked dwell_test and updating ff up 2024-07-01 22:57:55 -04:00
bnsgeyer 2339c7daed AC_AutoTune: moved more into dwell_test_init 2024-07-01 22:57:55 -04:00
bnsgeyer 7ff99a39f0 AC_AutoTune: fix tests to work better 2024-07-01 22:57:55 -04:00
bnsgeyer 3943a69b33 AC_AutoTune: fix object buffers to dynamically size 2024-07-01 22:57:55 -04:00
bnsgeyer 528b7eb438 AC_AutoTune: general cleanup to make code more efficient 2024-07-01 22:57:55 -04:00
bnsgeyer 9e4d118cc9 AC_AutoTune: remove sweep for Rate D up 2024-07-01 22:57:55 -04:00
bnsgeyer 32af6216b7 AC_Autotune: tradheli use dwell for FF test 2024-07-01 22:57:55 -04:00
bnsgeyer dd1f0cdcf7 AC_AutoTune: make rate freq sweeps safer 2024-07-01 22:57:55 -04:00
Henry Wurzburg 48e27c382a AP_RSSI: make metadata more consistent 2024-07-02 11:34:29 +10:00
Henry Wurzburg f087e9d25d AP_RangeFinder: make metadata more consistent 2024-07-02 11:34:29 +10:00
Henry Wurzburg a03ccd1a8a AP_BattMonitor: make metadata more consistent 2024-07-02 11:34:29 +10:00
Henry Wurzburg 59db5de78c AP_Airspeed: make metadata more consistent 2024-07-02 11:34:29 +10:00
Thomas Watson 717c5ff863 AP_Scripting: ignore hidden Lua files
On macOS, sometimes ._script.lua is created to store metadata when the
user copies script.lua over to their SD card. Previously, the scripting
engine would barf since the file is not Lua. Now, these files are
ignored.

Also avoids a case where a hidden and valid script might be loaded
without the user's knowledge.
2024-07-02 11:07:40 +10:00
Peter Barker e2ef47b221 autotest: break out a run_replay method 2024-07-02 11:05:40 +10:00
Peter Barker eb539f2c4a autotest: allow message hooks to be instances of a MessageHook class
allows state to be encapsulated within the object rather than simply in the same scope / closure of the method being called.

Will allow easier re-use of these blocks
2024-07-02 11:05:40 +10:00
Peter Barker 0c7a527ad3 autotest: add test infrastructure for installing lua modules 2024-07-02 11:05:40 +10:00
Peter Barker 3a23cf7144 autotest: add option to ingore RTL mode change during in auto mode
Plane emits a heartbeat with RTL in it when doing a DO_LAND_START
2024-07-02 11:05:40 +10:00