pyrobosim.gui.world_canvas.WorldCanvas.show_planner_and_path

WorldCanvas.show_planner_and_path(robot=None, show_graphs=True, path=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 (pyrobosim.core.robot.Robot, optional) – If set to a Robot instance, uses that robot for display.

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

  • path (pyrobosim.utils.motion.Path, optional) – Path to goal location, defaults to None.