Commit Graph

7096 Commits

Author SHA1 Message Date
Peter Barker c5a786559a autotest: check target system on return mission_item_int packets 2022-10-04 16:50:08 +09:00
Andrew Tridgell 44b2a42953 autotest: added a test for EKF lane change in GUIDED
an EKF lane change when the two lanes are using different GPS should
not cause a height change in GUIDED
2022-10-04 16:50:08 +09:00
Andrew Tridgell 37cb0fe0c5 autotest: move do_aux_function to common 2022-10-04 16:50:08 +09:00
m 8b601fbf63 autotest: Fix watch_altitude_maintained for Copter 2022-09-13 14:19:47 +09:00
Peter Barker 109d0286d9 autotest: correct type-check
py2 vs py3
2022-09-12 21:04:39 +10:00
Peter Barker b1909d9edf autotest: create and use a Result object to ship failure data around 2022-09-12 08:49:04 +10:00
Peter Barker ba6cf1a42b autotest: remove disabled LogUpload test
This has been unused for a long time, and is getting in the way of reforms.  Its position as a test rather than as a part of a framework was always going to cause oddities, particularly after we split the Copter tests into several chunks.
2022-09-11 20:45:13 +10:00
Peter Barker 87e97ca5b2 autotest: remove syntax test for test lambdas
We no longer permit the use of lambda functions in test lists
2022-09-11 17:21:38 +10:00
Peter Barker cd50b91904 autotest: correct running of single test
... and stop using run_tests entrypoint to the AutoTest objects as it does cause confusion
2022-09-11 17:15:53 +10:00
Peter Barker bb1c43b0a2 autotest: ensure MAVProxy arm attempt times out 2022-09-11 17:00:50 +10:00
Patrick José Pereira 34be6fea77 Tools: Check if version exist before installing it
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-09-11 14:18:21 +10:00
Michael Oborne 536db5d26f Scripts: add 2nd CubeOrange BL usbid 2022-09-11 14:04:02 +10:00
m 3fdcf5f940 autotest: test landed state of copter during takeoff in auto mode 2022-09-10 21:53:23 +10:00
Peter Barker 80c36ecc97 autotest: use reflection to collect test details
We had a pattern emerging of using the test name as the method name to contain the actual test.  We also tended to duplicate the docstrings in the test description - or omit the docstring.

This uses reflection to retrieve both the test name and the description, meaning less duplication of this information and enforcing having docstrings on the test methods.
2022-09-10 18:27:27 +10:00
Peter Barker b06afa8316 autotest: reset sitl if forced disarm fails 2022-09-10 14:35:25 +10:00
Peter Barker 4caaf1533f autotest: check context for expected esc-rpm statustext 2022-09-10 09:21:44 +10:00
Peter Barker 459af5ec9b Tools: generate_manifest.py: allow generation of features.json file 2022-09-09 20:33:41 +10:00
Peter Barker 71d1c050b3 autotest: move log_name method for balancebot to within class 2022-09-09 20:32:59 +10:00
Shiv Tyagi 6393ef6b8e Tools: fix Rover AutoDock test 2022-09-09 19:12:30 +10:00
Peter Barker 1a46a27bb8 Tools: remove vestiges of travis autotest hooks
travis had a split into two tests, test1 and test2 - which we no longer need
2022-09-09 12:08:59 +10:00
Randy Mackay 1aec242079 Tools: install-ros-ubuntu points at ArduPilot repo 2022-09-09 11:03:54 +09:00
Michael du Breuil 80d7bf9b11 Tools: Update autotest to accomodate accel cal changes 2022-09-09 08:52:14 +10:00
Andrew Tridgell 53d24b82cc Tools: added AtomRCF405 bootloader 2022-09-09 07:14:51 +10:00
Andrew Tridgell bc27db6a5b Tools: allocate board ID for AtomRCF405 2022-09-09 07:14:51 +10:00
Peter Barker e9bffe2045 autotest: throw exception when GIMBAL_DEVICE_ATTITUDE_STATUS not received 2022-09-08 21:13:15 +10:00
bugobliterator 939bd94796 AP_Periph: make constants used in bitshift unisigned 2022-09-08 13:37:55 +10:00
bugobliterator 3e8355638b AP_Periph: add support for redundant CAN bus 2022-09-08 13:37:55 +10:00
bugobliterator 19856ee6e8 waf: setup defines for CANARD multi can support 2022-09-08 13:37:55 +10:00
Andy Piper 203f691df4 autotest: add takeoff check test 2022-09-07 17:03:03 +01:00
Randy Mackay 4108e4b77f Tools: copter autotest integrates MNT param changes 2022-09-06 13:53:25 +09:00
Randy Mackay b9a3c4bd0d Tools: vee-gull default param update for MNT params 2022-09-06 13:53:25 +09:00
Randy Mackay 785500cdc8 Tools: copter-gimbal param file update for MNT params 2022-09-06 13:53:25 +09:00
Randy Mackay 273a72f0d5 Tools: SToRM32 mavlink param update for MNT rename
incorporates change to mount RC input method
2022-09-06 13:53:25 +09:00
Randy Mackay 4aa9c260ba Tools: sub param default updates for MNT changes 2022-09-06 13:53:25 +09:00
Jaime Machuca 6c5bb1c5b8 Tools: Add ROS and Ardupilot-ros environment install script 2022-09-06 11:57:00 +09:00
Shiv Tyagi 24cff5f9b1 Tools: add autotest to test docking on rover 2022-09-06 11:23:51 +09:00
Henry Wurzburg d17df7afc6 Tools:fix build option for MSP Optical Flow sensor and cleanup 2022-09-06 10:41:13 +10:00
Peter Barker efc2de99de Tools: add generate_features_txt_files.py
walks a directory tree and emits a features.txt for each found .elf
2022-09-06 10:33:22 +10:00
Peter Barker 84509a4f7d Tools: extract_features: factor slightly to allow better use as library 2022-09-06 10:33:22 +10:00
Peter Barker 7244cd361d Tools: build_ci.sh: build with no/all options enabled
More chance of catching problems, and these are relatively cheap
2022-09-06 09:37:20 +10:00
AerofoxTech 0c459a69db Tools: add a board ID for AEROFOX_AIRSPEED 2022-09-05 12:36:11 +10:00
Andrew Tridgell 5f8f8cf220 Tools: update signing docs 2022-09-05 12:35:37 +10:00
Andrew Tridgell ddf770330d CI: added test of signed firmware builds 2022-09-05 12:35:37 +10:00
Andrew Tridgell b55ee297d8 waf: allow setting signing key as part of configure with --private-key
makes for faster development with signed bootloaders
2022-09-05 12:35:37 +10:00
Andrew Tridgell 1fab01951a AP_Periph: build fix 2022-09-05 12:35:37 +10:00
Andrew Tridgell a92cb1017e AP_Periph: report unsigned bootloader flash attempt 2022-09-05 12:35:37 +10:00
Andrew Tridgell 0388460c92 Tools: put ArduPilot keys first
makes key changing a bit easier for vendors
2022-09-05 12:35:37 +10:00
Andrew Tridgell 11b12cd4c8 Tools: reformat public keys
add newline to make it easier to compare keys with command line tools
2022-09-05 12:35:37 +10:00
Andrew Tridgell 7454822a8b Tools: added --debug option to build_bootloaders.py 2022-09-05 12:35:37 +10:00
Peter Barker ae92c7d429 Tools: build_options.py: MODE_FOLLOW requires AC_AVOID 2022-09-05 09:06:33 +10:00