Commit Graph

7114 Commits

Author SHA1 Message Date
Andrew Tridgell bc35b3145c waf: ensure we don't try to use non-implemented functions 2022-10-24 22:23:43 +09:00
Andrew Tridgell 29dca0f915 Tools: added CubePilot to board recognition for uploader.py
for CubeOrangePlus
2022-10-24 22:23:43 +09:00
Willian Galvani 3777e4d082 Tools: attempt to fix Sub flapping test 2022-10-24 22:23:43 +09:00
Andrew Tridgell 5d2f3cd009 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-14 17:13:21 +09:00
Andrew Tridgell b5a5241f96 Tools: fixed build of bootloaders with debug 2022-10-14 17:13:21 +09:00
Reilly Callaway 2794b36fdb Tools: Add kg per cubic meter unit metadata 2022-10-04 16:50:15 +09:00
Andrew Tridgell 1f2def905e AP_Periph: support actuator type with PWM
this makes debugging much easier in CAN analyser
2022-10-04 16:50:15 +09:00
Paul Riseborough d27c3bca38 Tools: Use a more typical wind speed for the PitotBlockage autotest 2022-10-04 16:50:15 +09:00
Paul Riseborough 052aefd8e6 Tolls/autotest: Fix Flake8 style check fails 2022-10-04 16:50:15 +09:00
Paul Riseborough 3981b6b5b3 Tools/autotest: fail pitot tube at start of takeoff 2022-10-04 16:50:15 +09:00
Paul Riseborough 290ff07c0b Tools/autotest: rework arming and takeoff mode change order
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 16:50:15 +09:00
Paul Riseborough 8fbea44afd Tools/autotest: Use clearer method of setting parameters
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 16:50:15 +09:00
Paul Riseborough 44abc1184c Tools: Python coding style fixes 2022-10-04 16:50:15 +09:00
Paul Riseborough 86cb341173 Tools: Add partial unblockage to pitot blockage test 2022-10-04 16:50:15 +09:00
Paul Riseborough 2a31cd7ca0 Tools: Add autotest for pitot tube blockage handling 2022-10-04 16:50:15 +09:00
Andy Piper e246e2b579 bootloaders: make sure SkystarsH7HD has functioning VTX on Camera 1 by default 2022-10-04 16:50:15 +09:00
Andy Piper 7eac7bee03 scripts: add Skystars variants to manifest generator 2022-10-04 16:50:15 +09:00
Andy Piper 34b525759a bootloaders: add and correct SkystarsH7HD bootloaders 2022-10-04 16:50:15 +09:00
Peter Barker 80466dc088 autotest: check target system on return mission_item_int packets 2022-10-04 16:50:15 +09:00
Andrew Tridgell 36c88661c8 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:15 +09:00
Andrew Tridgell 971c57e679 autotest: move do_aux_function to common 2022-10-04 16:50:15 +09:00
m f6ebbdcca1 autotest: Fix watch_altitude_maintained for Copter 2022-09-13 14:20:02 +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