pyrobosim.core.robot.Robot.execute_plan
- Robot.execute_plan(plan, delay=0.5)
Executes a task plan, specified as a
pyrobosim.planning.actions.TaskPlan
object.- Parameters:
plan (
pyrobosim.planning.actions.TaskPlan
) – Task plan to execute.delay (float, optional) – Artificial delay between actions for visualization.
- Returns:
A tuple containing an execution result and the number of actions completed.
- Return type:
tuple[
pyrobosim.planning.actions.ExecutionResult
, int]