Commit Graph

1813 Commits

Author SHA1 Message Date
Samuel Tabor
0df6d74d77 AP_Soaring: Update autotest to use delay_sim_time not wait_seconds. 2020-04-08 09:11:54 +10:00
Samuel Tabor
7168a65155 Autotest: Simplify soaring.py. 2020-04-08 09:11:54 +10:00
Samuel Tabor
528dcc3f6b Autotest: Add test for soaring. 2020-04-08 09:11:54 +10:00
Samuel Tabor
a18d6e925d AP_Soaring: Improved default sim parameters. 2020-04-08 09:11:54 +10:00
Samuel Tabor
5082c9be8b SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings. 2020-04-08 09:11:54 +10:00
Peter Barker
5881692e4f autotest: sub: fix altitude-hold for being below target altitude 2020-04-07 14:51:32 +10:00
Peter Barker
52bb7760bc autotest: add debug for COMMAND_LONG commands 2020-04-06 10:07:26 +10:00
Peter Barker
d966f5718d autotest: add option to list subtests 2020-04-03 17:00:22 +11:00
Peter Barker
45ccced4df autotest: add examples to help output 2020-04-03 17:00:22 +11:00
Peter Barker
47e03d4e62 autotest: loosen epsilon on arriving at boundary
We don't always get within 2.5m
2020-04-02 12:56:24 +11:00
Peter Barker
4bab3c083e autotest: sort messages in logger documentation output files 2020-04-02 10:57:40 +11:00
Peter Barker
cbe1dba781 autotest: loosen slowdown constraint on zigzag test 2020-04-02 09:39:27 +11:00
Pierre Kancir
5d299eb584 Tools: add error keyword on param parse for newcomers 2020-04-02 08:11:42 +11:00
Peter Barker
f450df18b0 autotest: allow more time to loiter to ne in precision test 2020-04-01 21:51:22 +11:00
Peter Barker
2fb31e69ea autotest: correct test class map for Helicopter 2020-04-01 11:17:56 +11:00
Peter Barker
9da91b2005 autotest: execute check-logs step for Tracker
... and newly-renamed steps.

Also, eliminate no-longer needed step prefixes as we've canonicalised
them.
2020-03-30 13:34:08 +11:00
Peter Barker
53ced35f9d autotest: correct bytes decoding for Python3 in Logger documentation 2020-03-29 14:44:36 +11:00
Peter Barker
b8dba9886f autotest: Python3 fixes for LTM tests 2020-03-29 10:00:08 +11:00
Pierre Kancir
aec5ae91fa Tools: adjust zigzag timing to pass test 2020-03-27 22:13:52 +11:00
Pierre Kancir
3f441e61cd Tools: copter : make zigzag more verbose 2020-03-27 22:13:52 +11:00
Pierre Kancir
f24f97e51b Tools: sub: update to new wait functions
Signed-off-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
2020-03-27 22:13:52 +11:00
Pierre Kancir
aba594fe2d Tools: copter: update exception for rangefinder test 2020-03-27 22:13:52 +11:00
Pierre Kancir
1689714a5c Tools: copter: add more verbose on fly_guided_change_submode 2020-03-27 22:13:52 +11:00
Pierre Kancir
56298aabda Tools: update arduplane.py wait function parameters 2020-03-27 22:13:52 +11:00
Pierre Kancir
e4eebce5a6 Tools: update arducopter.py to use new wait functions 2020-03-27 22:13:52 +11:00
Pierre Kancir
2d65cbd884 Tools: Common : create generic wait_and_maintain function, upgrade all wait functions to use it 2020-03-27 22:13:52 +11:00
Peter Barker
87d363c3f4 Tools: use renamed autotest step names 2020-03-27 18:20:52 +11:00
Peter Barker
be49396d32 autotest: canonicalise step names (e.g. drive.APMrover2 -> test.Rover)
Map from older step names to newer test names added for
backwards-compatability
2020-03-27 09:29:19 +11:00
Peter Barker
bfc4802b37 autotest: fix sitl reboot 2020-03-25 20:19:25 +11:00
Rishabh
c859287310 Tools: param_metadata: check for duplicate enteries in parameter value field 2020-03-24 10:26:04 +11:00
Peter Barker
6206cbd1fa autotest: add sanity checking for undocumented/overdocumented logger messages 2020-03-22 18:35:14 +11:00
Peter Barker
e671a0912e autotest: logger_metadata: understand , in @LoggerMessage
This means multiple messages use exactly the same meaning in the fields

Also retain ordering of fields
2020-03-21 09:34:43 +11:00
Peter Barker
28c3ba32ae autotest: add test for AP_Logger documentation generation 2020-03-20 13:05:46 +11:00
Peter Barker
60ff6c0b24 autotest: add parser for the logger metadata 2020-03-20 13:05:46 +11:00
Peter Barker
741d3e1435 autotest: make verify_parameter_values more verbose 2020-03-20 13:05:15 +11:00
Peter Barker
30baad35b2 autotest: improve debug on RC override test timeout 2020-03-20 12:19:44 +11:00
Peter Barker
403950f61f autotest: add autotests for CPU failsafe 2020-03-20 12:19:21 +11:00
Peter Hall
32276d9725 Tools: autotest: apmrover2: add more scripts to and enable internal test 2020-03-19 15:28:39 -07:00
Peter Barker
92d2186b95 autotest: don't use self.mav.motors_disarmed_wait as it blocks forever 2020-03-17 16:31:29 +11:00
Andy Piper
718a6593e6 autotest: disable harmonic FFT test 2020-03-13 21:10:56 +11:00
Andy Piper
7c1757bab4 autotest: separate out harmonic matching test
be more forgiving about harmonic fit detection due to imperfect simulation
use the fft length to determine how accurate the frequency match should be
2020-03-13 21:10:56 +11:00
Callan Daniel
f1d6588954 add to locations.txt
Add Highway Airfield (South Africa) to locations.txt
2020-03-13 11:08:33 +11:00
Andy Piper
94ff5d13c0 autotest: limit frequency matching to resolution of the FFT 2020-03-10 15:04:46 +11:00
Peter Barker
5f8b7e990e autotest: make scripts directory relative to CWD
This is where the library is expecting to find the scripts directory.

The existing setup assumes that autotest has been run from the root
directory - that's not always the case.  For example, the autotest
server starts everything one-up from the root directory.
2020-03-09 14:34:02 +11:00
murata
d4d1eac612 Tools: Add Hachinohe mine 2020-03-07 21:07:16 +11:00
Peter Barker
d464db9c70 Tools: create log of build_binaries.py builds 2020-03-07 20:49:36 +11:00
Peter Barker
dc8e1bd4a4 autotest: flake8 fixes 2020-03-07 20:45:26 +11:00
Peter Barker
c7aff4eb11 autotest: fixes for quadplane fft test
recv_match's result is not iterable; it just gives you a single message.

printing the stacktrace when assigning to ex is tradition - we tend to
lose the stack traces otherwise

rebooting sitl is usually required if the context we've just popped had
a reboot in it (usually indicating a reboot-required parameter was set).
So I added a reboot after the context pop.
2020-03-07 20:45:26 +11:00
Andy Piper
de55e4dcc2 autotest: disable harmonic matching test 2020-03-07 20:44:52 +11:00
Andy Piper
eb0923a018 autotest: separate out harmonic matching test 2020-03-07 20:44:52 +11:00