Jeevan K
24a764c502
Tools : Remove documented params from whitelist
2025-01-24 07:05:51 +11:00
Peter Barker
18f95ba41b
Tools: allow for more than 327m range rangefinders
2025-01-21 10:54:05 +11:00
Jeevan K
f95a8e96a7
Tools: remove sonar_pos param from white list
2025-01-17 08:11:27 +11:00
Iampete1
4088ab91c6
Tools: autotest: TestSuite: reboot_check_valgrind_log
check file exists before trying to stat it.
2025-01-14 23:26:07 +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
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
Thomas Watson
6abbefde12
autotest: allow assertion of mavlink message array elements
2024-12-02 10:10:01 -06: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
d5e33a7026
autotest: remove parameters from SIM-param-whitelist
...
these are now documented
2024-11-22 20:21:27 +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
500ec85e52
autotest: add test for mount retract on rc failsafe
2024-11-12 11:01:21 +11:00
MattKear
0281dc3a79
Autotest: Add method for check servo channel in range
2024-10-11 09:54:26 +11: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
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
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
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
timtuxworth
fdbbd320a4
Tools: test use Location::AltFrame for guided_state.target_alt_frame
2024-09-24 22:51:02 +10:00
Yuxin Pan
a717283c62
Tools: remove baro param from white list
2024-09-16 17:25:02 +10:00
Yuxin Pan
adc147aba3
Tools: remove params from whiltelist
2024-09-12 06:54:15 +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
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
4ff6f603b2
autotest: add --enable-fgview option
2024-09-04 14:42:02 +09:00
Peter Barker
ed512eaabe
autotest: add test for logging restart after transfer complete
2024-09-03 11:01:24 +10:00
Peter Barker
1439aebf94
autotest: improve diagnostics when receiving unexpected mission ack
2024-08-31 08:16:42 +10:00
Peter Barker
2e1364e3b0
autotest: include SBF when testing GPS backends work
2024-08-21 06:31:41 +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
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
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
Peter Barker
3c1021d208
Tools: add documentation for SIM_ENGINE_FAIL and SIM_ENGINE_MUL
2024-07-30 09:21:26 +09: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
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
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
9c10e64168
Tools: add documentation for SIM_ACC?_RND parameters
2024-07-20 13:43:44 +10:00
Peter Barker
8dcd3986c7
autotest: correct uploading of exclusion circles
2024-07-17 08:33:44 +10:00
Peter Barker
1de60a31b0
autotest: rename do_reposition to send_do_reposition
2024-07-17 08:33:44 +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
a110c9c39f
autotest: add tests for onboard file log validity
2024-07-09 10:40:08 +10:00
Peter Barker
91b2d0dcdf
autotest: fix race condition in DataFlashOverMAVLink test
...
we're running at large speedups; 5 simulated seconds might not be enough time for MAVProxy to accumulate statistics. So get MAVProxy to emit the rate each second instead
2024-07-08 23:20:41 +10:00
George Zogopoulos
2cd5413b0d
SITL: Documented SIM_WIND_DIR_Z
2024-07-03 18:13:11 +10:00