Commit Graph

832 Commits

Author SHA1 Message Date
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
Peter Barker 421c382bcc autotest: add test for accel consistency check 2023-02-24 09:21:42 +11:00
Peter Barker 357a39adba autotest: add test for flying mission twice back-to-back 2023-02-22 08:57:59 +11:00
Peter Barker 19ccf08412 autotest: add test for mount-poi.lua 2023-02-17 10:04:49 +11:00
Andy Piper af9aed1017 autotest: correct FFT gyro averaging tests 2023-01-24 10:56:33 +11:00
Peter Barker 773d7cb65c autotest: disable simulated esc telemetry for FETtecESC tests 2023-01-18 18:07:23 +11:00
Andy Piper d1b272fab7 autotest: anti-gravity test using THR_G_BOOST boost 2023-01-11 18:59:52 +11:00
rishabsingh3003 1c49373088 Tools: Add autotest for checking terrain db pre arm for copter auto mission 2023-01-10 13:22:44 +11:00
Peter Barker d9564d973d autotest: fix un-set variable problem in verify_innov 2023-01-06 11:11:22 +11:00
Andy Piper 60dcb0423a autotest: add basic FFT post-filter test
record gyro data in FFT postfilter test
check post-filter gyro logging and change notch settings for post-filter FFT
add motor noise test
FFT SNR now has sensible default for post-filter
2022-12-28 18:14:56 +11:00
Peter Barker a71911c19f autotest: ensure vehicle is armed before issuing takeoff command
sending the arm command isn't sufficient if there are other arming problems.

Caught a test failing when throttle was found to be high - I think the rc(3, 1700) was managing to have effect before we processed the arm command because of the way the input queues to ArduPilot SITL work
2022-12-27 11:32:19 +11:00
Peter Barker 89ecd8fb17 autotest: create a context-per-check whentesting motors blocked
without this all subsequent tests will find the string in the context's collection of statustexts.  So use a context-per-mode
2022-12-27 11:32:19 +11:00
Peter Barker f44a50bdd8 autotest: use epsilon when testing for zero variance in EK3_RNG_USE_HGT 2022-12-22 21:12:39 +11:00