Commit Graph

726 Commits

Author SHA1 Message Date
Peter Barker
208554d402 autotest: correct diagnostic message 2022-06-29 21:03:42 +10:00
Peter Barker
f6816f38dc autotest: add timeout in drain_mav
At large speedups we can create more telemetry than we can consume.  Detect that and raise an exception, assuming we should be able to drain anything within 2 minutes
2022-06-29 21:03:42 +10:00
Peter Barker
08ae4f050c autotest: fix race condition in button test
The subsequent test could end up arming the vehicle based on this left-over state.
2022-06-16 21:24:31 +10:00
Peter Barker
39a0ecbb4b autotest: check rate is configured after we do the rate check
This is just to make sure that the autopilot isn't losing the configuration somehow.
2022-06-16 10:04:08 +10:00
Peter Barker
0697ce19d2 autotest: tidy wait_disarmed 2022-06-15 09:11:51 +10:00
Peter Barker
b550949766 autotest: scale SITL RC input according to speedup
Too slow when running at 100 times speedup
2022-06-13 21:41:41 +10:00
Peter Barker
171bdd9e5b autotest: better diagnostics for mission transfer 2022-06-12 15:56:53 +10:00
Peter Barker
e02d50d0e8 autotest: increase allowed time for mission item download
Because we're involving round-trip times to the Python and back, we need to allow more time to pass on the autopilot when downloading very large missions.  Add a factor based on speedup
2022-06-12 15:56:53 +10:00
Peter Barker
ad4fc316ec autotest: increase sample period for HIGH_LATENCY2 test
Should be useful at higher speedups
2022-06-12 15:56:53 +10:00
Peter Barker
bb36cedee3 autotest: correct message hook handling
Fun with closures, and not removing hooks soon enough when popping contexts.
2022-06-12 15:56:53 +10:00
Peter Barker
b8407a4bec autotest: adjust current wp reset 2022-05-15 21:17:50 +10:00
Andrew Tridgell
151f17d563 autotest: reset mission on takeoff for quadplanes 2022-05-15 21:17:50 +10:00
Peter Barker
287573fff7 autotest: add test for large circle radii in NAV_LOITER_TURNS 2022-05-11 17:40:35 +10:00
Peter Barker
b659360d64 autotest: test DO_CHANGE_SPEED mission item for Plane 2022-05-05 10:48:35 +10:00
Peter Barker
43b5f22c1a autotest: add test for avoidance resume-auto-or-loiter action 2022-04-21 06:59:39 +10:00
Peter Barker
1340132f6f autotest: add rangefinder test 2022-04-19 10:26:10 +10:00
Peter Barker
c33f6f3a8d autotest: add tests to ensure we get BCN, RPM and PRX/PRXR log msgs 2022-04-13 16:22:19 +10:00
Peter Barker
7c526d52fe autotest: correct streaming-boolean bug for parsing of log structures from code 2022-04-06 21:54:15 +10:00
Peter Barker
55d0cf4b03 autotest: add diagnostics for log parse issues 2022-04-06 21:54:15 +10:00
Peter Barker
9f7ae1ee96 autotest: extract ids and message infos per-file, not on aggregate
Will allow for better diagnostics when something goes wrong
2022-04-06 21:54:15 +10:00
Peter Barker
582eed12bf autotest: correct extraction of fields from LogWrite messages 2022-04-05 17:57:40 +10:00
Peter Barker
62fe90caa1 autotest: add more convenience methods for checking received data 2022-04-03 09:35:09 +10:00
Peter Barker
05be2ac8c9 autotest: print mag cal progress messages when testing mag cal 2022-03-26 11:17:14 +11:00
Peter Barker
79098d1d10 autotest: correct diagnostic message symlink->link 2022-03-26 11:16:55 +11:00
Peter Barker
7a62b5429b autotest: add test for landing speed 2022-03-23 21:07:05 +11:00
Joshua Henderson
fcb0538fef autotest: common check_mission_items_same loosen z to 1E-3 2022-03-16 18:41:52 +11:00
Andrew Tridgell
6fcf85edb8 autotest: more changes for plane disarm disallow 2022-03-09 17:13:45 +11:00
m
37abfb98dc autotest: Copter Pause/Continue in AUTO and GUIDED modes with SCurves 2022-03-08 13:12:36 +09:00
Peter Barker
f2fe55b5da autotest: correct exception handling for Python 3.10 2022-03-07 19:36:05 +11:00
Peter Barker
3fa12152f6 autotest: add tests for high latency control protocol 2022-03-05 11:08:30 +11:00
Peter Barker
850227ffdb autotest: add test for THR_FAILSAFE==2 and throttle output 2022-03-01 10:29:37 +11:00
Peter Barker
122d97ece7 autotest: add comment clarifying what an error actually means 2022-02-28 12:47:57 +11:00
Peter Barker
7bb13e934d autotest: add support for multi-line log formats 2022-02-28 12:47:57 +11:00
Peter Barker
e6c1bc2402 autotest: fix MAVFTP test 2022-02-26 10:11:19 +11:00
Peter Barker
69e0e544d1 autotest: loosen constraints on AccelCal test 2022-02-23 18:50:28 +11:00
Peter Barker
50c7576506 autotest: add log download tests for dataflash-over-mavlink
You can't download logs - but we should make sure that the codepaths are
at least crossed
2022-02-20 15:39:24 +11:00
Peter Barker
376d7ade50 autotest: use assert_receive_message to remove redundant code 2022-02-15 11:06:10 +11:00
Peter Barker
fdae5f3ccc autotest: correct wait_groundspeed method 2022-02-14 14:07:47 +11:00
Peter Barker
a7d3324759 autotest: increase timeout while under Valgrind 2022-02-09 22:20:31 +11:00
Peter Barker
e3631aca91 autotest: print distance remaining while waiting for current wp 2022-02-09 19:27:21 +11:00
Peter Barker
c12e0fa3af autotest: reset rather than reboot if required on test fail 2022-02-09 17:01:07 +11:00
Peter Barker
a81a1fb19f Tools: build ArduPilot against all.xml not ardupilotmega.xml 2022-02-08 11:00:41 +11:00
Willian Galvani
6e91ae554a Tools: use relative paths for parameter files 2022-02-01 17:35:26 +11:00
VMsunghwan
5d29d945e0 autotest : Update receive
recieve -> receive
2022-01-24 18:34:21 +11:00
VMsunghwan
105fc36da5 autotest : correct in typos line 8549 Receving -> Receiving 2022-01-15 13:11:58 +11:00
Peter Barker
427c08db26 autotest: add methods for asserting received mavlink data 2022-01-04 14:37:18 +11:00
Shiv Tyagi
442e783214 Tools: fix DataFlashSITL autotest
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-12-25 09:14:31 +11:00
Peter Barker
c9cc97edbd autotest: augment estop test with post-reboot component 2021-12-17 09:58:37 +11:00
Peter Barker
474c42f9d3 autotest: move assert_prearm_failure up 2021-12-17 09:58:37 +11:00
Peter Barker
8e3265d1f6 autotest: add a test for dataflash log message rates 2021-12-07 09:39:51 +11:00