autotest: correct sub gripper mission
Ordinarily not run because gripper is disabled
This commit is contained in:
parent
e8f96efe72
commit
d621fe0cde
@ -267,12 +267,6 @@ class AutoTestSub(AutoTest):
|
|||||||
self.progress("Mission OK")
|
self.progress("Mission OK")
|
||||||
|
|
||||||
def test_gripper_mission(self):
|
def test_gripper_mission(self):
|
||||||
with self.Context(self):
|
|
||||||
self.test_gripper_body()
|
|
||||||
|
|
||||||
def test_gripper_body(self):
|
|
||||||
ex = None
|
|
||||||
try:
|
|
||||||
try:
|
try:
|
||||||
self.get_parameter("GRIP_ENABLE", timeout=5)
|
self.get_parameter("GRIP_ENABLE", timeout=5)
|
||||||
except NotAchievedException:
|
except NotAchievedException:
|
||||||
@ -286,11 +280,6 @@ class AutoTestSub(AutoTest):
|
|||||||
self.change_mode('AUTO')
|
self.change_mode('AUTO')
|
||||||
self.wait_statustext("Gripper Grabbed", timeout=60)
|
self.wait_statustext("Gripper Grabbed", timeout=60)
|
||||||
self.wait_statustext("Gripper Released", timeout=60)
|
self.wait_statustext("Gripper Released", timeout=60)
|
||||||
except Exception as e:
|
|
||||||
self.print_exception_caught(e)
|
|
||||||
ex = e
|
|
||||||
if ex is not None:
|
|
||||||
raise ex
|
|
||||||
|
|
||||||
def dive_set_position_target(self):
|
def dive_set_position_target(self):
|
||||||
self.change_mode('GUIDED')
|
self.change_mode('GUIDED')
|
||||||
|
Loading…
Reference in New Issue
Block a user