Skip to content
Snippets Groups Projects
Commit ae013fd5 authored by Tommy Persson's avatar Tommy Persson
Browse files

Work on pick-up executor.

parent 8f29cfcd
Branches master
No related tags found
No related merge requests found
Pipeline #54877 passed
...@@ -121,7 +121,7 @@ def land(ns, unit): ...@@ -121,7 +121,7 @@ def land(ns, unit):
return (res, reason, timing) return (res, reason, timing)
def pickup(ns, unit): def pickup(ns, unit):
pickup = Node("pick-up", {"execunit": unit, "do-not-ask-for-help": True, "type": "gun"}) pickup = Node("pick-up", {"execunit": unit, "do-not-ask-for-help": False, "type": "gun"})
tree = Node("seq", {"execunit": unit}, [pickup]) tree = Node("seq", {"execunit": unit}, [pickup])
mo = MissionObject("pickup", ns, options.display, options.verbose) mo = MissionObject("pickup", ns, options.display, options.verbose)
(res, reason, timing) = mo.delegation_process(tree, options.exectree) (res, reason, timing) = mo.delegation_process(tree, options.exectree)
...@@ -602,7 +602,7 @@ def paper_scenario3(ns, unit): ...@@ -602,7 +602,7 @@ def paper_scenario3(ns, unit):
if __name__ == "__main__": if __name__ == "__main__":
rospy.init_node ("deltester") rospy.init_node ("delcommand")
import signal import signal
signal.signal(signal.SIGINT, signal.SIG_DFL) signal.signal(signal.SIGINT, signal.SIG_DFL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment