pyrobosim.core.world.World.reset
- World.reset(deterministic: bool = False, seed: int = -1) bool
Resets the world to its initial state.
- Parameters:
deterministic – If True, resets the world completely deterministically. Otherwise, sampled poses may be resampled randomly.
seed – The seed to use for random number generation. This is useful for applications such as machine learning where you want to control randomness. If -1 (default), does not use a fixed seed.
- Returns:
True if the reset was successful, else False.