pyrobosim.gui.world_canvas.WorldCanvas.show_planner_and_path

WorldCanvas.show_planner_and_path(robot: Robot | None = None, show_graphs: bool = True, path: Path | None = None) None

Plot the path planner and latest path, if specified. This planner could be global (property of the world) or local (property of the robot).

Parameters:
  • robot – If set to a Robot instance, uses that robot for display.

  • show_graphs – If True, shows the path planner’s latest graph(s).

  • path – An optional path to display.