Peter Barker
b841f5517e
autotest: install multiple test scripts with one call
2024-06-24 12:46:40 +10:00
Peter Barker
470663b30b
autotest: add test for simulated Copter clamp
2024-06-11 09:56:43 +10:00
Peter Barker
3c2f7944eb
autotest: test SBP2 as part of GPSTypes check
2024-06-11 09:29:14 +10:00
Peter Barker
7cf96fb0a1
autotest: add a lineno method
...
allows for debug like this:
print(f"{self.lineno()} {self.mav.message_hooks=}")
2024-06-10 07:04:40 +10:00
Peter Barker
2a964c44d4
autotest: copy message hooks while iterating over them for removal
...
won't remove a number of entries from the end of the list if others have been removed
2024-06-10 07:04:40 +10:00
Peter Barker
3ede599cfd
autotest: clarify AutoTuneSwitch test
2024-06-09 09:53:08 +10:00
George Zogopoulos
396865223f
autotest: Removed unnecessary parameter whitelist item
2024-06-05 19:03:31 +10:00
Peter Barker
c6a239ef63
autotest: correct Valgrind error detection
2024-05-31 13:23:03 +10:00
Peter Barker
ac7629c546
autotest: fold close method into sole caller
...
we're missing the non-zero-valgrind-logs-means-failure check somehow
2024-05-31 13:23:03 +10:00
Peter Barker
f930ba788b
autotest: add test showing throttle saturation problem
...
autotest: verbose minimum_duration in wait_message_field_values
2024-05-21 14:23:36 +10:00
Peter Barker
3e868be704
autotest: pass kwargs straight through in wait_ekf_args
...
this allows minimum_duration to be passed through to the underlying methods, for example
2024-05-19 12:26:33 +10:00
Peter Barker
0b8c72c8bb
autotest: add support for minimum_duration to wait_ekf_flags
...
.... by re-implementing in terms of a WaitAndMaintain class
2024-05-19 12:26:33 +10:00
Andrew Tridgell
86b779f3c7
autotest: remove SIM_SERVO_SPEED from whitelist
2024-05-05 07:57:54 +10:00
Andy Piper
946c891e14
autotest: improve reliability of MotorVibration test
2024-05-03 07:34:21 +10:00
Peter Barker
29cbd8da15
Tools: add description for SIM_BARO_DRIFT
2024-04-30 16:39:32 +10:00
Peter Barker
f5b062562a
autotest: correct removal of hooks during exception handling
2024-04-30 16:39:32 +10:00
Peter Barker
d0a7e70d0f
autotest: correct format string in error path
...
name is a string, not an integer
2024-04-17 11:57:11 +10:00
Peter Barker
d964d7f311
autotest: allow frame to be specified when creating simple missions
2024-04-15 16:57:09 +10:00
Peter Barker
3be1b9efa6
autotest: add set_home function
2024-04-13 08:34:42 +09:00
Peter Barker
c578a18b7f
autotest: add test for compass_learn=3 when using gps-for-yaw
2024-04-11 20:49:03 +10:00
Peter Barker
0f67535350
autotest: augment WaitAndMaintain class, add WaitAndMaintainArmed
2024-04-08 12:05:38 +10:00
Peter Barker
6dccdde660
vehicle_test_suite: correct return value from armed()
...
this was returning the value of "128" rather than "True"
2024-04-08 12:05:38 +10:00
Tim Tuxworth
fe5c8d297e
Tools: change NET_ENABLED to NET_ENABLE
2024-03-20 19:08:31 +11:00
Peter Barker
0e4b41baa6
Tools: rename GPS_ to GPS1_
2024-03-19 19:50:12 +11:00
Peter Barker
89bdb14916
Tools: adjust for GPS parameter renames
2024-03-19 19:50:12 +11:00
Peter Barker
f89bfff037
autotest: ensure latest log is timestamped, small and not growing
...
A fixed time this log is open for ensures we know what we are downloading.
We will not be keeping dataflash logs of the rest of this test after this PR as we leave LOG_DISARMED as it is.
Waiting for GPS ensures the file gets a timestamp, so MAVProxy's "log download latest" will return that log file.
2024-03-12 21:13:25 +11:00
Andrew Tridgell
dc97899ce8
autotest: set SIM_SPEEDUP=1 for log download
...
this may make the test more reliable
2024-03-10 15:24:57 +11:00
Peter Barker
3ca6e29ad1
autotest: reimplement wait_location with new object-based approach
...
the existing wait_and_maintain method is problematic when it comes to waiting on different value types.
2024-03-07 09:41:57 +11:00
Peter Barker
690596580a
autotest: show map, fence and rally when map is shown
2024-03-06 19:54:08 +11:00
Andrew Tridgell
6a67830556
autotest: added quadplane ShipLanding test
2024-03-06 09:39:51 +11:00
Andrew Tridgell
350215eb70
autotest: fixed got and want ordering in text wait
2024-03-06 09:39:51 +11:00
Randy Mackay
e1e7882b7b
Tools: remove vicon params from whitelist
2024-02-28 18:52:37 +11:00
Peter Barker
d92acaffce
autotest: improve diagnostics around expected statustext
2024-02-23 20:13:29 +11:00
Peter Barker
56a73dedae
autotest: adjust tests for new GPS messages
2024-02-20 19:35:01 +11:00
Andrew Tridgell
7e5e55a97b
autotest: fix for flapping multicast log download test
...
we had two ports outputting to 14550 which could cause the test to be
very slow
2024-01-10 18:07:29 +11:00
Andrew Tridgell
816e3fae3e
autotest: fixed flapping sub log download test
...
the log being downloaded can be very large, and times out. Setting
LOG_DISARMED=1 gives us a small log to download
2024-01-02 11:34:12 +11:00
Thomas Watson
de5b46e028
Tools: remove references to legacy UART order
...
Also delete some unused variables and update the completions.
2023-12-19 06:53:15 +11:00
Peter Barker
59badf6947
autotest: fix message_has_field_values for strings
2023-12-05 20:15:21 +11:00
Tom Pittenger
5bc3830451
autotest: don't set DHCP in SITL/CI because we can't
2023-12-02 08:17:52 +11:00
Andrew Tridgell
afe0b849b9
Tools: test all 4 network port types
2023-11-28 12:18:55 +11:00
Ryan Friedman
ea237724c7
Tools: autotest: Fix junit printing for double str
...
* Can't concetenate a double to a string without fstring or a type
change
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-24 18:08:53 +11:00
Peter Barker
4fd54dccaf
autotest: correct python function typing bug around Dict vs dict
2023-11-23 10:02:26 +11:00
Pierre Kancir
8cd91b4789
Tools: add more tests for log downloads
2023-11-22 18:35:21 +11:00
Pierre Kancir
92c338f5d4
Tools: fix junit report and add firmware version on report
2023-11-22 18:32:19 +11:00
Pierre Kancir
c1c730a9bb
Tools: fix flake8 issue
2023-11-22 18:32:19 +11:00
Pierre Kancir
3d379c2b07
Tools: add junit output for autotest
2023-11-22 18:32:19 +11:00
Andrew Tridgell
d23c633b2c
Tools: added a test for serial over CAN
...
download a log with mavproxy from a serial over CAN port which then
comes out as UDP
2023-11-22 17:19:12 +11:00
Andrew Tridgell
f175cb19a1
Tools: added autotest for networking over UDP
...
downloads a log with mavlink over UDP from NET_P1 port
2023-11-17 10:54:24 -08:00
Ryan Friedman
c4e2c4f7cb
Tools: Expect different GSOF detection string
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-14 10:26:01 +11:00
Nick Exton
e2e05af914
autotest: Add test for handling of param2 (reset) of DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Peter Barker
0143bf22d4
autotest: understand verbose and very_vrbose for wait_message_field_values
2023-11-12 08:19:49 +11:00
Peter Barker
8d03d7e15d
autotest: test gripper as both long and int
...
... and make use of context_collect for statustext
2023-11-08 18:15:25 +11:00
Peter Barker
6439528d6a
autotest: augment tests for running the prearm checks
2023-11-01 19:30:44 +11:00
Peter Barker
a53d583963
autotest: assert_received_message_values gets timeout and check_context
2023-11-01 12:32:47 +11:00
Iampete1
220ab515b7
autotest: plane: add MAV_CMD_NAV_ALTITUDE_WAIT wiggle check
2023-10-31 14:06:22 +11:00
Peter Barker
a8bd417527
autotest: cope with rename of AutoTest to Testsuite
2023-10-27 14:17:09 +11:00
Peter Barker
00bbb61411
autotest: rename common.py to vehicle_test_suite.py
2023-10-27 14:17:09 +11:00