Commit Graph

4303 Commits

Author SHA1 Message Date
Andrew Tridgell
1635da1dd7 Tools: removed HAVE_OCLOEXEC check 2019-09-28 14:19:46 +10:00
Peter Barker
c5f52a8355 Tools: autotest: tests for new fence code
Tools: autotest: move clear_mission up, use it before running each test

Also have it understand MAV_MISSION_TYPE_ALL

Tools: autotest: add tests for polyfence

Tools: autotest: add tests for multiple inclusion polyfences

Tools: autotest: ensure we can't arm inside a circle exclusion zone

Tools: autotest: add test for arming outside an inclusion zone

Tools: autotest: add tests for upload timeout

Tools: autotest: add tests for not arming due to polygon zones

Tools: autotest: add test for fence point reboot survivability

Tools: autotest: add test for moving fence point

Tools: autotest: add some tests via MAVProxy

Tools: autotest: add test for avoiding polygonal exclusion zones

Tools: autotest: add test for object avoidance

Currently disabled as it doesn't pass where it seemingly should.

Tools: autotest: skip MAVProxy tests on older MAVProxy versions

Tools: autotest: adjust fence loading for lack of string back from MAVProxy

Tools: autotest: create a do_RTL function

Tools: autotest: cope with loading QGC-style fence files

Tools: autotest: add test for object-avoidance in guided mode

Tools: autotest: add OA test for auto mode

Tools: autotest: add test for bendy ruler in guided mode

Tools: autotest: adjust for new MAVProxy fence module not emitting old strings

Tools: autotest: add tests for prearming due to bad parameter values
2019-09-28 07:58:48 +09:00
Peter Barker
073248eca5 Tools: autotest: remove vestiges of waf-run coverage 2019-09-27 07:20:21 +10:00
Peter Barker
a386048be7 Tools: autotest: add two basic tests for radio failsafe 2019-09-26 15:19:10 +10:00
Peter Barker
2e2bbf57bf Tools: autotest: add disarm_wait function 2019-09-26 15:19:10 +10:00
Andy Piper
5f34ec6578 Tools: support lldb debugging for sim_vehicle and autotest 2019-09-26 09:02:11 +10:00
Peter Barker
47cb514446 Tools: autotest: enable EK3 for ride-along
This will have SITL cross more code, even if we don't actually use the
EK3 output
2019-09-25 21:14:14 +10:00
Peter Barker
b97b41a6e8 Tools: autotest: allow tracker to be armed between tests 2019-09-25 14:57:02 +10:00
Peter Barker
4c40640238 Tools: autotest: tidy handling of armed-at-end-of-test handling 2019-09-25 14:57:02 +10:00
Peter Barker
92160b454a Tools: autotest: remove switch position assumption from takeoff 2019-09-25 13:42:21 +10:00
Andrew Tridgell
f5364e5efa Tools: added script for creating apj file from *.bin
useful when you have a binary firmware and want to be able to upload
it with uploader.py
2019-09-25 08:40:02 +10:00
Peter Barker
f27b8a6c02 Tools: autotest: test for vehicle armed after test passes
postcondition of any test is that it leaves the vehicle disarmed
2019-09-24 20:00:07 +10:00
Peter Barker
d8fb003cc2 Tools: add entry for running unit tests to build_ci.sh 2019-09-24 14:30:13 +10:00
Peter Barker
84f6e49594 waf: cope with new format of gtest submodule 2019-09-24 14:30:13 +10:00
Peter Barker
52cb509f11 waf: add suggest-override even when building in uavcan 2019-09-24 14:30:13 +10:00
Andrew Tridgell
5aaeaaea8c Tools: added UDP proxy code
very useful for fwding mavlink
2019-09-24 12:41:44 +10:00
Peter Barker
e50d237f3e AP_Periph: stop compiling in AP_Buffer 2019-09-24 09:36:33 +10:00
Peter Barker
03e317fed8 Tools: autotest: send SIGTERM to processes before killing them
This allows coverage atexit functions to run
2019-09-23 19:36:38 +10:00
Andrew Tridgell
e9f8b91134 waf: fixed --build-dates option
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2019-09-23 08:32:05 +10:00
Andrew Tridgell
8a05feb9d3 Tools: use --track-origins=yes in valgrind for sim_vehicle.py
this allows us to find the original cause of an uninitialised variable
2019-09-22 21:06:36 +10:00
Peter Barker
642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Barker
de3c9340cb Tools: autotest: correct timeout on heli spline mission 2019-09-19 22:39:10 +10:00
Peter Barker
f3eaf9ee6e Tools: autotest: more coverage out of the dataflash-over-mavlink tests 2019-09-19 08:46:55 +10:00
Peter Barker
1f25b6e406 Tools: autotest: add test for SITL implementation of Block backend 2019-09-18 17:42:18 +10:00
Peter Barker
cefd30a086 travis: run balancebot tests as part of CI 2019-09-18 09:10:37 +10:00
Ebin
61e05ce881 Autotest: ATC_SPEED params for Balance Bot tweaked for better stability 2019-09-18 07:07:08 +10:00
Ebin
38c9763d48 Autotest: GPS disable test skipped when AHRS_EKF_TYPE is 10 2019-09-18 07:07:08 +10:00
Ebin
c449be3afb Autotest: Balance Bot changes to Acro after Auto mission instead of Loiter 2019-09-18 07:07:08 +10:00
Peter Barker
8736a13a87 Tools: autotest: fix for Plane receiver health test
Won't be healthy until SITL is repolled for RC input
2019-09-17 13:31:06 +10:00
Peter Barker
1a7284ca73 Tools: autotest: add test for spline-as-last-waypoint 2019-09-17 09:05:23 +09:00
Peter Barker
192b275837 Tools: Replay: add dummy AP::advancedfailsafe method 2019-09-17 09:13:43 +10:00
Peter Barker
bba019abc2 Tools: autotest: add basic tests for AP_AdvancedFailsafe 2019-09-17 09:13:43 +10:00
Andrew Tridgell
84b035692f Tools: added --no-bl option to configure_all.py 2019-09-16 12:53:44 +10:00
Andrew Tridgell
ab5868c0fa Tools: added CubeBlack+ to autobuild 2019-09-16 12:53:44 +10:00
Andrew Tridgell
7b398d5336 Tools: added CubeBlack+ bootloader 2019-09-16 12:53:44 +10:00
Peter Barker
36ba3a6e4c Tools: autotest: add test for follow mode 2019-09-16 12:00:11 +10:00
Peter Barker
4a35e8ee74 Tools: autotest: skip MIS_TOTAL parameter test on Tracker
This is CMD_TOTAL not MIS_TOTAL, and doesn't have facility for flags.
2019-09-14 09:26:11 +10:00
bnsgeyer
6074b1b7c9 Tools: add RPM to units list 2019-09-13 08:53:54 +09:00
Andrew Tridgell
f881e4a248 Tools: autobuild skyviper-journey 2019-09-12 14:02:36 +10:00
Andrew Tridgell
6c6a7cc675 Tools: removed old SkyViper-F412 defaults file 2019-09-12 14:02:36 +10:00
Andrew Tridgell
d9e3a01e57 Tools: fixed vsnprintf assumption in AP_Bootloader 2019-09-12 08:43:31 +10:00
Andrew Tridgell
bc0b9337a0 AP_Periph: fixed vsnprintf return assumption 2019-09-12 08:43:31 +10:00
Peter Barker
db6896d414 Tools: autotest: add Calvert Radio Aero Modeller's Society location 2019-09-11 06:55:59 +10:00
Peter Barker
6352e10811 Tools: scripts: build_ci.sh: understand env CI_BUILD_DEBUG 2019-09-11 06:55:37 +10:00
ken
00247e9d6a Tools: added name to GIT_Success.txt 2019-09-10 15:53:54 +09:00
Andrew Tridgell
728e790873 AP_Periph: added README for AP_Periph development 2019-09-10 16:40:25 +10:00
Andrew Tridgell
42d72cfd66 AP_Periph: re-init LEDs at 1Hz 2019-09-10 16:40:03 +10:00
Andrew Tridgell
dec72302f2 AP_Periph: added a rainbow pattern on startup of CUAV_GPS 2019-09-10 16:22:33 +10:00
Andrew Tridgell
a4b3467dad Tools: update CUAV_GPS bootloader 2019-09-10 16:22:33 +10:00
Andrew Tridgell
a42560ea27 AP_Bootloader: fixed CAN stay in bootloader functionality 2019-09-10 16:22:33 +10:00