pyrobosim.planning.actions.TaskPlan

class pyrobosim.planning.actions.TaskPlan(robot: str | None = None, actions: list[TaskAction] = [])

Task Plan representation class.

A task plan is simply described as a sequence of task actions (pyrobosim.planning.actions.TaskAction).

Methods

__init__([robot, actions])

Creates a new task plan.

set_actions(actions)

Sets actions and updates the total cost over all the actions.

size()

Get the total number of actions comprising this task plan.