Commit Graph

2579 Commits

Author SHA1 Message Date
Andrew Tridgell 5aec2cdafe autotest: disable broken test
missing upload_square_mission_items_around_location
2021-08-16 15:03:55 +10:00
Peter Barker 9ac384f7ee autotest: rover: wait ready to arm before running motor test 2021-08-14 16:41:52 +10:00
Paul Riseborough aef90fc2c6 Tools: Rework Plane.EKFlaneswitch autotest 2021-07-25 09:30:25 +10:00
Paul Riseborough 02dcba8b6a Tools: Rework Copter VibrationFailsafe test to use commanded land 2021-07-25 09:30:25 +10:00
Paul Riseborough a829bc435c Tool: Allow more time for quadplane autotest to land and disarm 2021-07-25 09:30:25 +10:00
Paul Riseborough 21c4058acf Tools: relax navigation test accuracy 2021-07-25 09:30:25 +10:00
Paul Riseborough c087be94cb Tools: Fix AIRSPEED_AUTOCAL test failure
The mission plan for this test causes a lot of overshoot when turning onto final approach with the result that there is still some lateral offset when passing the landing waypoint that is not a measure of estimator accuracy.
2021-07-25 09:30:25 +10:00
Peter Barker 0761aeff5a Tools: split yaw-vehicle-for-mount-roi test out 2021-07-25 09:30:25 +10:00
Andrew Tridgell 8b3e389112 autotest: add test for two consecutive drops with no reboot 2021-07-22 16:01:01 +10:00
Leonard Hall 52d054b9c8 Tools: Autotest update guided bitbask to include acceleration 2021-07-22 16:01:00 +10:00
Andrew Tridgell 7e50577ca5 autotest: adjust test_altitude_types for small change in longitude_scale 2021-07-22 16:01:00 +10:00
Andrew Tridgell 6171006579 Tools: allow for double EKF build 2021-07-22 16:01:00 +10:00
Andrew Tridgell b92913f210 autotest: support using geocoder for -L location
this allows for location names from OSM, for example:

  sim_vehicle.py -L '26 Carstensz St Griffith' --console --map
2021-07-04 08:19:11 +10:00
Peter Barker a5b1b2d83e autotest: disable quadplane ConfigErrorLoop test
failing on the autotest server (and locally).

AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: AP: Config error: Baro: unable to initialise driver
AT-1474.6: AP: Config Error: fix problem then reboot
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
2021-07-04 08:19:11 +10:00
Randy Mackay 1a6ce59bf4 Tools: add copter gps_glitch_loiter_test2
checks for twitches in Loiter after GPS glitch
2021-07-04 08:19:11 +10:00
Andrew Tridgell 7e60b7f117 Tools: added boat circuit for Rabi 2021-07-04 08:19:11 +10:00
Andrew Tridgell 2b94316037 Tools: added a mission around Rabi, close to -180 degrees lon 2021-07-04 08:19:11 +10:00
Andrew Tridgell a40cffbb2d Tools: added some locations close to the date line 2021-07-04 08:19:11 +10:00
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