Peter Barker
39ab13cec4
autotest: quadplane: test AHRS flyFoward flag behaviour
2024-10-09 19:19:29 +11:00
Peter Barker
f588e9a230
autotest: add simple test that wind estimates from DCM and EKF3 converge
2024-10-09 10:02:02 +11:00
Nick Exton
2c80c702bc
autotest: Add Copter test for AutoYaw with Mount without yaw control
2024-10-08 08:05:27 +09:00
MattKear
4ce1c5db90
Autotest: Helicopter: Add turbine cooldown test
2024-10-06 14:33:57 +11:00
Randy Mackay
e06c9048e0
Tools: add copter pos offset test
2024-10-04 09:25:56 +09:00
Peter Barker
e40ae8e649
autotest: install terrain handlers in TerrainLoiter test
...
needs terrain, was passing because previous tests were providing hte autopilot with the data
2024-10-02 18:10:45 +10:00
Peter Barker
653aff7f8a
Tools: split Plane tests into tests1a and tests1b
2024-10-02 18:10:45 +10:00
Peter Barker
23513e3f9a
Tools: use /usr/bin/env to find python3
...
going directly to /usr/bin/python3 means we don't use the venv python
2024-10-02 18:10:34 +10:00
George Zogopoulos
36991de2b8
autotest: Improved takeoff tests
...
- Also added a ground rolling takeoff test.
- Rebased conflict resolution originating from https://github.com/ArduPilot/ardupilot/pull/28030
2024-10-02 17:09:07 +10:00
Tarik
5ea787a46d
Autotest: Modify look_for_wiggle to test for individual servo movements
2024-10-02 17:05:45 +10:00
Peter Barker
b73bef5b13
autotest: correct frame in reposition command
2024-10-02 12:10:16 +10:00
Stephen Dade
dad98d99eb
Tools: Fix message rate setting in tests
2024-10-02 09:22:43 +10:00
Stephen Dade
9042e7de1a
Tools: Add test for SET_MESSAGE_INTERVAL limiting
2024-10-02 09:22:43 +10:00
Peter Barker
5ab9cda206
autotest: add autotest for invalid battery backend checks
2024-10-01 09:48:13 +10:00
Andrew Tridgell
6bf69eb7dc
autotest: fixed MAV_CMD_GUIDED_CHANGE_ALTITUDE
...
need terrain handlers installed to support terrain targets
2024-10-01 07:15:44 +10:00
Andrew Tridgell
068124358f
autotest: fixed incorrect use of min/max/accuracy
...
we were accepting values outside the specified range
2024-10-01 07:15:44 +10:00
Andrew Tridgell
f48b0375d8
autotest: improved GliderPullup test
...
use LOITER_TO_ALT and a landing, allowing for a much better test of
the full glider pullup mission
2024-10-01 07:15:44 +10:00
Andrew Tridgell
834863fdb7
autotest: adjust tests that need full rate logging
2024-10-01 07:15:28 +10:00
Andrew Tridgell
33268bc037
autotest: lower logging rate
...
we are starting to get huge downloads for autotest failures. High
logging rates rarely help to diagnose an issue, so lower the default
rate when in autotest
2024-10-01 07:15:28 +10:00
Andrew Tridgell
ecec9c47b1
autotest: force use of airspeed in GliderPullup
2024-09-29 11:06:05 +10:00
Bob Long
92c6c22051
Tools: autotest: test ICE max starter retry limit
2024-09-27 16:12:28 +10:00
Peter Barker
beb4226740
Plane: add test for MAV_CMD_NAV_LOITER_TO_ALT
2024-09-26 20:23:15 +10:00
Peter Barker
01bf3fe6a1
autotest: param_metadata.py: emit bitmask as XML sub-element
...
make it easy for consumers to get at this data.
leaves the old form, so we don't break older consumers
2024-09-25 23:44:14 +10:00
Andy Piper
a8ecc2386e
autotest: GainBackoffTakeoff test
2024-09-25 17:13:03 +10:00
timtuxworth
fdbbd320a4
Tools: test use Location::AltFrame for guided_state.target_alt_frame
2024-09-24 22:51:02 +10:00
Clyde McQueen
8b37100772
autotest: large outliers in sub terrain test have low sq
2024-09-23 19:14:34 +10:00
Andy Piper
202de8cc40
autotest: FAST_ATTITUDE looks at ANG now
2024-09-17 10:12:35 +10:00
Yuxin Pan
a717283c62
Tools: remove baro param from white list
2024-09-16 17:25:02 +10:00
Andrew Tridgell
fc2f518934
autotest: added CopterTailsitter test
...
test rearward rangefinder
2024-09-14 08:39:51 +10:00
Ikko Eltociear Ashimine
78f0e78977
Tools: update param_parse.py
...
seperator -> separator
2024-09-12 14:55:03 +10:00
Yuxin Pan
adc147aba3
Tools: remove params from whiltelist
2024-09-12 06:54:15 +10:00
Andrew Tridgell
bcf19b6d0d
Tools: adjust usage of --enable for uppercase names
2024-09-11 16:11:22 +10:00
Yuxin Pan
e7359c12f1
Tools: add some parameter documentation
...
SITL: vehicle_test_suite.py parameters removal from whitelist
SITL: Add known unit amp hour
SITL: Add known unit Ah
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-09-11 10:22:22 +10:00
Peter Barker
d6386cc1fd
autotest: add test we don't die with bad RC channel for roll
2024-09-10 22:00:50 +10:00
Andrew Tridgell
d27d34987c
autotest: added GliderPullup test
2024-09-10 10:15:34 +10:00
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
96fe3da083
autotest: assert that if a feature is supposed to be compiled in that it is
...
The biggest feature here is the massive whitelist. Many features can be marked as compiled-in but will be elided by the compiler as it isn't called anywhere. That's OK, but it does mean we can't check for its presence or absence based on symbols.
2024-09-08 00:55:43 +10:00
Peter Barker
7280ff3ffd
autotest: fix flapping TakeoffAuto3 test
2024-09-07 09:40:43 +10:00
Peter Barker
ab77509551
Tools: create and use WaitAndMaintainServoChannelValue
...
allows for checking for "maintain" on servo channel values
2024-09-07 09:40:43 +10:00
Peter Barker
d74050c5e3
autotest: tweak takeoff test names to avoid poor summary output
2024-09-07 00:14:21 +10:00
Peter Barker
bbdbf33c21
Tools: param_metadata: do not emit Legacy fields to rst/Wiki
2024-09-06 11:52:58 +10:00
Peter Barker
4ff6f603b2
autotest: add --enable-fgview option
2024-09-04 14:42:02 +09:00
Фрыман
2a371077e3
Tools: sim_vehicle.py: Added --enable-fgview option in sim_vehicle.py (by @justin-slattery)
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2024-09-04 14:42:02 +09:00
Andrii Fil
d802b0ec9a
Tools: support MAV_CMD_EXTERNAL_WIND_ESTIMATE
2024-09-04 10:14:45 +10:00
Kaori Uruga
8d672ca7f8
Tools: fixed airport parameters in Flight Gear shell scripts
2024-09-04 09:49:55 +10:00
Peter Barker
ed512eaabe
autotest: add test for logging restart after transfer complete
2024-09-03 11:01:24 +10:00
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
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