pyrobosim.core.robot.Robot.plan_path

Robot.plan_path(start=None, goal=None)

Plans a path to a goal position.

Parameters:
  • start (pyrobosim.utils.pose.Pose, optional) – Start pose for the robot. If not specified, will default to the robot pose.

  • goal (pyrobosim.utils.pose.Pose / str, optional) – Goal pose or entity name for the robot. If not specified, returns None.

Returns:

The path, if one was found, otherwise None.

Return type:

pyrobosim.utils.motion.Path or None