Peter Barker
0e4b41baa6
Tools: rename GPS_ to GPS1_
2024-03-19 19:50:12 +11:00
Peter Barker
89bdb14916
Tools: adjust for GPS parameter renames
2024-03-19 19:50:12 +11:00
jkronk
949dec7a1c
autotest: add Ainstein radar to copter rangefinder test
2024-03-18 12:40:37 -07:00
Peter Barker
3ca6e29ad1
autotest: reimplement wait_location with new object-based approach
...
the existing wait_and_maintain method is problematic when it comes to waiting on different value types.
2024-03-07 09:41:57 +11:00
Andrew Tridgell
e3df084b96
autotest: fixed SIM_PLD_HEIGHT for AUTO_LAND_TO_BRAKE
2024-03-06 09:39:51 +11:00
Peter Barker
bae88512bf
autotest: remove pointless try/except in SMART_RTL test
2024-02-28 22:26:28 +11:00
Peter Barker
9aa6193568
autotest: test new safety switch command
2024-02-27 21:10:39 +11:00
David Buzz
977b5dfe33
Tools: DynamicRpmNotches is mostly within 5% but 10% prevents the test from flapping as much
2024-01-07 10:32:47 +11:00
Peter Barker
2cfbd25988
Tools: improve diagnostics from failed check_replay
2024-01-05 10:12:18 +11:00
Peter Barker
18adc77979
autotest: add flight test for OpticalFlow
2024-01-04 20:48:46 +11:00
Thomas Watson
de5b46e028
Tools: remove references to legacy UART order
...
Also delete some unused variables and update the completions.
2023-12-19 06:53:15 +11:00
Randy Mackay
fdb1c26ae8
Tools: copter do-change-speed autotest checks takeoff
2023-12-06 08:44:52 +09:00
Gone4Dirt
1355c60daf
autotest: Test both telemetry protocols for IE24 fuel cell
2023-11-28 11:27:14 +11:00
Andrew Tridgell
d23c633b2c
Tools: added a test for serial over CAN
...
download a log with mavproxy from a serial over CAN port which then
comes out as UDP
2023-11-22 17:19:12 +11:00
Andy Piper
942be4f2f8
autotest: update PIDNotches to use AP_Filter format
2023-11-21 13:26:23 +11:00
Andy Piper
61e91dde35
autotest: add PID notches test
2023-11-21 13:26:23 +11:00
Nick Exton
64e6a85e4b
autotest: Test when invalid tag is selected via DO_JUMP_TAG
2023-11-14 10:22:45 +11:00
Nick Exton
b96acbc97e
autotest: Test when invalid item is selected via DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Nick Exton
e2e05af914
autotest: Add test for handling of param2 (reset) of DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Peter Barker
387aa63b90
Tools: handle MAV_CMD_DO_SPRAYER as both long and int
2023-11-07 10:55:46 +11:00
Randy Mackay
24db18db32
Tools: correct copter mount test
2023-11-01 18:16:55 +11:00
Nick Exton
f6a2f2e535
autotest: Add Copter test to verify clearing ROIs
2023-10-30 08:28:23 +09:00
Peter Barker
a8bd417527
autotest: cope with rename of AutoTest to Testsuite
2023-10-27 14:17:09 +11:00
Peter Barker
f9165c786d
autotest: add test for Copter taking off above-home via command int
2023-10-24 12:59:19 +11:00
Peter Barker
7de20c09f2
autotest: test MAV_CMD_NAV_TAKEOFF on Copter
2023-10-24 12:59:19 +11:00
Peter Barker
acf8162e5e
autotest: correct hook removal for Copter tests
...
these hooks were remaining active if the test failed
2023-10-16 12:15:29 +11:00
Peter Barker
28a141b423
autotest: add autotests for MAV_CMD_SET_SOURCE_SET mavlink command
2023-10-11 18:37:02 +11:00
Peter Barker
1641aa42ec
autotest: add test for MAV_CMD_DO_LAND_START
2023-09-29 13:55:32 +10:00
Peter Barker
3a465829b3
Tools: accept several mode-changing commands via command_int
...
... as well as via command_long
2023-09-29 08:56:50 +10:00
Peter Barker
e2895c08ae
autotest: rename PayLoadPlaceMission to PayloadPlaceMission
2023-09-28 17:13:38 +10:00
Peter Barker
ad70237013
Tools: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Peter Barker
489bb2c897
autotest: add test for MAV_CMD_AIRFRAME_CONFIGURATION
2023-09-26 11:37:42 +10:00
Peter Barker
91f457d4eb
autotest: test CMD_CONDITION_YAW for Copter as COMMAND_INT and COMMAND_LONG
2023-09-26 11:35:55 +10:00
Peter Barker
8cac60ca88
autotest: tweak test_mount_pitch win condition
...
we only need to see the sample once when hold is 0
2023-09-26 08:46:56 +10:00
Peter Barker
d946877fd4
autotest: fix DO_CHANGE_SPEED test
...
we could arrive back at our home location and stop before enough time passed to satisfy the test. i.e. doing exactly the same steps out and back again without allowing for differences in timing leads to random failure
2023-09-21 21:03:25 +10:00
Peter Barker
613524d7d5
autotest: Copter: add test for DO_CHANGE_SPEED in guided mode
2023-09-20 15:44:38 +10:00
Peter Barker
c352de2dd8
autotest: add test for Copter MISSION_START mavlink command
2023-09-20 09:39:31 +10:00
Peter Barker
d7a9e40395
autotest: reuse Copter motor test for QuadPlane
2023-09-19 20:31:03 +10:00
Peter Barker
8e4755f202
Tools: handle DO_PARACHUTE as both command_long and command_int
2023-09-19 11:14:29 +10:00
Randy Mackay
2835deb0de
Tools: autotest FlyEachFrame yaw rate relaxed
2023-09-19 10:53:04 +10:00
Peter Barker
5e9c2a04d0
Copter: allow motor tests to be triggered with COMMAND_INT
2023-09-13 18:14:31 +10:00
Peter Barker
909401b15f
autotest: loosen constrain on proximity distance message
...
the floating/double changes appear to have cause this to start to flap
2023-09-13 12:46:58 +10:00
Peter Barker
0a98953ad7
autotest: add regression tests for Winch
2023-09-12 09:30:27 +10:00
Pierre Kancir
31ee88adbb
Tools: use isinstance for type comparison
2023-09-02 13:27:25 +10:00
Pierre Kancir
904486c846
Tools: fix flake8 test
2023-09-02 13:27:25 +10:00
Peter Barker
7ed55bf0ff
autotest: add tests for MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE
2023-08-24 22:07:12 +10:00
Peter Barker
b8eb954f46
autotest: add specific tests for MAV_CMD_DO_MOUNT_CONTROL
2023-08-24 22:07:12 +10:00
Andrew Tridgell
914d31b4cf
autotest: fixed test known frames
...
this test can't handle periph based frames
2023-08-24 13:06:40 +10:00
Andrew Tridgell
6643231b2e
autotest: implement parameter files per peripheral in CI tests
...
this allows for one peripheral to have ESCs and the other not
2023-08-24 13:06:40 +10:00
Andrew Tridgell
52d80241b9
autotest: added quadplane-can vehicle
...
setup with all CAN peripherals
2023-08-24 13:06:40 +10:00
Andrew Tridgell
19ce28a49d
autotest: allow CAN test to run at speedup 10
...
we can now use larger speedups for DroneCAN SITL AP_Periph
2023-08-24 13:06:40 +10:00
Andrew Tridgell
baa6bc0e2b
autotest: revert single precision change for FETtecESC
2023-08-15 22:39:23 +10:00
Peter Barker
a430232e1c
autotest: add test for servo output values in scaled passthrough
2023-08-15 08:16:16 +10:00
Peter Barker
f66fcb7a54
autotest: add test for PSC_JERK_Z
2023-08-14 15:24:09 +10:00
Randy Mackay
fb52e6abd1
autotest: relax Copter vibration failsafe timeout
2023-08-12 14:30:02 +10:00
Peter Barker
70c6f49613
autotest: disarm vehicle in exception handle for PrecLand test
2023-08-12 14:03:03 +10:00
Peter Barker
60cfc0f016
autotest: move user_takeoff up to common
2023-08-10 19:51:52 +10:00
Peter Barker
c99b5e5d47
autotest: remove copter wait_for_alt
...
use common wait_altitude instead
2023-08-05 20:05:08 +10:00
Randy Mackay
ba72c58659
autotest: autotest gets GSF_reset test
2023-08-04 08:16:05 +10:00
Peter Barker
14c3b80c9c
autotest: remove pointless try/except block in GSF test
2023-08-04 08:16:05 +10:00
Andy Piper
6e37beb63c
autotest: relax precision loiter test
2023-08-02 16:22:59 +01:00
Andy Piper
076a0e848c
autotest: relax test limits for single-precision
2023-08-02 16:22:59 +01:00
Peter Barker
8b88dcf336
autotest: ensure we test SET_ROI_SYSID as both command-long and command-int
2023-08-01 10:16:14 +10:00
Peter Barker
c8beddf4c7
autotest: test DO_SET_ROI_NONE as both long and INT
2023-07-19 17:03:00 +09:00
Peter Barker
d69ba376ad
autotest: use named parameters for send_cmd and run_cmd
...
most commands don't use all the parameters. Counting through these was painful.
2023-07-15 21:39:16 +10:00
Peter Barker
277d16831d
autotest: tweak tweak timeout on proximity test
...
half this allowed time was going on actually getthing the EKF happy
2023-07-15 13:02:37 +10:00
Peter Barker
74199d75c0
autotest: use send_mavlink_arm_command
2023-07-15 13:02:37 +10:00
Peter Barker
9aad60e4ae
autotest: remove un-needed context from AC_Avoidance_Fence
2023-07-15 13:02:37 +10:00
Peter Barker
9c0adaf1cf
autotest: split Copter proximity avoidance test in two
2023-07-15 13:02:37 +10:00
Peter Barker
ec994957b3
autotest: tidy extraction of home string from mission files
2023-07-15 00:34:19 +10:00
Peter Barker
d0d15ad3ee
autotest: augment mount test to attempt as CMD_INT
2023-07-12 18:51:07 +10:00
Peter Barker
522456a535
Tools: act on safety switch being enabled in SITL by zeroing outputs
2023-07-12 17:53:12 +10:00
rishabsingh3003
5500cb97c7
autotest: add simulated nooploop tofsense rangefinder
2023-06-28 17:16:22 +10:00
Andrew Tridgell
669b58b017
Tools: fixed RefindGPS test
...
this test was relying on the EKF bug fixed in this PR. The copter was
actually fully landing and touching the ground in the LAND phase
whereas the original intention of this test was that it not touch the
ground in LAND. See the graph in
https://github.com/ArduPilot/ardupilot/pull/17104 where the test was
added
2023-06-26 18:09:31 +10:00
bnsgeyer
c8fc238e62
Tools: add throttle curve and governor autotest for tradheli
2023-06-16 23:18:23 +10:00
Randy Mackay
7ecb580519
Tools: autotest proximity sensor fix for sf45b
2023-06-14 17:49:30 +10:00
Peter Barker
d0f06beeaa
autotest: care not which CAN GPS is unhealthy when in maintenance mode
2023-06-07 14:21:43 +10:00
Peter Barker
35ebc25172
autotest: restart both CAN nodes in CAN prearm test
...
the node id we put into maintenane mode varies
2023-06-04 15:24:59 +10:00
Peter Barker
7bdc31b539
autotest: add an epsilon for achieved servo output for speed scaling test
...
right on the threshold
2023-05-30 12:34:33 +10:00
Peter Barker
ea0ab227ce
autotest: remove unnecessary try/except from Sprayer test
2023-05-30 12:34:33 +10:00
Peter Barker
d4dabeb6fc
autotest: add tests against bad vel/accels in copter guided
2023-05-25 09:42:28 +10:00
Peter Barker
f722be9758
autotest: add test for RPLidarA1
2023-05-16 10:15:23 +10:00
Peter Barker
76cf605e11
autotest: add test for RPLidar driver
2023-05-16 10:15:23 +10:00
Michael du Breuil
29556ade25
Tools: Support MAX_RPM autotest
2023-05-02 10:23:55 +10:00
Peter Barker
5cc046b9cc
Tools: AP_Arming ensures mission items present when in auto mode
...
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Randy Mackay
322ef64aad
Tools: ScriptMountPOI test uses applet directory
2023-04-13 07:04:22 +10:00
Andrew Tridgell
402de293d6
Tools: text messages and more defines
2023-04-11 10:31:31 +10:00
Peter Barker
f12777f369
autotest: add test for GuidedYawRate being indpendent of set-rate rate
...
A bug is being fixed where we couldn't achieve the maximum rate due to the input speed of the guided command.
This makes sure the rate achieved is independent of the rate at which the attitude rate is being set
2023-03-21 08:23:12 +09:00
Andy Piper
7dc6dee5a0
autotest: test Yaw D autotune
2023-03-14 11:01:31 +11:00
Peter Barker
e967fad32a
autotest: augment IE24 test with fuel-remaining test
2023-03-11 11:50:20 +11:00
CharlieBurge
62119d5bbe
Copter: remove check on pause state
2023-03-09 18:13:38 +00:00
CharlieBurge
224e7c578f
Copter: pause/resume reporting test
2023-03-09 18:13:38 +00:00
Peter Barker
7fe547cfce
Tools: add support for MAV_CMD_DO_SET_ROI_NONE
2023-03-07 08:06:01 +09:00
Randy Mackay
f997b09358
Tools: autotest correction for sf45b
2023-03-01 18:22:22 +11:00
Andrew Tridgell
a24763a2ba
autotest: added a test for landing a copter with significant AHRS trim
...
this fails with EKF3
2023-02-28 17:16:39 +11:00
Pierre Kancir
8628fd998f
Tools: Copter: add test for FS_GCS_TIMEOUT
2023-02-24 09:41:17 -08:00
Pierre Kancir
0b7ef942b4
Tools: move setGCSfailsafe in common
2023-02-24 09:41:17 -08:00
Peter Barker
df06e85450
autotest: fix arming checks test
...
waity for accels/gyros to settle
2023-02-24 09:21:42 +11:00
Peter Barker
e494c40b61
autotest: correct fettec test
...
need to wait for accels/gyros to be healthy
2023-02-24 09:21:42 +11:00
Peter Barker
2475ee0239
autotest: add test for gyro consistency check
2023-02-24 09:21:42 +11:00