Commit Graph

8786 Commits

Author SHA1 Message Date
Peter Barker 3c2f7944eb autotest: test SBP2 as part of GPSTypes check 2024-06-11 09:29:14 +10:00
Peter Barker 7cf96fb0a1 autotest: add a lineno method
allows for debug like this:

print(f"{self.lineno()} {self.mav.message_hooks=}")
2024-06-10 07:04:40 +10:00
Peter Barker 2a964c44d4 autotest: copy message hooks while iterating over them for removal
won't remove a number of entries from the end of the list if others have been removed
2024-06-10 07:04:40 +10:00
Paul Riseborough 5c76e77c11 autotest: Reduce time threshold used in plane deadreckoning test 2024-06-09 14:25:02 +10:00
Andrew Tridgell 09623f46e8 autotest: enable LOG_REPLAY in deadreckoning test 2024-06-09 14:25:02 +10:00
Paul Riseborough b17e189473 Tools: update AHRS_OPTIONS for dead reckoning test 2024-06-09 14:25:02 +10:00
Paul Riseborough 19f6b2d6d6 Tools: relax req accuracy for plane dead reckoning when not using airspeed 2024-06-09 14:25:02 +10:00
Paul Riseborough 9d2b05840b Tools: Disable DCM fallback for plane dead reckoning tests 2024-06-09 14:25:02 +10:00
Paul Riseborough 87a867ee2e Tools: Use GPS jamming option in EKF dead reckoning autotests 2024-06-09 14:25:02 +10:00
Paul Riseborough 8639543cdd Tools: Allow dead reckoning test longer to learn wind if no aspd sensor 2024-06-09 14:25:02 +10:00
Paul Riseborough 2b027a7265 Tools: re-work copter and plane loss of GPS auto tests
Explicitly test time taken to reset to GPS loss and regain of lock for copter without and plane with dead reckoning assistance.
2024-06-09 14:25:02 +10:00
Peter Barker 3ede599cfd autotest: clarify AutoTuneSwitch test 2024-06-09 09:53:08 +10:00
Peter Barker 2c3594b8ff autotest: revert SIM_SPEEDUP for RTL in follow test 2024-06-09 09:09:31 +10:00
Peter Barker 56a865147d autotest: ModeFollow: correct relative altitude being fed to autopilot 2024-06-09 09:09:00 +10:00
Peter Barker eaf5767bfa autotest: simplify AC_Avoidance_Proximity test
take advantage of new infrastructure
2024-06-09 09:08:29 +10:00
George Zogopoulos 396865223f autotest: Removed unnecessary parameter whitelist item 2024-06-05 19:03:31 +10:00
Tom Pittenger ad006de914 locations: add Madera and Peg 2024-06-04 09:22:53 -06:00
xue 66138aed0f Tools: reserve IDs for ZeroOne 2024-06-04 23:02:06 +10:00
Iampete1 364419be81 AP_Scripting: docs: allow overload of manual bindings to allow documentation of optional arguments 2024-06-04 09:29:49 +10:00
Iampete1 c5cdc46fb7 Tools: scripts: run_lua_language_check.py: allow running on a single file and error is no files are checked 2024-06-04 09:29:49 +10:00
Andrew Tridgell 90ab6adebc CI: added test for new without NEW_NOTHROW 2024-06-04 09:20:21 +10:00
Andrew Tridgell 93f1bb576b waf: added --enable-new-checking option
this allows CI to check for violations of new, calling without
NEW_NOTHROW
2024-06-04 09:20:21 +10:00
Andrew Tridgell 4a5ca0114b AP_Booloader: link in AP_Common
to get new overrides
2024-06-04 09:20:21 +10:00
Andrew Tridgell 1ad0c069ae waf: fixed cygwin build 2024-06-04 09:20:21 +10:00
Andrew Tridgell aff9175328 waf: moved elf symbol checking to ardupilotwaf
not chibios specific
2024-06-04 09:20:21 +10:00
Andrew Tridgell 94841dd608 Tools: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Andrew Tridgell 07b5ffcc58 waf: removed -fcheck-new and added link checks
check for use of new without std::nothrow
2024-06-04 09:20:21 +10:00
Peter Barker f9a22458e2 autotest: disable autotest for MAV_CMD_NAV_SET_YAW_SPEED 2024-06-03 09:47:57 +10:00
Andy Piper eb8eeba851 IO_Firmware: fix bdshot DMA channel reset 2024-06-02 10:54:14 +10:00
Ethan Nguyen 2082ecbedd Tools: (autotest) add UCSB location.txt 2024-05-31 17:20:52 -07:00
Michael du Breuil 15bb86ded9 Tools: Do not emit __field_text in JSON parameter documentation
__field_text is basically the raw parsed text, and is used internally
but as far as I can tell it was never meant for external usage, the JSON
emitter already removes other fields that were not intended to be there.
By including the __field_text entry we were doubling the size of the
emitted documentation
2024-05-31 13:33:24 +10:00
Peter Barker c6a239ef63 autotest: correct Valgrind error detection 2024-05-31 13:23:03 +10:00
Peter Barker ac7629c546 autotest: fold close method into sole caller
we're missing the non-zero-valgrind-logs-means-failure check somehow
2024-05-31 13:23:03 +10:00
Rhys Mainwaring 296cdc58a3 Tools: ros2: remove dds_xrce_profile.xml
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-29 17:47:52 +10:00
Peter Barker bdb84ed244 autotest: add test for Guided WeatherVane behaviour 2024-05-29 13:11:58 +10:00
Andrew Tridgell 8f9bf6793b Tools: fixed language checker invocation 2024-05-29 12:56:43 +10:00
Alex Burka dcf41cfe81 docker: fix docker detection in install-prereqs-ubuntu.sh
The standard "are we in docker" checks don't seem to work during a
build, so just use an environment variable.
2024-05-29 08:31:11 +09:00
Peter Barker 5fe4fec6ab autotest.py: remove unused frame parameter 2024-05-28 17:39:08 +10:00
Peter Barker 720c8719dc waf: boards.py: use chibios_hwdef.py to get boards list 2024-05-28 10:25:39 +10:00
Iampete1 061d610965 Tools: Scripts: run_lua_language_check: give hint about github-release-downloader 2024-05-28 10:04:15 +10:00
rotorman 23714969da Tools: adds Flywoo/Goku F405 HD 1-2S ELRS AIO v2 flight controller support
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-05-28 09:57:14 +10:00
Thomas Watson 0956b4f65d AP_HAL_SITL: remove deprecated --uartX options
Code remains to check for use of these options and give an error which
contains the correct option to use, due to the non-intuitive mapping
between --uartX and --serialN.

A future version will remove that code too.
2024-05-28 09:23:39 +10:00
Thomas Watson 3d4490b339 Tools/ros2: remove forwarding of deprecated --uartX options 2024-05-28 09:23:39 +10:00
Andy Piper 60493fd11c scripts: add iomcu-f103-8MHz-dshot to size_copmare_branches.py 2024-05-28 06:56:14 +10:00
burgeruser 1c64682602 IO_Firmware: bi-directional dshot on iomcu F103 8MHz 2024-05-28 06:56:14 +10:00
robsenseuser a1971bb5b7 board_types.txt: add Phenix board IDs
Reserve board IDs for Robsense PhenixProH7 Boards
2024-05-27 13:55:00 +10:00
Ryan Friedman 8a58affe24 Tools: ros2: Fix plane launch headless
* Install models for other users
* Fix bool parsing in some launch args
2024-05-25 12:04:05 +10:00
Bob Long ead48b6737 Tools: fix handling of include files for Periph
This fix scans all the include files in a hwdef, not just one on the
first line.
2024-05-24 10:40:46 +10:00
Peter Barker ee7e8661ed autotest: add test for EK3_OGN_HGT_MASK bug 2024-05-23 10:35:51 +10:00
Peter Barker 7194c6e72e Tools: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00