pyrobosim.planning.actions.TaskAction.__init__

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

Creates a new task action representation.

Parameters:
  • type – Action type.

  • robot – Name of robot to execute the action.

  • object – Target object type or name.

  • room – Target room name.

  • source_location – Source location type or name.

  • target_location – Target location type or name.

  • pose – Optional pose parameter for the action.

  • path – A specific path to follow, if provided.

  • cost – Optional action cost.