pyrobosim.gui.world_canvas.WorldCanvas.navigate_in_thread
- WorldCanvas.navigate_in_thread(robot, goal, path=None)
Starts a thread to navigate a robot to a goal.
- Parameters:
robot (
pyrobosim.core.robot.Robot
or str) – Robot instance or name to execute action.goal (str) – Name of goal location (resolved by the world model).
path (
pyrobosim.utils.motion.Path
, optional) – Path to goal location, defaults to None.
- Returns:
True if navigation succeeds, else False
- Return type:
bool