Commit Graph

63864 Commits

Author SHA1 Message Date
Peter Barker 99fb5a994e AC_WPNav: correct calculation of predict-accel when zeroing pilot desired accel 2024-07-09 10:52:14 +10:00
Peter Barker 11e49c5528 autotest: add test for entering loiter after auto in RC failsafe 2024-07-09 10:52:14 +10:00
Peter Barker c8a20726ff AP_NavEKF3: do not store prediction-enabled as state
this is only used in one place, and that place is called from the same routine setting the persistent state.  The only other place which calls readIMUData shouldn't be running the prediction step, but mmay, depending on the previous setting of the prediction step.

We are not initialising this state on filter reset, so it's possible that the state will be set when we do an InitialiseFilterBootstrap, which is probably not desired
2024-07-09 10:45:03 +10:00
Peter Barker a110c9c39f autotest: add tests for onboard file log validity 2024-07-09 10:40:08 +10:00
Peter Barker 3208491983 AP_Logger: remove twin paths for writing FMT messages
This stops us tracking formats-written in two places.

The Write() method will now emit formats as required and set the relevant bit in the backend-owned bitmask of formats sent.
2024-07-09 10:40:08 +10:00
Willian Galvani 64e859ecc5 AP_Compass: warn user if fix_radius() is skipped 2024-07-09 10:13:34 +10:00
Willian Galvani 325d6f6c94 AP_Compass: use ahrs for location instead of GPS directly for calibration 2024-07-09 10:13:34 +10:00
Peter Barker df0b4cdf6d AP_HAL_ChibiOS: chibios_hwdef.py: correct flake8 issues 2024-07-09 10:13:00 +10:00
Oleksiy Protas 6d27f69c96 GCS_MAVLink: correct a debugging message
Probably changed from a pointer to reference at some point and forgot to update a normally disabled block
2024-07-09 10:10:52 +10:00
Andy Piper 58b87f8b42 AP_Bootloader: iFlight 2RAWH743 2024-07-09 09:43:38 +10:00
Andy Piper aa47c8895f bootloaders: iFlight 2RAWH743 2024-07-09 09:43:38 +10:00
Andy Piper 1b5febe046 AP_HAL_ChibiOS: iFlight 2RAWH743 2024-07-09 09:43:38 +10:00
Randy Mackay b6c5ad450d AP_Common: char_to_hex returns 0 on invalid char 2024-07-09 09:08:51 +10:00
Randy Mackay dd927e1542 Tools: add build option for Topotek mount 2024-07-09 09:08:51 +10:00
laozhou 611fb94660 AP_Mount: integrate topotek gimbal driver
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-09 09:08:51 +10:00
laozhou d5d1b9885c AP_Mount: add topotek backend
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-07-09 09:08:51 +10:00
HiRCBro 8e28e6ab26 Tools: longBowF405WING 2024-07-09 09:05:27 +10:00
HiRCBro 8c58334173 AP_HAL_ChibiOS: longBowF405WING 2024-07-09 09:05:27 +10:00
Peter Barker 933aed5f91 AP_Scripting: add missing scheduler include
corrects compilation of cubeorange-periph-heavy
2024-07-09 07:40:03 +10:00
Peter Barker 91b2d0dcdf autotest: fix race condition in DataFlashOverMAVLink test
we're running at large speedups; 5 simulated seconds might not be enough time for MAVProxy to accumulate statistics.  So get MAVProxy to emit the rate each second instead
2024-07-08 23:20:41 +10:00
Peter Barker 3ca15b23b9 autotest: param_metadata: add jerk as a known unit 2024-07-08 23:04:12 +10:00
cuav-chen2 f906fffff7 hwdef: fixed pin definition for C-RTK2-HP 2024-07-08 22:10:27 +10:00
Peter Barker 96a78456bf autotest: reboot after reverting rangefinder settings
Co-authored-by: Thomas Watson <twatson52@icloud.com>

Thomas noted that tests prior to RngFndQuality were leaving a LUA rangefinder hanging around in https://github.com/ArduPilot/ardupilot/pull/27484

Thomas' patch fixes RngFndQuality to only collect context messages after a reboot, which will fix the problem.

But tests should *not* leave the vehicle in this state, so this patch fixes that.
2024-07-08 14:36:10 +10:00
Peter Barker c986d93894 Copter: remove unused #if around rangefinder
the contents of this entire file are removed when AP_RANGEFINDER_ENABLED is false
2024-07-08 10:38:17 +10:00
Ryoichi d352153a52 Tools: add name to GIT_Success.txt 2024-07-08 08:42:50 +09:00
Andrew Tridgell 8be0a64155 waf: don't mark esp32 as CYGWIN_BUILD 2024-07-07 07:11:59 +10:00
Andrew Tridgell 039367e340 Tools: wrap _malloc_r on cygwin
fixes dual allocation heap bug
See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
2024-07-07 07:11:59 +10:00
Andrew Tridgell db19bce1d2 AP_Common: wrap _malloc_r on cygwin
fixes dual allocation heap bug
See https://cygwin.com/pipermail/cygwin/2000-July/038916.html
2024-07-07 07:11:59 +10:00
kelek-juta 9c8175994e Tools: add name to GIT_Success.txt 2024-07-06 14:21:03 +09:00
kaw803 7b1e23b07a Tools: add name to GIT_Success.txt 2024-07-06 14:19:21 +09:00
k-kabuto c43abc4a7b Tools: add name to GIT_Success.txt 2024-07-06 14:17:32 +09:00
hdxgito 2e361c0506 Tools: add name to GitSuccess 2024-07-06 14:15:55 +09:00
sichimur 842b01af9c Tools: add name to GIT_Success.txt 2024-07-06 14:13:40 +09:00
YasuhiroSetoguchi 73574c462b Tools: add name toGIT_Success.txt 2024-07-06 14:07:52 +09:00
stohiro b457ba0a8d Tools: Update GIT_Success.txt 2024-07-06 14:05:35 +09:00
UeVillage 80e7cb8cb7 Tools: Add name in GIT_Success.txt 2024-07-06 14:03:19 +09:00
Hideyuki Fujikawa 2409b23327 Tools: add name to GIT_Success.txt 2024-07-06 14:01:14 +09:00
masahiro suzuki b8a63a1a5c Tools: add name to GitSuccess 2024-07-06 13:58:18 +09:00
Waravie b3b4141586 Tools: add name to Tools/GIT_Test/GIT_Success.txt 2024-07-06 13:55:22 +09:00
HiroshiKaneda-gif cd999129da Tools: add name to GIT_Success.txt 2024-07-06 13:17:36 +09:00
Andrew Tridgell 842a4f507b AP_Scripting: added NMEA 2000 EFI driver
this has been tested on a marine engine, and correctly produces key
telemetry data

the NMEA_2000.lua module is broken out to make it easier to add other
NMEA 2000 based drivers
2024-07-06 07:19:25 +10:00
Peter Barker 9090420db0 SITL: remove duplicated crc code
same as one we already have
2024-07-05 23:02:18 +10:00
Peter Barker c1c3580f8b AP_Logger: remove unused _log_file_size_bytes variable
AP_Logger: comment corection
2024-07-05 21:42:21 +10:00
BLash 0e4124060c SITL: VectorNav: Add support for sensors outside VN-100 and VN-300
Includes naming changes to match new broadened usage
2024-07-05 21:41:22 +10:00
BLash 271f08fc03 AP_ExternalAHRS: VectorNav: Add support for sensors outside VN-100 and VN-300
Includes naming changes to match new broadened usage
2024-07-05 21:41:22 +10:00
Peter Barker 1916490ae6 AC_Sprayer: create and use an AP_Sprayer_config.h 2024-07-05 14:27:45 +10:00
bugobliterator 452df9022b .github: add debug build test for macos 2024-07-05 14:16:27 +10:00
bugobliterator bf2ccec4d7 bootloaders: update Cube with dual core mcu bootloaders 2024-07-05 14:16:27 +10:00
bugobliterator b93c9256c7 AP_HAL_ChibiOS:hwdef/common: disable second core on dual core MCUs 2024-07-05 14:16:27 +10:00
bugobliterator c8fe71b6b0 AP_HAL_ChibiOS: use debug option 3 which includes defines as well 2024-07-05 14:16:27 +10:00