Commit Graph

2561 Commits

Author SHA1 Message Date
Andrew Tridgell 0e5dee05d1 Tools: added --postype-single for sim_vehicle.py 2021-07-04 08:19:11 +10:00
Peter Barker 9205f379cf autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-07-04 08:19:11 +10:00
Peter Barker 1e55b377c1 autotest: shift where we print which attempt we are doing 2021-07-04 08:19:11 +10:00
Randy Mackay 8667130db7 Tools: autotest of vibration failsafe 2021-07-04 08:19:10 +10:00
Peter Barker 55e8922c3c autotest: correct placement of not-alive-after-test message
This was misplaced with bad conflict resolution
2021-07-04 08:19:10 +10:00
Peter Barker e51631c8b0 autotest: emit 'attempt 1/3' when retrying set_parameter
Also reterm things in terms of attempts rather than retries
2021-07-04 08:19:10 +10:00
Peter Barker 19e3e3d1a0 autotest: ensure no stray message listeners after test 2021-07-04 08:19:10 +10:00
Peter Barker 824a50999e autotest: timeout in wallclock time in config error loop test
SYSTEM_TIME is not sent in config error loop
2021-07-04 08:19:10 +10:00
Peter Barker eda7dff54d Tools: param_metadata: disallow @Values and @Bitmask at same time 2021-07-04 08:19:10 +10:00
Peter Barker bf80c44408 Tools: add rc channel option to disable all airspeed sensors 2021-07-04 08:19:10 +10:00
Peter Barker f032a1d404 autotest: revert to subprocess.check_call
.run is only Python3
2021-07-04 08:19:10 +10:00
Peter Barker 05f5dcbed7 autotest: disable autotesting of tri frame as it is still busted 2021-07-04 08:19:10 +10:00
Peter Barker e27015f75e autotest: verify roll/pitch are not adversely affected by yaw inputs 2021-07-04 08:19:10 +10:00
Peter Barker 0564ba1870 autotest: ensure reasonable yawrate on takeoff in FlyEachFrame 2021-07-04 08:19:10 +10:00
Peter Barker c432e032d8 autotest: add FlyEachFrame test for Plane 2021-07-04 08:19:10 +10:00
Pierre Kancir 32bb616bb5 Tools: autotest.py: total flake8 compliance. 2021-07-04 08:19:10 +10:00
Pierre Kancir 25d3659cb1 Tools: autotest: correct exception handling on unit test run. 2021-07-04 08:19:10 +10:00
Peter Barker 4a08f1334a autotest: improve diagnostics around touchdown/takeoff expected tests
Also looks at last result as we don't appear to have a consistent number
in our tests
2021-07-04 08:19:10 +10:00
Peter Barker ec1cf2f3af autotest: let arming failure messages get spit out 2021-07-04 08:19:10 +10:00
Peter Barker da785c5ba2 Tools: remove HIL support 2021-07-04 08:19:10 +10:00
Peter Barker 2494993b3b autotest: add trivial test for smart battery logging 2021-07-04 08:19:10 +10:00
Peter Barker cea0d7c971 autotest: move autotest tlog files into buildlogs directory 2021-06-11 22:14:11 +10:00
Peter Barker e77512ba08 autotest: add method to create simple relative-to-home mission 2021-06-11 16:59:51 +10:00
Peter Barker 14b2af84ab autotest: break out a home_relative_loc_ne for getting a home-rel loc 2021-06-11 16:59:51 +10:00
Peter Barker 96e14d470a autotest: retry SITL connect many times while running under GDB
Allows for easier debugging under gdb when checking startup code
2021-06-11 11:15:58 +10:00
Peter Barker 0b517cfc57 autotest: start GDB in tui mode by default 2021-06-10 20:52:48 +10:00
Peter Barker fd792bebf8 autotest: wipe SITL state after temperature cal test
ArduPilot internals are fiddling state that the autotest suite is
unaware of, so wipe the eeprom after the test
2021-06-09 14:14:06 +10:00
Peter Barker 79de738266 autotest: wait for a few seconds for arm-failure messages to appear
If prearms never come true then we try to arm the vehicle so it tells us
what is wrong.  Since we no longer push statustexts hard, we have to
wait for the reasons to come out at normal clocked rates.
2021-06-09 14:13:54 +10:00
Peter Barker 6af6d2fc2a autotest: add a progress message for looking for a message in a log 2021-06-09 14:13:31 +10:00
Peter Barker 6944ef6af1 autotest: fly each working Helicopter frame 2021-06-09 12:15:42 +10:00
Randy Mackay 058d4299ad Tools: update SITL tri and hexa gains 2021-06-08 19:11:32 +10:00
Andrew Tridgell 3be7f1ae23 autotest: removed tri from doesn't fly list 2021-06-08 19:11:32 +10:00
Andrew Tridgell 0876cb9cd6 autotest: fixed defaults for tricopter 2021-06-08 19:11:32 +10:00
arsh 45f1d03bda autotest:Copter test fix for some frames
removed some lines

Whitespace messages removal
2021-06-08 16:50:37 +10:00
Peter Barker 0bd9610687 autotest: add trivial test for BodyFrameOdom 2021-06-04 15:09:51 +10:00
Randy Mackay e8947dfb47 Tools: reduce copter autotest rate yaw P and I gains
affects quad, hexa, octa, octa-quad, deca, tri, y6, dodeca-hexa
2021-06-03 12:20:43 +09:00
yaapu b14dcf1df5 Tools:autotest: updated FRSky SPort test to use new 2 byte data IDs 2021-06-02 17:33:15 +10:00
Pierre Kancir cf350a52e9 Tools: Autotest: add --coverage option 2021-06-02 14:42:59 +10:00
Peter Barker 2439587c5a autotest: add tests for ground effect compensation active in EKF 2021-06-02 11:13:16 +09:00
Peter Barker 8925c2830b autotest: check fence upload/download when creating from locs 2021-06-01 15:54:59 +10:00
Peter Barker c1a20ceab4 autotest: add test to catch bug with opticalflow if no rangefinder 2021-06-01 11:31:42 +10:00
Randy Mackay 26ea80fc62 Tools: update default params for copter-optflow.parm 2021-06-01 09:57:16 +10:00
Pierre Kancir 7e389afbec Tools: allow to build examples and tests with debug 2021-05-26 18:46:03 +10:00
Pierre Kancir 58358d9f97 Tools: correct arguments passing on autotest.py 2021-05-26 18:46:03 +10:00
Leonard Hall 1326dbe2ee AutoTest: Sub: Add appropriate pid parameters for highly damped system 2021-05-24 20:13:37 +10:00
Leonard Hall 41c437b768 AutoTest: Copter: fly_poshold_takeoff increase acceptable range 2021-05-24 20:13:37 +10:00
Pierre Kancir 458b6084fa Tools: don't make report test failure on coverage 2021-05-20 14:54:47 +10:00
Peter Barker c7a9fb3c9c autotest: retry dynamic notches 8 times before failing
This test is flapping.

This is a poor - but serviceable - workaround.
2021-05-18 11:13:10 +10:00
Peter Barker 0a06a9e446 param_metadata: reinstance @Values/@Bitmask magic for excluding params from vehicle output 2021-05-17 10:18:35 +10:00
Peter Barker eb2b1b3231 Tools: param_meteadata: correct @Values{Plane} etc handling 2021-05-17 10:18:35 +10:00