pyrobosim.planning.actions.TaskAction.__init__

TaskAction.__init__(type, robot=None, object=None, room=None, source_location=None, target_location=None, pose=None, path=Path with 0 points, Length 0.000, cost=None)

Creates a new task action representation.

Parameters:
  • type (str) – Action type.

  • robot (str, optional) – Name of robot to execute the action.

  • object (str, optional) – Target object type or name.

  • room (str, optional) – Target room name.

  • source_location (str, optional) – Source location type or name.

  • target_location (str, optional) – Target location type or name.

  • pose (pyrobosim.utils.pose.Pose, optional) – Optional pose parameter for the action.

  • path (pyrobosim.utils.motion.Path, optional) – A specific path to follow, if provided.

  • cost (float) – Optional action cost.