Commit Graph

963 Commits

Author SHA1 Message Date
Andrew Tridgell ae6376fcd6 autotest: added CommonOrigin test
test EK2 and EK3 common origin
2024-09-10 09:28:50 +10:00
Andy Piper 1ef89d31f2 autotest: static notch test 2024-09-09 09:29:32 +10:00
Peter Barker 1e8e250459 autotest: add test for ahrs-source.lua 2024-09-08 10:02:29 +10:00
Peter Barker 50dba896ca autotest: AutoContinueOnRCFailsafe extend auto leg to avoid race
saw an instance where it made it to waypoint four before we registered the RC failsafe
2024-09-02 08:29:12 +10:00
Peter Barker 6d844d8c79 autotest: test the simulated rangefinder driver 2024-08-30 11:19:14 +10:00
Peter Barker 14e5fd396a autotest: check altitude in GPSWeightedBlending test 2024-08-27 09:26:06 +10:00
Peter Barker c4fe57d197 autotest: add test for blending while affinity is running 2024-08-27 09:26:06 +10:00
Andy Piper dcc0be5031 autotest: correct FenceFloorEnabledLanding test 2024-08-21 06:56:41 +10:00
Peter Barker 3e50b4cf57 Tools: add test for MAV_CMD_MISSION_START sanity checks 2024-08-20 09:38:43 +10:00
Peter Barker f9fde66966 autotest: add test for Battery InternalUseOnly 2024-08-08 09:12:08 +10:00
Nicole Ashley 7eb9bfc54e autotest: Add IBus test to Arducopter test suite 2024-08-07 14:01:44 +10:00
Henry Wurzburg 9311344f4b Tools: correct prearm message 2024-07-31 17:01:07 +10:00
Peter Barker 1f60ca3342 autotest: add SmartRTL test for rapid switch between smartrtl and althold 2024-07-26 20:11:05 +10:00
Peter Barker 82d59f6ba7 autotest: tidy various tests to take advantage of new infrastructure
autotest: clean MotorVibration test for new infrastructure

autotest: clean VisionPosition test for new infrastructure

autotest: clean MotorFail test for new infrastructure

autotest: clean OpticalFlowLimits test for new infrastructure

autotest: tidy OpticalFlow test for new infrastructure

autotest: tidy SetModeViaModeSwitch test for new infrastructure

autotest: tidy SetModesViaAuxSwitch test for new infrastructure

autotest: tidy SplineLastWaypoint test for new infrastructure

autotest: tidy PIDNotches test for new infrastructure

autotest: tidy ThrottleGainBoost test for new infrastructure

autotest: tidy PrecisionLoiterCompanion test for new infrastructure

autotest: tidy BeaconPosition test for new infrastructure
2024-07-26 20:10:49 +10:00
Luca Pescante 9acd23d196 autotest: use RC6 for tuning 2024-07-25 09:40:13 +10:00
Peter Barker bedc76e0e8 autotest: tidy various tests to take account of new framework capabilities
autotest: simplify AutoDock test

autotest: tidy AP_Proximity_MAV test

autotest: tidy DriveSquare test

autotest: tidy BatteryFailsafe test

autotest: tidy GPSViconSwitching test

autotest: tidy RangeFinder test
2024-07-24 17:01:26 +10:00
Andy Piper b7ce3ff286 autotest: add test for minimum altitude avoidance fence 2024-07-24 08:24:06 +10:00
Andy Piper e30dc2c536 autotest: fix fence autotests
add Plane.FenceMinAltEnableAutoland
test that vehicle can be landed manually after descending below fence floor
2024-07-24 08:24:06 +10:00
Andy Piper cedccdb8fe autotest: add test for auto-disabling min alt fence breaches on disarming
clean-up fence manipulation functions and add test for auto-enablement on copter
update tests to have some FENCE_ENABLE tests
add avoidance minimum and maximum altitude fence
add fence switch test while flying
add FenceAutoEnableDisableSwitch for auto mode 2
add more scenarios for plane fence auto-enable
validate fence rc switch behaviour
check fence autoenable by taking off in guided mode
more FENCE_AUTOENABLE tests
add FenceEnableDisableAux and FenceMinAltAutoEnableAbort
2024-07-24 08:24:06 +10:00
Peter Barker 57d6815124 autotest: add Mount test for relative yaw 2024-07-21 19:52:10 +10:00
Peter Barker aab1ae4018 autotest: test Solo mount 2024-07-20 22:44:10 +10:00
Peter Barker 6eeaa10b7e Tools: add test for final-yaw behaviour in Auto mode RTL 2024-07-20 19:03:48 +10:00
Peter Barker 2f0f7aa669 autotest: tidy Copter flip test 2024-07-20 09:57:55 +10:00
Peter Barker 1de60a31b0 autotest: rename do_reposition to send_do_reposition 2024-07-17 08:33:44 +10:00
Iampete1 49e77718ac Tools: autotest: Copter: add battery unhealthy prearm and failsafe test 2024-07-14 17:11:47 +10:00
Peter Barker 69c76a96d3 autotest: reboot after any context in which a reboot was done
this makes the assumption that any reboot done within a SITL was because some parameter changes only take effect after a reboot.

... so after we have reverted the parameters, reboot again to make the reverted parameter values take effect
2024-07-09 16:48:29 +10:00
Peter Barker 11e49c5528 autotest: add test for entering loiter after auto in RC failsafe 2024-07-09 10:52:14 +10:00
Peter Barker a110c9c39f autotest: add tests for onboard file log validity 2024-07-09 10:40:08 +10:00
Peter Barker e2ef47b221 autotest: break out a run_replay method 2024-07-02 11:05:40 +10:00
Peter Barker c388943f52 autotest: remove pointless try/except in PayloadPlaceMission 2024-06-26 19:19:19 +10:00
Peter Barker 6bb0709b22 Tools: add Copter flight option for requiring position to arm 2024-06-25 11:06:10 +10:00
Peter Barker 6aa662d5d0 autotest: tidy TestGripperMission
take advantage of new infrastructure
2024-06-19 13:48:25 +10:00
Peter Barker 35cb526241 autotest: add a test for gripper release on thrust loss 2024-06-19 13:48:25 +10:00
Peter Barker 470663b30b autotest: add test for simulated Copter clamp 2024-06-11 09:56:43 +10:00
Peter Barker 81e08b16c9 autotest: remove test for mount_control mavlink message
no longer compiled in by default
2024-06-11 09:37:56 +10:00
Peter Barker 364452ffc8 autotest: add test for DroneCAN battery handling 2024-06-11 09:31:46 +10:00
Paul Riseborough 2b027a7265 Tools: re-work copter and plane loss of GPS auto tests
Explicitly test time taken to reset to GPS loss and regain of lock for copter without and plane with dead reckoning assistance.
2024-06-09 14:25:02 +10:00
Peter Barker 3ede599cfd autotest: clarify AutoTuneSwitch test 2024-06-09 09:53:08 +10:00
Peter Barker 2c3594b8ff autotest: revert SIM_SPEEDUP for RTL in follow test 2024-06-09 09:09:31 +10:00
Peter Barker 56a865147d autotest: ModeFollow: correct relative altitude being fed to autopilot 2024-06-09 09:09:00 +10:00
Peter Barker eaf5767bfa autotest: simplify AC_Avoidance_Proximity test
take advantage of new infrastructure
2024-06-09 09:08:29 +10:00
Peter Barker bdb84ed244 autotest: add test for Guided WeatherVane behaviour 2024-05-29 13:11:58 +10:00
Peter Barker ee7e8661ed autotest: add test for EK3_OGN_HGT_MASK bug 2024-05-23 10:35:51 +10:00
Peter Barker 766d92faa6 autotest: add test for Copter behaviour in guided with force-arm 2024-05-22 17:10:12 +09:00
Nick Exton bb0d1cf7b8 autotest: Handle pitch limits when testing achieved mount pitch angle 2024-05-21 14:27:28 +09:00
Peter Barker 37886b36e0 autotest: neaten Copter Loiter test 2024-05-21 14:23:58 +10:00
Peter Barker 1a04eadb63 autotest: add test for flying a mission far from EKF origin 2024-05-21 09:56:02 +10:00
Andrew Tridgell e5a2ba3ebc autotest: fixed marginal test WPNAV_SPEED_DN
this test completed at 59s before the baro change, and needs 62s
afterwards with the slight change in atmospheric modelling

increase to 70s so it doesn't flap
2024-05-07 21:19:06 +10:00
Andy Piper 946c891e14 autotest: improve reliability of MotorVibration test 2024-05-03 07:34:21 +10:00
Andy Piper 95c06d418e autotest: tighten DynamicRpmNotches so that failure means failure
check notch attenuation at motor frequency
2024-05-03 07:34:21 +10:00