Peter Barker
6264fee765
autotest: add LD06 to ProximitySensor tests
2025-01-09 15:39:34 +11:00
Peter Barker
794b43b2ac
Tools: extract_features.py: AP_QUICKTUNE_ENABLED only for Plane
2025-01-07 12:39:42 +11:00
Peter Barker
886c38fbdb
Tools: extract_features.py: AP_PLANE_GLIDER_PULLUP_ENABLED only for Plane
2025-01-07 12:39:42 +11:00
Peter Barker
16a3735677
autotest: exempt MODE_AUTOLAND_ENABLED from sanity checks except on Plane
...
... only ever compiled in on Plane
2025-01-07 12:39:42 +11:00
Peter Barker
b929e78285
autotest: test_build_options.py: exempt AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED from sanity check
...
the symbol supplied will only ever exist on Copter as it is nthe only thing that supports the window
2025-01-07 12:39:42 +11:00
Peter Barker
58eb6367e9
autotest: correct diagnostic string
...
that "f" in front of an f-string is important
2025-01-03 14:19:17 +11:00
Peter Barker
5726c03e38
autotest: improve debug on wait_gps_disable
2025-01-01 09:15:12 +11:00
Andrew Tridgell
33841aaed5
autotest: added non-compass takeoff test
...
autotest:add test for autoland mode
2024-12-31 09:18:49 +11:00
Peter Barker
13f9ad8f8c
autotest: add test for return-to-initial-yaw RTL behaviour
2024-12-27 21:32:57 +11:00
Iampete1
f213edb50b
Tools: autotest: logger_metadata: allow @LoggerEnum
to override enum name
2024-12-24 11:34:07 +11:00
Iampete1
6400ce5833
Tools: autotest: quadplane: MAV_CMD_DO_ENGINE_CONTROL: wait after RC input change before sending command
2024-12-24 11:34:07 +11:00
Iampete1
5695480ab3
Tools: autotest: copter: add test for scripting flip mode
2024-12-24 11:05:56 +11:00
Peter Barker
f94a698471
autotest: ensure WATER_DEPTH has correct rate with multiple backends
2024-12-23 10:05:23 +09:00
Michelle Rossouw
106e131591
autotest: Added Copter Smart RTL repeat detection test
2024-12-21 16:32:17 +11:00
Bob Long
3982d576eb
autotest: plane: enable ICE frames in FlyEachFrame
...
Now that starter control is an aux channel, engine commands are no
longer blocked by default, so it's easy to enable ICE frames by adding
an engine start command to the beginning of the missions.
2024-12-19 22:11:00 +11:00
Bob Long
b908f1cb9c
autotest: update broken reason for plane-tailsitter
2024-12-19 22:11:00 +11:00
Bob Long
058f66fbe6
autotest: plane: fix flyeachframe param loading
...
This was previously fixed in copter
2024-12-19 22:11:00 +11:00
Bob Long
726e05afb2
autotest: update SIM_ENGINE_FAIL to mask
2024-12-18 18:06:50 +11:00
Bob Long
dee88b4ecb
SITL: default SIM_ENGINE_MUL to 0
...
This makes SIM_ENGINE_FAIL work a little more intuitively, since it is
usually used to simulate a complete failure.
Also, drive-by fix of the SIM_ENGINE_MUL documentation.
2024-12-18 18:06:50 +11:00
Peter Barker
7c084e9955
autotest: use perfect sim gps to avoid races in frsky test
...
can't get mavlink and frsky to agree on a value!
2024-12-17 21:31:15 +11:00
Peter Barker
31ec6f66d9
autotest: fix FRSkyPassThroughSensorIDs test
...
need to clear the read buffers before re-polling sensors - just in case we don't need to!
2024-12-17 21:31:15 +11:00
Peter Barker
0630b83478
autotest: test_build_options.py: exempt AP_COMPASS_AK8963_ENABLED from check
...
we recently removed this sensor on CubeOrange, so the test fails
2024-12-16 07:45:41 +11:00
George Zogopoulos
7e3ae6c6e6
autotest: Enabled/edited old test and added new test on home alt reset
2024-12-14 15:46:14 +11:00
Iampete1
a9ecb4428b
Tools: autotest: defualt_params: quadplane: fix yaw rate tune typo.
2024-12-12 21:52:02 +00:00
Andrew Tridgell
6173356b13
autotest: fixed race condition in Copter.MinAltFenceAvoid
2024-12-11 18:58:00 +11:00
Andrew Tridgell
c9e9b13404
autotest: fixed race in MinAltFenceAvoid copter test
2024-12-11 18:58:00 +11:00
Andrew Tridgell
9dc6e1cbea
autotest: update plane switch fence test
...
the FENCE_AUTOENABLE option should be honoured even with a fence
switch in the disable position
2024-12-11 18:58:00 +11:00
Andrew Tridgell
4c40d66d7d
autotest: fixed test suite for FENCE_AUTOENABLE=2
2024-12-11 18:58:00 +11:00
Andrew Tridgell
42ad2a7911
autotest: added non-compass takeoff test
2024-12-11 08:44:15 +11:00
Henry Wurzburg
051c2dcd35
Tools: add Plane autoland applet
2024-12-10 13:18:41 +11:00
rishabsingh3003
031b5268a8
autotest: add test for stuck tether simulation
2024-12-10 10:48:00 +11:00
George Zogopoulos
768b2eabc4
autotest: Created test for unsuccessful takeoff level off
2024-12-04 18:07:30 +11:00
Andy Piper
31dc7a85bf
autotest: add rate thread autotest
2024-12-04 07:45:05 +11:00
Thomas Watson
da4fee5a9a
autotest: fix testing and simulated register scaling
...
* make test actually test something
* fix scaling to match datasheet values
2024-12-02 10:10:01 -06:00
Thomas Watson
6abbefde12
autotest: allow assertion of mavlink message array elements
2024-12-02 10:10:01 -06:00
Peter Barker
cc4110140c
Tools: add support for ina3221 triple-channel current/voltage sensor
2024-12-02 10:10:01 -06:00
George Zogopoulos
646a1a54c2
autotest: Added TECS test for constantly changing home alt
2024-11-27 19:35:03 +11:00
Michelle Rossouw
cf1a4b6501
autotest: Added Quicktune C++ tests
...
for quadplane and copter
2024-11-27 14:07:38 +11:00
Andrew Tridgell
7e4a85ba3f
autotest: adjust default quadplane tune
2024-11-27 14:07:38 +11:00
Pierre Kancir
37c59e224e
Tools: autotest: reword WARN to Problem on log link issue to prevent catch by CI
2024-11-27 09:07:18 +11:00
Peter Barker
ef18e9bc84
autotest: add offset_location_heading_distance
2024-11-25 11:37:38 +11:00
Peter Barker
eec8823eb9
autotest: add test for storing many fence items on SD card
2024-11-25 11:37:38 +11:00
Peter Barker
d5e33a7026
autotest: remove parameters from SIM-param-whitelist
...
these are now documented
2024-11-22 20:21:27 +11:00
Peter Barker
e5439f0901
Tools: logger_metadata: increase diagnostic output on failure
2024-11-22 10:18:31 +11:00
Peter Barker
a6769e003a
autotest: increase debug when retrying parameter download
2024-11-20 15:07:45 +11:00
Peter Barker
7b64263562
Tools: add ability to simulate more than 2 GPSs
2024-11-20 15:07:45 +11:00
Peter Barker
9941313a9d
autotest: augment blended test to ensure three GPSs seen
2024-11-19 12:27:10 +11:00
Peter Barker
3674eb0c49
autotest: tidy GpsForYaw using new infrastructure
2024-11-14 20:08:30 +11:00
Peter Barker
fb4b52fae3
Tools: remove handling of HIL_GPS
...
... per deprecation/removal schedule
2024-11-13 19:41:00 +11:00
George Zogopoulos
19bce3b171
autotest: added test for TKOFF_THR_IDLE
2024-11-13 19:32:00 +11:00
Ryan Friedman
7e7f56df79
Tools: Add mavcesium option to sim_vehicle.py
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-13 06:39:05 +11:00
Peter Barker
ca424a165d
Tools: add entry for Copter advanced failsafe to custom build server
2024-11-12 12:44:34 +11:00
Simon Hancock
43272dd9ee
autotest: Handle @LoggerEnum tags for #define sets
2024-11-12 11:11:45 +11:00
Peter Barker
500ec85e52
autotest: add test for mount retract on rc failsafe
2024-11-12 11:01:21 +11:00
Peter Barker
6c643b8d66
autotest: logger_metadata: exempt iofirmware.cpp from checking
...
uses a macro to generate a value, which makes it problematic from a matching sense
2024-11-05 09:02:27 +09:00
Peter Barker
756df1cfc0
autotest: logger_metadata: flake8 cleanliness
2024-11-05 09:02:27 +09:00
Peter Barker
ced25ec0d7
Tools: remove use of python (as opposed to python3)
2024-10-15 11:11:38 +11:00
Peter Barker
c3affa4e94
autotest: move first landing waypoint further out
...
pathological conditions can mean we're not lined up correctly afterwards and overshoot
2024-10-11 10:03:41 +11:00
Gone4Dirt
bbc2259cff
Autotest: Update Autorotation tests for new mode change and bailout methods
2024-10-11 09:54:26 +11:00
MattKear
41694869d5
Autotest: Heli: minor improvements to TurbineCoolDown
2024-10-11 09:54:26 +11:00
MattKear
0281dc3a79
Autotest: Add method for check servo channel in range
2024-10-11 09:54:26 +11:00
Peter Barker
b8e84cdcd0
autotest: restart MAVProxy if it exits when running under gdb
...
this is useful if you are running under GDB and ArduPilot fails early (eg. parameter sanity checks or SITL device configuration issues)
2024-10-11 09:52:26 +11:00
George Zogopoulos
ecf11f2208
autotest: Added back-transition throttle test
2024-10-09 19:25:50 +11:00
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