Commit Graph

5960 Commits

Author SHA1 Message Date
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
Rafael Araujo Lehmkuhl cbf2bdb178 Tools: Allow direct execution of firmware_version_decoder.py from command line 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
Andrew Tridgell 954862fabf waf: added --postype-single option
for SITL with single precision postype_t
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
Peter Barker 10a4588f99 Tools: mark decode_watchdog.py flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker af9f206b99 Tools: mark build_examples.py flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 6369149217 Tool: uploader.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 09cf2cfc56 Tool: make_apj.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 919a93ccb4 Tool: pretty_size_diff.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker aae3d4d1db Tools: decode_ISCR.py: flake8-clean 2021-07-04 08:19:10 +10:00
Peter Barker 66e8b9128a Tools: build_iofirmware.py: flake8-clean 2021-07-04 08:19:10 +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
= 0937223c86 Tools: added name to GIT_Success.txt 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
Pierre Kancir ba4634a775 AP_Common: add more unitttests 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 72f06201f9 Tools: remove more CAN stuff from coverage statistics 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
QioTek 9ed396716b AP_Bootloader: added QioTekZealotH743 board type
AP_Bootloader: added QioTekZealotH743 board type
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
Patrick José Pereira 9211f6d351 Tools: Add navigator board in common boards
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-06-11 14:43:48 -04: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
Tom Pittenger 4d0f5a1db6 AP_Periph: add support for multiple protocols on AP_Periph 2021-06-09 18:36:18 +10:00
Tom Pittenger 8ada37edb8 AP_Periph: add support for MPPT Battery driver 2021-06-09 18:36:18 +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