Commit 80ef9fbe authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel

Do not check whether SOT are compatible.

parent 1b6e742b
......@@ -37,14 +37,14 @@ class RosInterface(object):
rsp = PlugSotResponse()
if self.supervisor is not None:
try:
self.supervisor.plugSot(req.transition_id, True)
self.supervisor.plugSot(req.transition_id, False)
except Exception as e:
rospy.logerr(str(e))
rsp.success = False
rsp.msg = str(e)
return rsp
else:
answer = self.runCommand ("supervisor.plugSot({}, True)".format(req.transition_id))
answer = self.runCommand ("supervisor.plugSot({}, False)".format(req.transition_id))
if len(answer.standarderror) != 0:
rospy.logerr(answer.standarderror)
rsp.success = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment