Commit Graph

1170 Commits

Author SHA1 Message Date
Peter Barker
aa36d20aa1 Tools: autotest: add steps to autotest to build and run unit tests
This is Linux-specific ATM
2018-08-15 12:11:43 +10:00
Peter Barker
8e3b69bca0 Tools: autotest: add flaps test 2018-08-15 10:16:13 +10:00
Pierre Kancir
a8ea84a729 Tools: autotest: clean function arguments 2018-08-15 10:16:13 +10:00
Peter Barker
6e7e24ac91 Tools: autotest: raise exception, don't return it
Spotted by @khancyr
2018-08-15 10:16:13 +10:00
Pierre Kancir
579d471e98 Tools: use set_parameter instead of mavproxy directly 2018-08-15 10:16:13 +10:00
Peter Barker
eba8dee371 Tools: autotest: add test for delay-until-absolute-hour-minute-second 2018-08-08 08:41:22 +10:00
Peter Barker
e932f873cc Tools: autotest: use component id 250 so we have something different to mavproxy 2018-08-08 08:41:22 +10:00
Peter Barker
b8c0199853 Tools: autotest: add test for copter's NAV_DELAY function 2018-08-07 22:37:07 +10:00
Randy Mackay
56a89c0a1c Tools: balance bot default params for SERVOx_FUNCTION 2018-08-06 11:30:22 +09:00
Randy Mackay
ddc5b031e3 Tools: balance bot autotest params in alphabetical order 2018-08-06 11:30:22 +09:00
Peter Barker
7772279785 Tools: param_parse.py - fix vehicle-specific values 2018-08-06 12:27:56 +10:00
Peter Barker
81b1270db9 Tools: autotest: use tcp for mavproxy-to-autotest mavlink 2018-08-05 16:07:15 +10:00
Peter Barker
af37e10126 Tools: autotest: factor out starting of our our mavlink connection 2018-08-04 10:07:22 +10:00
Peter Barker
dab93750a0 Tools: add test for rc overrides 2018-08-03 13:07:50 +10:00
Pierre Kancir
a262099d35 Tools: arducopter.py: set submode change as test 2018-08-03 08:57:50 +10:00
Pierre Kancir
a930822d9d Tools: unify exception on os.link 2018-08-03 08:40:33 +10:00
Peter Barker
0f50cf96ca Tools: Frame_Params: correct for CH7 -> RC7 change 2018-08-02 08:26:03 +10:00
Pierre Kancir
d507805891 Tools: move guided_achieve_heading to common 2018-08-01 16:33:55 +10:00
Pierre Kancir
ef6db4da4a Tools: correct run_cmd 2018-08-01 16:33:07 +10:00
Pierre Kancir
facc254138 Tools: move run_cmd to common 2018-08-01 16:33:04 +10:00
Andrew Tridgell
6090820bdc autotest: disable the Drive Brake test in rover
this test fails far too often
2018-08-01 14:03:26 +10:00
Peter Barker
b8030816b8 Tools: autotest: add tests for mode changes for Copter and Rover 2018-08-01 12:11:30 +09:00
Michael du Breuil
90216f7cb6 Tools: Slow rover test down for CI, remove unneeded variable 2018-08-01 09:19:20 +10:00
Peter Barker
baf869f8d6 Tools: autotest: add test for autotune 2018-07-31 13:37:43 +09:00
Peter Barker
20c1c4c684 Tools: autotest: add test for guided changing submode after takeoff 2018-07-31 10:40:57 +10:00
Peter Barker
56a4cd43d4 Tools: autotest:eliminate parameter restore using contexts 2018-07-31 10:40:57 +10:00
Peter Barker
9cd8745394 Tools: autotest: allow use of --gdb when no DISPLAY available
OTOH, screen will be required....
2018-07-30 11:18:40 +10:00
Andrew Tridgell
037d7d2e74 autotest: raised timeout on set_rc()
when under load at high speedup the msgs can take a while to get
through
2018-07-28 18:05:12 +10:00
Ebin
9c3b7e7c7d Tools: Autotest for balance bot 2018-07-28 08:44:18 +10:00
Ebin
d3846420aa Tools: new default params for balance bot 2018-07-28 08:44:18 +10:00
Peter Barker
6dd8dbeb40 Tools: autotest: add ability to add breakpoints in autotest 2018-07-27 09:58:15 +10:00
Peter Barker
8c44a0d8c8 Tools: autotest: add contexts to ease reverting parameter values 2018-07-27 09:55:25 +10:00
Peter Barker
b47c63c7bd Tools: autotest: wait_ekf_happy checks status bits rather than value
Based on discussions prompted by @khancyr's PR
https://github.com/ArduPilot/ardupilot/pull/8022

Check that we have bits set we want set and that bits we don't want set
aren't set.  In the future we might take these bit sets as parameters.
2018-07-27 09:55:20 +10:00
Ebin
830a3bbacf Tools: modified default params for Balance Bot 2018-07-20 14:41:32 +10:00
Andrew Tridgell
d49d5cbb85 autotest: fixed tailsitter default params for SITL 2018-07-18 19:58:02 +10:00
Peter Barker
8fdcd7e1f5 Tools: hide parameter in documentation if no values present 2018-07-17 12:08:27 +10:00
Pierre Kancir
0af97529ba Tools: common.py : fix empty returned_value variable 2018-07-12 21:13:02 +10:00
Pierre Kancir
065a459df8 Tools: common.py : make some method statics 2018-07-12 21:13:02 +10:00
Pierre Kancir
6c43ab27c1 Tools: remove trailling semilocons 2018-07-12 21:13:02 +10:00
Peter Barker
b23ea9a47b Tools: autotest: fix race condition on parameter values 2018-07-05 11:48:08 +10:00
Peter Barker
4c581a0522 Tools: autotest: correct invocation of build_all 2018-07-05 09:02:02 +10:00
Peter Barker
fa19c3a680 Tools: autotest: fix sub autotest 2018-07-04 14:48:41 +10:00
Peter Barker
0ae82751b8 Tools: autotest.py: flake8 compliance
Also fixed a bug where CalledProcessError has not been imported
2018-07-04 14:05:07 +10:00
Peter Barker
8f15a76327 Tools: autotest: sim_vehicle.py: whitespace changes for flake8 compliance 2018-07-04 09:36:48 +10:00
Michael du Breuil
7e7bbb8df6 Tools: sim_vehicle.py fixups
limit pkill to 15 characters, fix GDB arguments for python3
2018-07-04 09:36:48 +10:00
Andrew Tridgell
b527dce08d autotest: use --enable-sfml for graphics 2018-07-02 10:43:48 +10:00
Andrew Tridgell
00b2cc4a93 Tools: support --osd option to sim_vehicle.py 2018-07-01 21:21:28 +10:00
Peter Barker
38898dc793 Tools: autotest: add test for vision position estimate 2018-06-30 10:11:10 +10:00
Peter Barker
b197d05476 Tools: autotest: allow for return of negative values in parameters 2018-06-29 21:39:59 +10:00
Peter Barker
975b8c2e5f Tools: autotest: use reboot to apply parameter changes; avoid sim restart
Previously we stopped the simulation to ensure parameter changes are
applied to the simulated vehicle.  We can now reboot the simulated
autopilot, so these patches make use of those changes.

One big advantage is that the --gdb option is in play for the applying
of the parameters to the vehicle.
2018-06-29 10:54:27 +10:00