Commit Graph

2602 Commits

Author SHA1 Message Date
ES-Alexander
3b760d41c9 Tools: parameters: mdemit: stop hiding usable params (Sub) 2022-12-17 11:56:45 +11:00
Peter Barker
74f8ceeb41 autotest: param_parse.py: correct JSON output 2022-11-02 14:14:39 -03:00
ES-Alexander
ca402ffb2e Tools: autotest: param_metadata: mdemit: update to new BR docs structure 2022-10-24 22:30:18 -03:00
ES-Alexander
682fc07017 Tools: autotest: param_metadata: mdemit: reduce redundancy 2022-10-24 22:30:18 -03:00
Willian Galvani
b17ad8628e Tools: test mode changes in hover ignore test for sub 2022-10-13 10:10:22 -03:00
Willian Galvani
1f19bf6c68 Sub: add test to make sure changing modes does not cause altitude changes 2022-09-28 13:37:02 -03:00
Willian Galvani
97c626bbc1 Tools: tweak sub tests 2022-09-28 11:30:33 -03:00
Willian Galvani
8c5c1bd5fc Tools: Autotest: fix python style 2022-05-25 14:40:19 -03:00
Iampete1
35db95f062 Tool: autotest: defaults: remove MOT_PWM_MIN and _MAX 2022-05-25 14:40:19 -03:00
Iampete1
a47a306a83 Tools: autotest: copter: remove check for PWM min/max zero 2022-05-25 14:40:19 -03:00
Iampete1
5684353000 Tools: autotest: update quadplane throttle min param name 2022-05-25 14:40:19 -03:00
Willian Galvani
8d0fffaea1 Tools: Atutotest: Sub: add more checks for depth hold 2022-04-29 11:29:06 -03:00
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