Willian Galvani
51882bfd6d
Tools: Autotest: Sub: include tests for holding depth in arbitrary attitudes
2022-04-28 15:25:49 -03:00
Willian Galvani
ea08167626
Tools: update sub autotest params
2022-04-25 18:43:51 -03:00
Willian Galvani
c5be6de114
Autotest: Sub: fix sub tests for new althold implementation
...
With this implementation (same as copter's) 1450 is within the pilot deadzone,
which breaks the test.
2022-04-19 20:42:31 -03:00
Willian Galvani
44c3943b72
Autotest: Sub: tighten default watch_altitude_maintened delta
2022-04-19 20:42:31 -03:00
Willian Galvani
d149602742
Autotest: Sub: Add depth hold cases of large buoyancies and small inputs
2022-04-19 20:42:31 -03:00
Peter Barker
f9496843de
autotest: comment out probably-defunct test
2021-12-18 12:17:22 +09:00
Andy Piper
ae1f274919
autotest: set SMAX during autotune test
2021-11-29 19:02:38 +09:00
Peter Barker
2bf777ccb7
autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
...
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.
Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-11-29 19:02:38 +09:00
Peter Barker
4903224b47
autotest: add test for FETtec OneWire ESCs
...
make sure the SERVO_FWT_MASK is valid:
- it can have bit gaps between active channels, but channels higher than 12 are not allowed (AP_EST_TELEM limitation)
- Explain that the FETtec ESC IDs inside the FETtec Firmware need to be contiguous and start at 1.
add tests for ESC power outages
add test that safety switch zeroes PWM for FETtec ESC
a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
2021-11-29 19:02:38 +09:00
Samuel Tabor
b733f6cd95
autotest: fly_mission should respect mission_timeout when waiting for wps.
2021-11-29 19:02:38 +09:00
Samuel Tabor
5eea705234
autotest: Add plane test for landing with barometer drift.
2021-11-29 19:02:38 +09:00
Andrew Tridgell
3d58d71dfa
autotest: disable broken test
...
missing upload_square_mission_items_around_location
2021-08-28 14:41:27 +09:00
Andrew Tridgell
eac9ec4392
autotest: add test for two consecutive drops with no reboot
2021-08-28 14:41:27 +09:00
Peter Barker
4180fad6af
autotest: rover: wait ready to arm before running motor test
2021-08-14 10:44:08 +09:00
Paul Riseborough
ad15d62941
Tools: Rework Plane.EKFlaneswitch autotest
2021-07-22 19:07:36 +09:00
Paul Riseborough
697cc5cb44
Tools: Rework Copter VibrationFailsafe test to use commanded land
2021-07-22 19:07:36 +09:00
Paul Riseborough
21dfefa5f2
Tool: Allow more time for quadplane autotest to land and disarm
2021-07-22 19:07:36 +09:00
Paul Riseborough
ed30a7ce35
Tools: relax navigation test accuracy
2021-07-22 19:07:36 +09:00
Paul Riseborough
8db073a8d6
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-22 19:07:36 +09:00
Peter Barker
65d0dcf3b7
Tools: split yaw-vehicle-for-mount-roi test out
2021-07-22 19:07:36 +09:00
Leonard Hall
88042ec153
Tools: Autotest update guided bitbask to include acceleration
2021-07-22 19:07:36 +09:00
Andrew Tridgell
72be5fc575
autotest: adjust test_altitude_types for small change in longitude_scale
2021-07-22 19:07:36 +09:00
Andrew Tridgell
df9950fbb3
Tools: allow for double EKF build
2021-07-22 19:07:36 +09:00
Andrew Tridgell
d81b758d77
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-06-29 15:41:26 +10:00
Peter Barker
99a0f5a86a
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-06-27 11:09:39 +10:00
Randy Mackay
5ec75578ab
Tools: add copter gps_glitch_loiter_test2
...
checks for twitches in Loiter after GPS glitch
2021-06-25 16:52:57 +09:00
Andrew Tridgell
220107b2a6
Tools: added boat circuit for Rabi
2021-06-25 15:33:55 +10:00
Andrew Tridgell
396094a82c
Tools: added a mission around Rabi, close to -180 degrees lon
2021-06-25 15:33:55 +10:00
Andrew Tridgell
75ae2548a7
Tools: added some locations close to the date line
2021-06-25 15:33:55 +10:00
Andrew Tridgell
3204ce4bf1
Tools: added --postype-single for sim_vehicle.py
2021-06-24 21:34:30 +10:00
Peter Barker
4c173e01ef
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-06-24 17:58:31 +10:00
Peter Barker
4bb91d1ec1
autotest: shift where we print which attempt we are doing
2021-06-24 17:58:31 +10:00
Randy Mackay
f3c96b438b
Tools: autotest of vibration failsafe
2021-06-24 08:34:56 +10:00
Peter Barker
b58e7bedaa
autotest: correct placement of not-alive-after-test message
...
This was misplaced with bad conflict resolution
2021-06-24 08:34:06 +10:00
Peter Barker
d6f619fb1a
autotest: emit 'attempt 1/3' when retrying set_parameter
...
Also reterm things in terms of attempts rather than retries
2021-06-24 08:30:03 +10:00
Peter Barker
99c7d3aabc
autotest: ensure no stray message listeners after test
2021-06-23 21:55:32 +10:00
Peter Barker
6a8ca9e45b
autotest: timeout in wallclock time in config error loop test
...
SYSTEM_TIME is not sent in config error loop
2021-06-23 21:55:32 +10:00
Peter Barker
b6d5569244
Tools: param_metadata: disallow @Values and @Bitmask at same time
2021-06-23 18:37:34 +10:00
Peter Barker
7842f55a3b
Tools: add rc channel option to disable all airspeed sensors
2021-06-23 15:13:13 +10:00
Peter Barker
d82a229584
autotest: revert to subprocess.check_call
...
.run is only Python3
2021-06-22 20:24:07 +10:00
Peter Barker
8395bf617f
autotest: disable autotesting of tri frame as it is still busted
2021-06-21 21:17:10 +10:00
Peter Barker
697fbb0db0
autotest: verify roll/pitch are not adversely affected by yaw inputs
2021-06-21 21:17:10 +10:00
Peter Barker
4c20bc2d9d
autotest: ensure reasonable yawrate on takeoff in FlyEachFrame
2021-06-21 21:17:10 +10:00
Peter Barker
d3f90bde7f
autotest: add FlyEachFrame test for Plane
2021-06-21 14:13:18 +10:00
Pierre Kancir
39c96f63c8
Tools: autotest.py: total flake8 compliance.
2021-06-18 16:03:51 +10:00
Pierre Kancir
7ddb4d681d
Tools: autotest: correct exception handling on unit test run.
2021-06-18 16:03:51 +10:00
Peter Barker
723d2dee00
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-06-18 09:03:34 +09:00
Peter Barker
210818cd6e
autotest: let arming failure messages get spit out
2021-06-17 21:01:23 +10:00
Peter Barker
47a778d033
Tools: remove HIL support
2021-06-15 09:47:31 +10:00
Peter Barker
61fda691f2
autotest: add trivial test for smart battery logging
2021-06-15 09:46:26 +10:00