Commit Graph

8865 Commits

Author SHA1 Message Date
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
haarshitgarg 4c95a3b6ef Tools: enabled sending waypoints from a companion computer to ardupilot for copter and rover
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-02 09:08:34 +09:00
Iampete1 39d179162e Tools: autotest: copter: add max alt fence avoidance test 2024-05-01 17:25:07 +10:00
richaravoil 09d7cb0c95 Tools: adding active UART in the bootloader
Adding USART6 to be active in bootloader phase to allow flashing with a serial connection.
2024-05-01 17:21:30 +10:00
Andy Piper d04722530f bootloaders: iFlight Blitz H7 Pro 2024-05-01 17:19:05 +10:00
Peter Barker 6ddc237334 autotest: add test that weights for blending work 2024-05-01 10:19:58 +10:00
Peter Barker 1bab1a9571 autotest: add new blending test 2024-05-01 10:19:58 +10:00
Andy Piper 34827a0cf6 IO_Firmware: update to support 16 channels for SBUS OUT from all inputs 2024-05-01 08:21:01 +10:00
Peter Barker 29cbd8da15 Tools: add description for SIM_BARO_DRIFT 2024-04-30 16:39:32 +10:00
Peter Barker f5b062562a autotest: correct removal of hooks during exception handling 2024-04-30 16:39:32 +10:00
Peter Barker 3f0265bf58 autotest: add test for EK3_ORGN_HGT_MASK 2024-04-30 16:39:32 +10:00
bnsgeyer 31e556099b Tools: clean up heli autotest file 2024-04-30 10:21:29 +09:00
bnsgeyer ee5fee268f Tools: modify heli autotest to prevent autorotation test failure 2024-04-30 10:21:29 +09:00
jhemcu eb0d9dde5c AP_Bootloader: ID reserve for JHEMCUF405WING 2024-04-30 09:54:04 +10:00
Ryan Friedman 2c803e365e Tools: Autotest: Test for EAHRS misconfiguration prearm failure
* And test for single GPS reporting on Microstrain7

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-04-30 09:18:46 +10:00
Iampete1 801663a3e6 Tools: autotest: Copter: add Auto RTL test 2024-04-30 08:03:39 +09:00
Peter Barker bcf63326ea autotest: install hook in context
busted sanity check allowed this to survive
2024-04-29 17:51:00 +10:00
Andrew Tridgell 54bfaa4438 autotest: skip stratoship test 2024-04-27 22:03:05 +10:00
Andrew Tridgell 0bccd71201 Tools: added StratoBlimp to autotest 2024-04-27 22:03:05 +10:00
Andrew Tridgell 6199147fe2 Tools: new parameter units 2024-04-27 22:03:05 +10:00
Randy Mackay 338f492ac3 Tools: add xacti-config application
This allows configuring the Xacti cameras from the command line
2024-04-26 16:07:18 +09:00
Gone4Dirt 1a39bd1a6e Periph: Add probe continuous checks to airspeed and compass 2024-04-24 17:06:03 +10:00
Hubert f476ed02de bootloaders: add NxtPX4v2 bootloader 2024-04-24 13:57:48 +10:00
Tatsuya Yamaguchi c9f7a3c03d Tools: Scripts: Decode devid: add SCHA63T 2024-04-23 14:15:09 +01:00
Randy Mackay 533b2ed7be Tools: enable GuidedModeThrust autotest 2024-04-23 15:11:24 +09:00
Andrew Tridgell 0eded27a9f AP_Periph: check return of get_RelPosHeading 2024-04-23 10:32:43 +10:00
Hubert f3544f9a80 AP_Bootloader: add MicoAir743 bootloader 2024-04-23 09:56:23 +10:00
Henry Wurzburg 4d7e4d1ca9 Revert "hwdef: bdshot version of the MatekF765-SE"
This reverts commit ac86bd8d21.
2024-04-23 09:52:01 +10:00
Iampete1 8df49d72f3 Tools: autotest: quadplane: test alt assist and transition failure action 2024-04-23 09:11:34 +10:00
Peter Barker 8125f47a15 Tools: test_param_upgrade.py: take a --master-branch parameter
Allows testing against things which are not the master branch

This requires getting nasty in terms of removing the build directory because of our missing-dependecy-file waf issues.

Also requires handling branches that don't have the "novehicle" model.
2024-04-22 13:38:37 +10:00
Peter Barker 484ce402eb autotest: helicopter: have land_and_disarm also lower the rotor speed
similarly for do_RTL
2024-04-20 12:59:27 +10:00
Peter Barker 623f0b8899 autotest: rewrite PosHoldTakeoff using newly-available methods
take advantage of new infrastructure
2024-04-20 12:59:27 +10:00
Peter Barker 5ba8755802 autotest: stop passing defaults in via --defaults to custom_sitl_commandline 2024-04-20 09:43:37 +10:00
Peter Barker ca4fd52b95 autotest: correct parameters used for Callisto 2024-04-20 09:42:55 +10:00
Hubert 992c90ce59 AP_Bootloader: ID reserve for MicoAir743 2024-04-19 21:46:52 +10:00
Henry Wurzburg 3a5c7fefd2 Tools: remove Batt mon specific param from EDU650 2024-04-19 08:38:07 +09:00
SCRainbow cb61df9388 board_type.txt: Reserve an ID for JHEMCU H743 HD 2024-04-19 08:53:39 +10:00
bnsgeyer 0bdf073f38 Tools: Add Heli Autotune Autotest 2024-04-18 20:38:53 +10:00
Tatsuya Yamaguchi 3b51278481 Tools: autotest: added HEXA X 2024-04-18 08:25:41 +10:00
Michelle Rossouw 9d470d4446 Tools: Add Freestyle model for SITL 2024-04-18 08:24:18 +10:00
Peter Barker 8e6a7f8ead Copter: correct name used to retrieve parameters for frame 2024-04-18 08:24:18 +10:00
Peter Barker 578d51574d autotest: correct command-line for sitl in FlyEachFrame 2024-04-17 22:16:08 +10:00
Peter Barker 8c5136e06d Tools: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Andy Piper 7497118231 IO_Firmware: update iofirmare for SBUS_OUT 2024-04-17 17:49:56 +10:00
Andy Piper abb94b03f9 bootloaders: iFlight BLITZ Mini F745 2024-04-17 17:34:10 +10:00
Andy Piper b9079f932c bootloaders: iFlight Blitz F745 2024-04-17 17:34:10 +10:00
Gone4Dirt 853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10:00
Peter Barker fe9fcf445e Tools: stop emitting debug as part of test_build_options.py 2024-04-17 14:06:24 +10:00
Peter Barker d0a7e70d0f autotest: correct format string in error path
name is a string, not an integer
2024-04-17 11:57:11 +10:00
Peter Barker 7f61acedd3 autotest: add test for Copter compassmot 2024-04-16 19:14:38 +10:00
Leonardo Garcia 7d00c77e48 bootloaders: Support for 3DR Control Zero H7 OEM rev G 2024-04-16 14:10:13 +10:00
Andrew Tridgell 72f87edfb4 Tools: added DroneCAN dependencies
See this report:

https://discuss.ardupilot.org/t/after-upgrading-the-aircraft-version-above-4-4-0-the-parameters-of-mnt-cannot-be-found
2024-04-16 09:23:34 +10:00
Henry Wurzburg f15f23d153 Tools: add MicoAir405Mini 2024-04-16 09:21:23 +10:00
FOG_Yamato ac86bd8d21 hwdef: bdshot version of the MatekF765-SE 2024-04-16 09:13:43 +10:00
Peter Barker d964d7f311 autotest: allow frame to be specified when creating simple missions 2024-04-15 16:57:09 +10:00
Peter Barker cf3cceff68 autotest: add test for GuidedModeThrust 2024-04-14 13:26:36 +10:00
Peter Barker 77cccd08a3 autotest: add test for moving from loiter to guided 2024-04-13 08:34:42 +09:00
Peter Barker 3be1b9efa6 autotest: add set_home function 2024-04-13 08:34:42 +09:00
Clyde McQueen 50015b4196 autotest: reduce SITL baro noise 2024-04-12 14:07:12 -03:00
Peter Barker 0f913b5bdf autotest: add test altitudes in camera log messages are correct 2024-04-11 22:39:09 +10:00
Andy Piper 904f1dffa7 AP_Bootloader: board ids for iFlight boards 2024-04-11 22:16:38 +10:00
Peter Barker c578a18b7f autotest: add test for compass_learn=3 when using gps-for-yaw 2024-04-11 20:49:03 +10:00
BloodSakura3774 9c87156266 board_types.txt: Reserving board id for sakurarc h743 2024-04-11 18:36:00 +10:00
Hubert 24cfe60df3 board_types.txt: Reserve ID for MicoAir405Mini 2024-04-11 18:35:51 +10:00
Hubert 2c267f462d board_type.txt: Reserve an ID for NxtPX4v2 2024-04-11 18:34:51 +10:00
Peter Barker f9e95be590 autotest: use defaults file to set speedup
this solves a problem where after a reboot the vehicle runs fast because we honour the --speedup parmeter over the SIM_SPEEDUP parameter.
2024-04-11 10:17:00 +10:00
Peter Barker c59e96cc15 autotest: remove unused unit conversion methods 2024-04-11 10:17:00 +10:00
Randy Mackay 065c7c6d9b Tools: locations.txt gets Kaga athletic stadium 2024-04-11 09:01:50 +09:00