pyrobosim.planning.actions.ExecutionOptions.__init__

ExecutionOptions.__init__(delay=0.0, success_probability=1.0, rng_seed=None, battery_usage=0.0)

Creates a new set of action execution options.

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

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

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

  • battery_usage (float) – 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.