Browse Source

autotest: run GetCapabilities test on all vehicles

c415-sdk
Peter Barker 5 years ago committed by Peter Barker
parent
commit
7038d522b8
  1. 4
      Tools/autotest/apmrover2.py
  2. 4
      Tools/autotest/balancebot.py
  3. 6
      Tools/autotest/common.py

4
Tools/autotest/apmrover2.py

@ -4947,10 +4947,6 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm) @@ -4947,10 +4947,6 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
("GetBanner", "Get Banner", self.do_get_banner),
("GetCapabilities",
"Get Capabilities",
self.test_get_autopilot_capabilities),
("DO_SET_MODE",
"Set mode via MAV_COMMAND_DO_SET_MODE",
self.test_do_set_mode_via_command_long),

4
Tools/autotest/balancebot.py

@ -115,10 +115,6 @@ inherit Rover's tests!''' @@ -115,10 +115,6 @@ inherit Rover's tests!'''
("GetBanner", "Get Banner", self.do_get_banner),
("GetCapabilities",
"Get Capabilities",
self.test_get_autopilot_capabilities),
("DO_SET_MODE",
"Set mode via MAV_COMMAND_DO_SET_MODE",
self.test_do_set_mode_via_command_long),

6
Tools/autotest/common.py

@ -2162,7 +2162,7 @@ class AutoTest(ABC): @@ -2162,7 +2162,7 @@ class AutoTest(ABC):
def get_autopilot_capabilities(self):
# Cannot use run_cmd otherwise the respond is lost during the wait for ACK
self.mav.mav.command_long_send(1,
self.mav.mav.command_long_send(self.sysid_thismav(),
1,
mavutil.mavlink.MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES,
0, # confirmation
@ -4946,6 +4946,10 @@ switch value''' @@ -4946,6 +4946,10 @@ switch value'''
("Parameters",
"Test Parameter Set/Get",
self.test_parameters),
("GetCapabilities",
"Get Capabilities",
self.test_get_autopilot_capabilities),
]
def post_tests_announcements(self):

Loading…
Cancel
Save