Commit Graph

8832 Commits

Author SHA1 Message Date
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
Peter Barker
766d92faa6 autotest: add test for Copter behaviour in guided with force-arm 2024-05-22 17:10:12 +09:00
Mirko Denecke
ff426d8354 AP_Bootloader: Reserve ID range for UAV-DEV GmbH 2024-05-22 11:45:48 +10:00
Ashwin Nambiar
20a23d8bf2 Tools: update run_in_terminal_window.sh
Remove the TERM variable dependency
2024-05-21 21:55:48 +10:00
Peter Barker
7e8a69d2b7 autotest: add polygon pre-arm tests 2024-05-21 17:23:31 +10:00
Nick Exton
bb0d1cf7b8 autotest: Handle pitch limits when testing achieved mount pitch angle 2024-05-21 14:27:28 +09:00
Risto
143c975fb1 AP_Bootloader: ID reserve for FlywooF405HD_AIOv2
See: https://github.com/ArduPilot/ardupilot/pull/27036
2024-05-21 14:29:20 +10:00
Peter Barker
5cef031ce5 Tools: enforce Values/Bitmask sanity check for vehicles as well as libraries
we have enforced this one-of-Values-or-Bitmask in libraries for a long time, and should have been enforcing it in vehicles before now.

MissionPlanner and MAVProxy ignore Values if Bitmask is present
2024-05-21 14:27:05 +10:00
Peter Barker
37886b36e0 autotest: neaten Copter Loiter test 2024-05-21 14:23:58 +10:00
Peter Barker
f930ba788b autotest: add test showing throttle saturation problem
autotest: verbose minimum_duration in wait_message_field_values
2024-05-21 14:23:36 +10:00
Peter Barker
1a04eadb63 autotest: add test for flying a mission far from EKF origin 2024-05-21 09:56:02 +10:00
Iampete1
260bc98d92 Tools: scripts: generate_lua_docs: check for local lua-language-server 2024-05-21 09:42:22 +10:00
Iampete1
5e52c7021a Tools: scripts: run_lua_language_check: grab and install latest release 2024-05-21 09:42:22 +10:00
Iampete1
613074e6e8 Tools: scripts: add lua language check and docs generation 2024-05-21 09:42:22 +10:00
Iampete1
cf16448dfa Tools: ignore lua-language-server-errors 2024-05-21 09:42:22 +10:00
Peter Barker
3e868be704 autotest: pass kwargs straight through in wait_ekf_args
this allows minimum_duration to be passed through to the underlying methods, for example
2024-05-19 12:26:33 +10:00
Peter Barker
0b8c72c8bb autotest: add support for minimum_duration to wait_ekf_flags
.... by re-implementing in terms of a WaitAndMaintain class
2024-05-19 12:26:33 +10:00
Andrew Tridgell
792fdc2fb8 Tools: specify pymonocypher version in more places
and confirm version when running tools
2024-05-19 10:07:54 +10:00
Maxim Buzdalov
ce04c33686 Tools: rebuilt IO firmware 2024-05-15 17:29:19 +10:00
Peter Barker
39bb63c61f autotest: add test for partial-transfer after mission-upload 2024-05-15 12:26:34 +10:00
Andy Piper
6639a8bb64 bootloaders: add SDMODELV2 2024-05-15 07:27:46 +10:00
Andy Piper
0c4787e9c6 AP_Bootloader: add SDMODELV2 2024-05-15 07:27:46 +10:00
Iampete1
773fa73e75 Tools: ardupilotwaf: move setting of ROMFS flags for all boards to embed_ROMFS_files method 2024-05-14 10:05:51 +10:00
Ryan Friedman
ebaedb318b Tools: Expose map/console mavproxy args
* These can be set in ros2 launch calls now

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-14 09:52:48 +10:00
Andy Piper
21fee9a475 bootloaders: BLITZ Wing H743 2024-05-14 09:35:51 +10:00
Andy Piper
4832616f31 AP_Bootloader: BLITZ Wing H743 2024-05-14 09:35:51 +10:00
Peter Barker
91374632f6 autotest: add test for transfer again after bad count supplied 2024-05-14 09:21:53 +10:00
mateksys
228b2f343b AP_Bootloader: Reserve ID range for Matek 2024-05-13 10:06:10 -07:00
Peter Großhans
c3c6d7ffb4 board_types.txt: reserve board ID for MountainEagle H743 2024-05-12 14:47:26 +10:00
Andrew Tridgell
40fc2eb91c Tools: use previous release of pymonocypher 2024-05-10 16:17:17 +10:00
mateksys
e92fbc6531 Tools: add MatekG474-Periph bootloader 2024-05-10 12:54:11 +10:00
Peter Barker
178c57a608 Vagrant: add support for Ubuntu Noble, 24.04 2024-05-10 10:20:34 +10:00
Peter Barker
4320063bd6 Tools: install-prereqs-ubuntu.sh: add support for Ubuntu Noble (24.04) 2024-05-08 21:27:12 +10:00
Andrew Tridgell
c097cd7fb9 waf: cope with CI python oddity 2024-05-08 18:28:59 +10:00
Andrew Tridgell
ac7e3cc886 Tools: added MatekL431-APDTelem bootloader 2024-05-08 18:19:19 +10:00
Iampete1
bcf0733ea9 AP_Periph: always limit rangefinder update rate to given max rate 2024-05-08 17:16:34 +10:00
Iampete1
13cbffebcc AP_Periph: allow airspeed without I2C 2024-05-08 17:15:14 +10:00
Andrew Tridgell
693151edcd Tools: added LongBowF405WING to board_types.txt 2024-05-08 12:04:51 +10:00
Peter Barker
7b95633bab autotest: add test for Rover RTL speed 2024-05-08 09:11:55 +10:00
Peter Barker
d2c8bdf08d Tools: add comment at end of file restricting range to be allocated from
we allocated outside the comment mentioned at the top of the file, so add a comment at the end too
2024-05-07 22:20:52 +10:00
Andrew Tridgell
e5a2ba3ebc autotest: fixed marginal test WPNAV_SPEED_DN
this test completed at 59s before the baro change, and needs 62s
afterwards with the slight change in atmospheric modelling

increase to 70s so it doesn't flap
2024-05-07 21:19:06 +10:00
Rhys Mainwaring
513a6b6206 Tools: ardupilotwaf: use classic clang linker when compiling on macOS
- Fix issue where linker fails with Xcode 15.3.
- Add check for CC_VERSION.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-07 09:35:41 +10:00
Henry Wurzburg
ab407f3e27 Tools: add blended GPS build option 2024-05-06 12:22:03 +10:00
TsuyoshiKawamura
889091351d Tools: add frame params for Rtos Co's SPARK Kit 2024-05-06 10:47:08 +09:00
Andrew Tridgell
86b779f3c7 autotest: remove SIM_SERVO_SPEED from whitelist 2024-05-05 07:57:54 +10:00
Andrew Tridgell
1da50110d8 Tools: added Glider SITL model 2024-05-05 07:57:54 +10:00
mateksys
a238e2995a Tools: update MatekH7A3 bootloader for 16MHz xtal 2024-05-04 20:52:50 +10:00
Peter Barker
5a2b7c0ab2 Tools: build_options.py: add RPM DroneCAN
.... otherwise no board will compile without dronecan enabled - and some won't build that way
2024-05-03 22:59:18 +10:00
Peter Barker
2746a02187 Tools: build_options.py: note that HereFlow requires DroneCAN 2024-05-03 22:59:18 +10:00
Peter Barker
c8bcd35f94 Tools: build_options.py: note extended link stats requires MSP 2024-05-03 22:59:18 +10:00
Andy Piper
946c891e14 autotest: improve reliability of MotorVibration test 2024-05-03 07:34:21 +10:00
Andy Piper
95c06d418e autotest: tighten DynamicRpmNotches so that failure means failure
check notch attenuation at motor frequency
2024-05-03 07:34:21 +10:00
Iampete1
8cb368de0c Tools: ardupilotwaf: boards: enable HAL_PERIPH_ENABLE_RPM_STREAM on sitl_periph_universal 2024-05-02 20:25:38 +10:00
Iampete1
6dcb0af697 AP_Periph: add support for streaming dedicated RPM message 2024-05-02 20:25:38 +10:00
Andrew Tridgell
45114d8b03 Tools: added serial playback tool
for playing back serial data captured by ArduPilot
2024-05-02 12:17:49 +10:00