Peter Barker
7b95633bab
autotest: add test for Rover RTL speed
2024-05-08 09:11:55 +10:00
Tim Tuxworth
fe5c8d297e
Tools: change NET_ENABLED to NET_ENABLE
2024-03-20 19:08:31 +11:00
Peter Barker
a7d9209001
autotest: re-enable Dijkstra tests
2024-03-12 21:13:33 +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
24f7ff7b61
autotest: Use contexts to control script lifetimes in networking tests
...
this way if the test gets an exception part-way through the scripts are removed from the directories appropriately
2024-01-03 17:36:10 +11:00
Andrew Tridgell
60bfcf3cdc
autotest: added a web server test
...
both native sockets and PPP
2024-01-03 12:14:47 +11:00
Michael du Breuil
a45353b17f
autotest: Update tests for relay
2023-12-19 10:01:01 +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
7bd2e728f3
autotest: tidy Rover Scripting test
2023-12-05 20:15:21 +11:00
Nick Exton
55d7965379
autotest: Rover: fix return type for invalid DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Peter Barker
b69879fe87
autotest: add test for battery reset
2023-11-08 18:14:27 +11:00
Peter Barker
0e2261832e
autotest: more test for emitted digicam command-long messages
2023-11-02 15:54:13 +11:00
Peter Barker
29f5bce611
autotest: tidy testing of SentToComponents
2023-11-01 12:32:47 +11:00
Peter Barker
a8bd417527
autotest: cope with rename of AutoTest to Testsuite
2023-10-27 14:17:09 +11:00
Peter Barker
c3c7784c23
autotest: add explicit tes for MAV_CMD_DO_FENCE_ENABLE
2023-10-24 11:37:18 +11:00
Peter Barker
0e458f3342
autotest: test DO_SEND_BANNER as both long and int
2023-10-18 19:49:17 +11:00
Peter Barker
e8be3a4e21
autotest: add explicit test for MAV_CMD_GET_HOME_POSITION
2023-10-18 19:48:23 +11:00
Peter Barker
a98def0b6d
autotest: add test for SET_ATTITUDE_TARGET headings
2023-10-18 11:17:32 +11:00
Peter Barker
aaca600a94
autotest: test setting modes via COMMAND_INT and DO_SET_MODE
2023-10-17 10:41:36 +11:00
Peter Barker
d74947db10
Tools: handle message interval commands as both long and int
2023-10-03 10:12:21 +09:00
Peter Barker
e69760f51b
autotest: fix flapping Rally test
...
when MAVProxy says "loaded" it is only refering to getting the files into its own state, not into the autopilot
2023-08-30 12:21:17 +10:00
Peter Barker
d197ad6a90
autotest: augment relay tests to run as cmd_int, and more messages
2023-08-29 11:15:14 +10:00
Peter Barker
aa6f351571
autotest: add tests for Rover MAV_CMD_NAV_SET_YAW_SPEED
2023-08-26 18:24:09 +10:00
Peter Barker
1228f4c458
autotest: add test for Rover MAV_CMD_MISSION_START
2023-08-26 08:59:30 +10:00
Peter Barker
2b9b3c07cb
autotest: add test for rover MAV_CMD_DO_CHANGE_SPEED
2023-08-24 13:06:00 +09:00
Peter Barker
a44820cfde
autotest: tidy Rover DriveMaxRCIN test
...
take advantage of created infrastructure
2023-08-24 12:02:38 +10:00
Peter Barker
b93e1d471f
autotest: add test for Rover MAV_CMD_NAV_RETURN_TO_LAUNCH
2023-08-23 21:29:00 +10:00
Peter Barker
6a6a0b36c9
autotest: add test for Rover reversing in guided
2023-08-23 16:12:21 +10:00
Peter Barker
c80ef940fd
autotest: add tests for RELAY_STATUS message
2023-08-09 07:44:07 +10:00
Peter Barker
bde43f167e
autotest: use named parameters for send_cmd and run_cmd
2023-07-16 10:23:20 +10:00
Peter Barker
28da57f940
autotest: correct duplicate-test-name problems
2023-06-02 22:58:40 +10:00
bugobliterator
dc8deec351
autotest: add support for testing mavlink in lua
2023-05-24 19:03:28 +10:00
Peter Barker
b90166ab97
Tools: use methods to determine port numbers
2023-05-18 07:53:43 +10:00
bugobliterator
fcb622c610
autotest: add test for lua modules
2023-04-28 12:36:08 +10:00
Peter Barker
2271827c9d
autotest: add tests for compass prearms
2023-04-19 14:25:06 +10:00
Peter Barker
5cc046b9cc
Tools: AP_Arming ensures mission items present when in auto mode
...
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Peter Barker
3863183996
autotest: give Rover longer to arrive home
...
vagaries of interaction with Python script means we need to give this more time when running balancebot
2023-04-11 00:25:53 +10:00
Peter Barker
9f2aef4c97
autotest: allow other prearm failures while waiting for estop prearm
...
accels inconsistent was popping up in here.
We can ignore that - we only care we won't arm because of the estop being active. This will also save a bit of time with the removal of the raw delay-for-10-seconds
2023-04-09 20:48:34 +10:00
Pierre Kancir
fa2c7113c9
Tools: enable back DriveMaxRCIN test as rover sitl gsf issue is solved
2023-03-15 19:31:26 +11:00
Randy Mackay
bfa15133c7
Tools: autotest fixes for rover
...
fixes camera mission, set-message-interval, request-message,
SendToComponents
2023-03-01 18:18:51 +11:00
Peter Barker
b287476cc6
Tools: autotest: add a test for Rover's INITIAL_MODE
2023-02-26 16:41:32 +11:00
Pierre Kancir
468356d513
Tools: rover: implement test_gcs_failsafe
2023-02-24 09:41:17 -08:00
Peter Barker
31de6fd0b5
autotest: tidy LUA scripting internal tests
2023-02-17 12:54:49 +11:00
Peter Barker
69b8e30f28
autotest: rename remove_example_script to remove_installed_script
2023-02-17 12:54:49 +11:00
Peter Barker
306d8360fb
autotest: tidy scripting examples test
2023-02-17 12:54:49 +11:00
Peter Barker
f5320f1691
autotest: rover: remove pointless try/except block
2023-01-05 07:29:44 +11:00
Peter Barker
dcf41f2396
autotest: add additional tests for private channels
2022-11-29 10:32:02 +11:00
Peter Barker
d1cff53ba1
autotest: add test for mavlink private-channel
2022-11-29 10:32:02 +11:00
Peter Barker
8777d68ac1
autotest: drain self.mav while waiting on other link
...
In the short period of time it takes for us to get organised/draining mavlink connections, the ArduPilot process might block writing to the primary mavlink connection - in which case we'll never get the message we requested.
Should solve
2022-08-31T23:17:43.6904119Z AT-0227.6: waiting for a message - any message....
2022-08-31T23:17:43.6904958Z AT-0227.6: Received (ATTITUDE {time_boot_ms : 3146, roll : 0.00013471684360411018, pitch : -4.076504410477355e-05, yaw : -2.1274349689483643, rollspeed : 6.679168291157112e-05, pitchspeed : 3.297374496469274e-05, yawspeed : 9.125166684498254e-07})
2022-08-31T23:17:43.6905505Z AT-0227.6: Waiting for mission count of (3) from (1:1) to (243:250)
2022-08-31T23:17:43.6905909Z AT-0227.6: Asserted mission count (type=2) is 3 after 0.100000s
2022-08-31T23:17:43.6906252Z AT-0227.6: Get first item on new link
2022-08-31T23:17:43.6906620Z AT-0289.2: Received exception (Did not receive MISSION_ITEM_INT
2022-08-31T23:17:43.6907047Z Traceback (most recent call last):
2022-08-31T23:17:43.6907386Z File "/__w/ardupilot/ardupilot/Tools/autotest/rover.py", line 3067, in test_rally
2022-08-31T23:17:43.6907719Z m2 = self.get_mission_item_int_on_link(
2022-08-31T23:17:43.6908080Z File "/__w/ardupilot/ardupilot/Tools/autotest/rover.py", line 2288, in get_mission_item_int_on_link
2022-08-31T23:17:43.6908469Z raise NotAchievedException("Did not receive MISSION_ITEM_INT")
2022-08-31T23:17:43.6908841Z common.NotAchievedException: Did not receive MISSION_ITEM_INT
2022-08-31T23:17:43.6909118Z )
2022-08-31T23:17:43.6909468Z AT-0289.2: Exception caught: Did not receive MISSION_ITEM_INT
2022-11-09 09:17:08 +11:00
Shiv Tyagi
c6b2ab427f
autotest: loosen constraints on docking test
2022-10-02 19:18:23 +11:00