pyrobosim.planning.actions.ExecutionOptions.__init__

ExecutionOptions.__init__(delay: float = 0.0, success_probability: float = 1.0, rng_seed: int | None = None, battery_usage: float = 0.0) None

Creates a new set of action execution options.

Parameters:
  • delay – The simulated delay time, in seconds.

  • success_probability – The simulated success probability, in the range (0, 1).

  • rng_seed – The seed to use for random number generation. Defaults to None, but can be changed for determinism.

  • battery_usage – Amount of battery reduction from running the action. Note that some actions apply this as a fixed reductions, and others apply it per some unit of measure (for example, battery per distance moved). Must be greater than 0.