Commit Graph

3874 Commits

Author SHA1 Message Date
Peter Barker a1ff3871f7 autotest: default test-build_options.py to CubeOrange
recent additions of CAN things to hwdef, and the lack of a hardware / lower-level dependency means we need to use something with CAN for now
2024-09-02 11:53:12 +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 3079ddd1b2 Tools: build_options.py: update feature define whitelist
two of these defines are no longer uses in the codebase, one can't be checked for because there's no symbol for it
2024-09-01 13:39:49 +10:00
Peter Barker 4700f09e7d autotest: test_build_options.py: add --resume option 2024-09-01 12:58:50 +10:00
Peter Barker 1439aebf94 autotest: improve diagnostics when receiving unexpected mission ack 2024-08-31 08:16:42 +10:00
Peter Barker 6d844d8c79 autotest: test the simulated rangefinder driver 2024-08-30 11:19:14 +10:00
George Zogopoulos f7d40c0c73 autotest: Added TKOFF_THR_MIN test 2024-08-28 18:18:55 +10:00
Peter Barker c3d89ed9d1 autotest: remove unused parameters from Blimp defaults file 2024-08-27 12:00:03 +10:00
Peter Barker b89256bec4 autotest: add test that jamming simulator works 2024-08-27 11:14:09 +10:00
Iampete1 44ae148718 Tools: autotest: defualt params: update plane-ice for ICE start stop function 2024-08-27 09:37:34 +10:00
Iampete1 a75a97eb02 Tools: autotest: quadplane: ICE Don't setup ICE start channel its already in model defaults 2024-08-27 09:37:34 +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
Peter Barker b9158c0491 autotest: remove unused parameters for quadplane-copter-tailsitter 2024-08-27 08:54:10 +10:00
Peter Barker c56439b045 autotest: quadplane-cl84: remove old parameter 2024-08-26 20:41:19 +10:00
Andrew Tridgell fb28e2c24f autotest: added SpringValley4 2024-08-22 08:56:59 +10:00
Andrew Tridgell 5f5d374383 Tools: fixed SpringValley alt 2024-08-22 08:56:47 +10:00
Andy Piper dcc0be5031 autotest: correct FenceFloorEnabledLanding test 2024-08-21 06:56:41 +10:00
Peter Barker 2e1364e3b0 autotest: include SBF when testing GPS backends work 2024-08-21 06:31:41 +10:00
Peter Barker 21f6e5da71 autotest: augment ClearMission to test clearing from current uploader
in the same way that we allow a link to re-start an upload by sending mission_count, allow a GCS to clear a mission and cancel current upload if it was the one doing the transfer
2024-08-20 20:46: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 8e77f859e0 autotest: add test for mission_clear_all message 2024-08-19 19:51:33 +10:00
Peter Barker 1e4caaec78 autotest: allow max distance on ship test
vehicle moves...
2024-08-10 10:54:20 +10:00
Peter Barker 3963f1b114 autotest: allow reboot_sitl to specify max startup loc dist
useful if your vehicle is on a ship
2024-08-10 10:54:20 +10:00
Peter Barker 5e929e1b39 autotest: poll_message limits polled message to system it was requested from 2024-08-10 10:54:20 +10:00
Peter Barker f3271ce0a6 autotest: add a load_params_file method to take params from test dir 2024-08-10 10:54:20 +10:00
Peter Barker 22360b43a8 autotest: zero throttle when force-rebooting
otherwise we may end up trying to calibrate ESCs...
2024-08-10 10:54:20 +10:00
Peter Barker 33bae74d07 autotest: rename load-parameters method to be more accurate 2024-08-10 10:54:20 +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
Peter Barker 6c851c4ea3 Tools: rename OFFBOARD_GUIDED to AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED
and remove comparison vs ENABLED
2024-08-05 10:20:14 +10:00
Peter Barker 6354a8b912 autotest: add test for forced arm/disarm 2024-08-02 16:29:13 +10:00
Peter Barker 8f8e796e00 autotest: add a disabled test for CRUISE maintaining height when home alt changed 2024-08-01 09:53:41 +10:00
Iampete1 0d30dd1981 Tools: AutoTest: Rover: DriveMission: add a loiter turns waypoint 2024-07-31 20:25:17 +09:00
George Zogopoulos 548b871168 autotest: Added airspeedless takeoff test with stock parameters 2024-07-31 18:23:40 +10:00
Henry Wurzburg 9311344f4b Tools: correct prearm message 2024-07-31 17:01:07 +10:00
Peter Barker 61196b7d04 autotest: add tests for iBus telemetry 2024-07-30 20:00:16 +10:00
Peter Barker 602f5bc61c autotest: correct applet-testing scripts to use contexts for scripts
means we don't leave the script lying around in case of test failure
2024-07-30 11:39:46 +10:00
Thomas Watson c797baa37b autotest: add test for require() after rescheduling
It can end up broken due to incorrect assumptions about the executed
function's upvalues, which might change after rescheduling.
2024-07-30 10:33:56 +10:00
Peter Barker b358c503fb autotest: add test for detection of duplicate AuxSw values 2024-07-30 10:28:42 +10:00
Peter Barker 3c1021d208 Tools: add documentation for SIM_ENGINE_FAIL and SIM_ENGINE_MUL 2024-07-30 09:21:26 +09:00
Peter Barker f2ec97e4c7 autotest: correct Rover RangeFinder test
for reasons I can't fathom, defaulting the rangefinder state causes problems with the vehicle orientation in SITL - probably a state update fix somewhere.

This test was kind of broken anyway - the RangeFinder was pointing latterally out from the vehicle, but is displayed forward of the vehicle (ther RANGEFINDER mavlink message conveys no orientation information)
2024-07-30 08:42:42 +10:00
Peter Barker f60ecbfe4e autotest: disable PolyFenceObjectAvoidanceBendyRuler as it is unreliable ATM 2024-07-29 20:58:39 +10:00
Peter Barker 2245399ff9 autotest: tidy Rover autotests
autotest: tidy WheelEncoders test

autotest: rover: tidy PolyFenceObjectAvoidance code

autotest: add load_fence_using_mavwp

Also corrects the mission item types being returned by the mission-item-to-misison-item-int converter

autotest: fix Rover PolyFenceAvoidanceBendyRulerEasier test

these tests weren't being run becausethey were disabled based on support for loading fence items from QGC files.

autotest: fix Rover PolyFenceAvoidanceBendyRuler test
2024-07-29 20:58:39 +10:00
Peter Barker d7bc9a420f autotest: tracker; tidy GPSForYaw test 2024-07-29 20:58:39 +10:00
George Zogopoulos b5c91a1690 autotest: Converted parameter TKOFF_MODE to TKOFF_OPTIONS 2024-07-29 15:50:32 +10:00
George Zogopoulos 1e6e291b52 autotest: New tests
Autotests for takeoffs have been added for Plane, covering AUTO and
TAKEOFF mode takeoffs.

An auxiliary `set_servo` method has been added to `vehicle_test_suite.py`.
2024-07-29 15:50:32 +10:00
Peter Barker 317c59c709 autotest: tidy various ArduPlane autotests
autotest: tidy Plane TerrainRally test

autotest: tidy Plane TestFlaps test

autotest: tidy Plane ThrottleFailsafe test

autotest: tidy Plane GripperMission test

autotest: tidy Plane FenceStatic test

autotest: tidy Plane FenceRTL tests

autotest: tidy FenceRetRally test

autotest: tidy Plane ahrs2 test

autotest: tidy Plane RangeFinder test

autotest: tidy Plane ADSB test

autotest: tidy Plane LOITER test

autotest: tidy Plane EKFLaneswitch test

autotest: tidy Plane FenceAltCeilFloor test

autotest: tidy Plane FenceMinAltAutoEnable

autotest: tidy Plane FenceMinAltEnableAutoland

autotest: tidy Plane FenceMinAltAutoEnableAbort

autotest: tidy Plane FenceCircleExclusionAutoEnable

autotest: tidy self.homeloc out of MainFlight
2024-07-28 11:53:44 +10:00
Peter Barker f1a1b11830 autotest: tidy Helicopter missions to use new infrastructure
autotest: tidy PosHoldTakeoff heli test

autotest: tidy StabilizeTakeoff heli test

autotest: tidy SplineWaypoint heli test

autotest: tidy ManAutoRotation heli test

autotest: tidy AirspeedDrivers heli test

autotest: tidy PIDNotches heli test
2024-07-27 09:44:41 +10:00
Peter Barker 605a9d34e3 autotest: tidy various Rover autotests
autotest: tidy Sprayer test

autotest: tidy rover AC_Avoidance test

autotest: tidy rover ModeSwitch test

autotest: tidy rover AuxModeSwitch

autotest: tidy rover RCOverrides test

autotest: tidy rover MANUAL_CONTROL test

autotest: tidy rover PolyFenceObjectAvoidance test
2024-07-26 23:43:16 +10:00