Commit 3357eaae authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Scripts] AbstractPlanner: add optional argument to solve() to display the roadmap

parent 3877a6ea
......@@ -156,7 +156,7 @@ class AbstractPathPlanner:
def solve(self):
def solve(self, display_roadmap = False):
Solve the path planning problem.
q_init and q_goal must have been defined before calling this method
......@@ -168,7 +168,10 @@ class AbstractPathPlanner:
t =
if display_roadmap and self.v.client.gui.getNodeList() is not None:
t = self.v.solveAndDisplay("roadmap", 5, 0.001)
t =
print("Guide planning time : ", t)
Supports Markdown
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