Peter Barker
746d9fda8d
autotest: add --callgrind option
2021-11-29 20:46:02 +11:00
Peter Barker
ad4b934b3c
autotest: correct MAVFTP test for autotest server
...
The autotest server runs autotest.py from a directory one-up from the
ArduPilot root directory, whereas most people run it from the root
directory. The test wasn't taking that into account, looking for a
directory which doesn't necessarily exist.
Changed to os.listdir() to find a directory to look for in the MAVFTP
output.
2021-11-29 20:44:47 +11:00
Peter Barker
7afb472244
autotest: reboot after resetting parameters for ekf lane switchtest
2021-11-29 15:30:00 +11:00
Peter Barker
b4b267be67
autotest: clarify parameter download test output
2021-11-29 15:10:10 +11:00
Peter Barker
0c0c70d50e
autotest: wait a long time for GPS health in HIGH_LATENCY2
...
We're assuming this is healthy before running the tests. Most of the time it was, but running under Valgrind it wasn't
2021-11-29 15:10:10 +11:00
Peter Barker
48c6239851
autotest: correct resetting of commandline under Valgrind
2021-11-29 15:10:10 +11:00
Peter Barker
b2f00d469e
autotest: use set_parameters some more
2021-11-26 18:30:13 +11:00
Nick Exton
5f74333559
waf: only enable -Wsizeof-pointer-div for gcc v8.4 or greater
...
The -Wsizeof-pointer-div option doesn't exist in gcc v7.5, which is the
version used by Ubuntu 18.04 LTS. It does exist in v8.4.
2021-11-26 11:46:04 +11:00
Peter Barker
09f06be17e
autotest: add an autotest for DO_PAUSE_CONTINUE
2021-11-25 08:18:27 +09:00
bugobliterator
e7ab56674b
Tools:libcanard moved to modules/DroneCAN
2021-11-24 18:30:47 +11:00
bugobliterator
f74690af49
AP_Periph:libcanard moved to modules/DroneCAN
2021-11-24 18:30:47 +11:00
bugobliterator
c3be9f9eb3
AP_Bootloader: libcanard moved to modules/DroneCAN
2021-11-24 18:30:47 +11:00
bugobliterator
4e067a68e2
AP_Periph: move to using dronecan instead of uavcan
2021-11-24 18:30:47 +11:00
Peter Barker
a93da420c8
waf: make maybe-uninitialised and duplicated-cond errors
2021-11-24 18:26:17 +11:00
Peter Barker
a2961ede8f
waf: add -Wsizeof-pointer-div
2021-11-24 18:26:17 +11:00
Samuel Tabor
7931b10baf
autotest: Fix rangefinder in Landing-Drift test.
2021-11-24 18:14:26 +11:00
Peter Barker
a7aa74ab20
autotest: add rangefinder convenience functions, fix wait_alt handling
...
autotest: add test for rangefinders outside their maxalt
2021-11-23 18:20:58 +11:00
Peter Barker
2904036013
autotest: fetch tasks.txt twice
...
Collection isn't instantaneous
2021-11-23 18:17:42 +11:00
Shiv Tyagi
7237e346d8
Tools: autotest: add defaults file for broken copter frames
...
This adds default files for copter frames which were broken because of missing defaults
2021-11-23 15:52:25 +09:00
Peter Barker
c99a49eeb9
autotest: add test that we continue to get simulated vehicles from SIM_ADSB
2021-11-23 11:09:29 +11:00
Andrew Tridgell
b05a3fc950
Tools: support up to 9 UARTs
2021-11-22 22:48:59 +11:00
Randy Mackay
b9099f7b88
Tools: sim_vehicle supports motorboat frame
...
also add motorboat param file to enable waves and tide
2021-11-20 08:58:12 +09:00
Peter Barker
5025056f4e
autotest: fix MSP_DJI test for Py2
2021-11-20 09:37:02 +11:00
Andrew Tridgell
821a041cbe
Tools: fixed cygwin build for rover
...
try to fix singleton depenency in scripting
2021-11-19 20:40:30 +09:00
Peter Barker
492104f9f2
Tools: uploader.py: add Swift-Flyer to usb device strings
2021-11-18 15:22:42 +11:00
Peter Barker
477528bd93
Tools: build_binaries.py: split timing out for configure/build steps
2021-11-18 11:54:37 +11:00
Peter Barker
9a47a85c0d
autotest: augment PerfInfo test
2021-11-17 19:00:04 +11:00
Peter Barker
b42432ea3e
autotest: add trivial test for MSP
2021-11-17 12:06:07 +11:00
Josh Henderson
bc9ab66348
Tools: size_compare Change elfdiff_output rectory
2021-11-16 17:13:51 +11:00
TunaLobster
f89a7a3c63
Tools: Upate iofirmware_high/lowpolh.bin
2021-11-16 14:12:43 +11:00
TunaLobster
88489ba240
Tools: fix ADC scaling on IOMCU
2021-11-16 14:12:43 +11:00
MallikarjunSE
bca7f519c2
Tools: reserve board id for sierra-F405
2021-11-16 12:53:00 +11:00
Shiv Tyagi
5811a62bc6
Tools: add autotest for DEVO telemetry
...
This adds an autotest to test if we receive data with devo telemetry correctly.
2021-11-16 11:37:10 +11:00
Peter Barker
8ae1a58eae
Tools: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
32374d1614
Tools: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
b83cf3a431
waf: ensure ENABLE_SCRIPTING is always defined
2021-11-15 20:27:40 +11:00
Peter Barker
873e04195f
autotest: add test for QuadPlane transition states
2021-11-15 07:21:27 +11:00
Peter Barker
75b9a3ff77
autotest: add test for PerfInfo tasks.txt info
2021-11-14 20:43:30 +11:00
Peter Barker
ad32f8d6d2
autotest: allow building of blimp in autotest
2021-11-14 18:35:06 +11:00
Shiv Tyagi
0cae113521
autotest: reset RNGFNDx_TYPE in rangefinder driver test
...
We should reset RNGFNDx_TYPE after we finish testing a set of rangefinder drivers to avoid failing successive tests.
Also, we now fail prearm checks if we receive no data from RF, we need to continuously send DISTANCE_SENSOR messages through mavlink to pass those checks while trying to arm.
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-11-13 09:47:39 +09:00
Andy Piper
9da11cd31d
autotest: set SMAX during autotune test
2021-11-11 08:13:23 +09:00
Peter Barker
756e45cda2
autotest: add get_stacktrace method
2021-11-11 10:06:47 +11:00
Bill Geyer
4f053bb7d5
Tools: set new parameters for autotest
2021-11-10 16:45:17 -05:00
Peter Barker
69d86e6896
autotest: turn draining_mav off when doing early-exit for being quiet
2021-11-11 07:23:09 +11:00
Andrew Tridgell
78050be6f3
Tools: update CubeOrange bootloader
2021-11-10 18:10:20 +11:00
Peter Barker
548e8aef2a
Tools: run BalanceBot and SailBoat tests as part of coverage
2021-11-10 09:34:05 +11:00
Peter Barker
4bea052692
Tools: check tests actually succeeded
...
Without this we can get a false impression of how much is being covered
It does mean all your tests have to pass...
2021-11-10 09:34:05 +11:00
Andrew Tridgell
be2e75f8db
Tools: added AIRLink bootloader
2021-11-10 08:47:21 +11:00
Andrew Tridgell
5b3dc03cf6
Tools: auto-build AIRLink board
2021-11-10 08:47:21 +11:00
andypnz
e929561635
Tools: added my locations to locations.txt
2021-11-10 08:45:18 +11:00