Commit Graph

5081 Commits

Author SHA1 Message Date
Andrew Tridgell 9c24415f86 AP_Periph: support output of MSP sensor data 2020-09-09 06:35:50 +10:00
Peter Barker 9228f47dc9 autotest: create collections-on-context to record selected messages 2020-09-08 14:19:08 +10:00
Peter Barker f3866e5f39 autotest: disable button test 2020-09-08 12:31:15 +10:00
Andrew Tridgell 7c5a0a6a43 Tools: disable LOG_REPLAY by default in autotest
LOG_REPLAY prevents us logging when we have sensor failures, which
makes many tests hard to debug
2020-09-08 11:01:14 +10:00
Andrew Tridgell 80ef6fa7f2 Tools: added a MagFail test
ensures that both EK2 and EK3 will failover to a new compass on
compass failure
2020-09-08 11:01:14 +10:00
Peter Barker d508ba97c5 autotest: add test for SmartRTL getting another GCS failsafe
Test for specific bug where we would land instead of continue in
SmartRTL
2020-09-08 09:05:03 +09:00
Samuel Tabor 3c0d4b6d5a autotest: Add start time argument and parsing. 2020-09-07 21:20:25 +10:00
Andrew Tridgell a9ecac4fff Tools: added --osdmsp option to sim_vehicle.py 2020-09-07 11:59:20 +10:00
Pierre Kancir 2e60f361fa Tools: ardupilotwaf: remove '-Werror=suggest-override' from benchmark to prevent failure
this is due to the fact that gbenchmark header should be compatible with C++03 and then don't accept C++11 feature like override ...
2020-09-06 19:13:04 +10:00
Pierre Kancir 9d9cf2501a Tools: disable Gtest and testing on Gbenchmark build 2020-09-06 19:13:04 +10:00
Peter Barker 65268ee3d4 autotest: more button-test fixes 2020-09-06 16:49:16 +10:00
bugobliterator 6203e0685e autotest: disable MAG orientation test 2020-09-06 11:21:28 +10:00
Andy Piper 0b9d9fc284 autotest: use StringIO correctly 2020-09-06 09:12:59 +10:00
Pierre Kancir 31338f955b Tools: allow to skip completion installation 2020-09-05 13:31:03 +10:00
Andy Piper 6ebc7622fe autotest: comprehensive dataflash test 2020-09-05 10:20:39 +10:00
Pierre Kancir 11417ac3a7 Tools: build-ci: use python -m pip for easier pip version management 2020-09-04 09:31:23 +10:00
Pierre Kancir 7648413f8c Tools: configure-ci: use python -m pip for easier pip version management 2020-09-04 09:31:23 +10:00
Patrick José Pereira 050334273e Tools: Remove trailing spaces of build_ci
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira 30e2aad6b9 Tools: Add arm-linux-musleabihf toolchain
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira ee4f267743 Tools: Add navigator test in build_ci
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Peter Barker 2ea41b7997 autotest: spit out actual simulated mag orientations as part of debug 2020-09-03 13:08:07 +10:00
Andrew Tridgell 689902cb69 waf: moved include of ap_config.h into configure step 2020-09-03 09:56:29 +10:00
Andrew Tridgell 24425b4155 waf: allow setup of double precision for some cpp files 2020-09-03 09:56:29 +10:00
Peter Barker 5a8b1639d0 autotest: fix nmea output test 2020-09-02 10:05:26 +10:00
Andrew Tridgell 844d2bf7ff waf: enable MSP when we enable OSD 2020-09-02 05:56:46 +10:00
Andrew Tridgell 6f04b4a5ec waf: added --osd-fonts configure option
allows for --osd without fonts
2020-09-02 05:56:46 +10:00
Andrew Tridgell 7c579c4814 waf: added --osd configure option
to allow boards with no builtin OSD to use MSP OSD
2020-09-02 05:56:46 +10:00
yaapu b658edfa20 Tools: added MSP 2020-09-02 05:56:46 +10:00
Peter Barker 522c3e6281 autotest: make LogUpload the last test again
ATM any logs produced by EKFLaneswitch won't get uploaded in case of
failure
2020-09-01 18:15:37 +10:00
Peter Barker 23ba2002e8 autotest: dump final mag cal report verbosely 2020-09-01 14:11:57 +10:00
Peter Barker 74c47827d9 autotest: drain stdout of SITL binary
The new rate messages were filling up the stdout buffer, causing the
process to block....
2020-08-30 08:38:35 +10:00
Peter Barker e8fa4e1351 autotest: disable autotest for altitude prearm check 2020-08-30 08:38:35 +10:00
Peter Barker 397e134106 autotest: quieten RTL 2020-08-30 08:38:35 +10:00
Peter Barker 065d03dd30 autotest: add a timeout in the button test 2020-08-30 08:38:35 +10:00
Peter Barker c01b26ca62 autotest: fix race condition in EKF type 10
EKF type 10 is always able to give you a position - but the arming
checks require you to have a good GPS position, and that's something
else again.
2020-08-30 08:38:35 +10:00
Peter Barker cafc5b01f4 autotest: fix race condition in Rover RTL test 2020-08-30 08:38:35 +10:00
Peter Barker 43cdceba8f autotest: tweak wait_ready_to_arm 2020-08-30 08:38:35 +10:00
Peter Barker b7641345e1 autotest: set and get parameters directly using mavlink message 2020-08-30 08:38:35 +10:00
Peter Barker ba91cbb270 autotest: correct sub parameter name PSC_VELZ_P, fix test to match 2020-08-30 08:38:35 +10:00
Pierre Kancir 084ec2bb5a Autotest: copter: fix wait_for_alt for descending wait 2020-08-29 14:53:30 +10:00
Pierre Kancir ebd13ac84e Tools: copter: wait_landed_and_disarmed: use wait_for_alt 2020-08-29 14:53:30 +10:00
Pierre Kancir 7fbf11061f Tools: copter: add wait_rtl_complete function 2020-08-29 14:53:30 +10:00
Pierre Kancir 3080899b43 Tools: copter: add wait land and disarm functions 2020-08-29 14:53:30 +10:00
Pierre Kancir 936511a720 Autotest: common: correct some text format 2020-08-29 10:44:19 +10:00
Pierre Kancir 5b72de25e0 Autotest: update wait_distance_to_home
Autotest: copter: allow to pass min_distance for RTL

Autotest: rover: allow to pass min distance for RTL
2020-08-29 10:44:19 +10:00
Peter Barker 119462aeb1 build_binaries.py: Python3 fix
Something in the program output is not ascii
2020-08-28 08:31:46 +10:00
Harshit Kumar Sankhla 464c90a03c Tools: add an EKF3 lane switching test to plane 2020-08-27 20:20:51 +10:00
Pierre Kancir 16b499d0f6 Autotest: allow to select which GPS flags we want to wait for 2020-08-27 09:11:13 +10:00
Peter Barker 80bee19bc9 autotest: correct race condition in button test
A BUTTON_CHANGE may have been emitted after we send the parameter but before it is processed by the autopilot
2020-08-26 13:22:14 +10:00
Peter Barker 3ae83d70b1 autotest: ensure df log is present for rangefinder tests
there may not be a current onboard log present if we've just rebooted
2020-08-26 11:59:11 +10:00