Skip to content

Simulation reset causes non-reproducible simulations #2658

Open
@lukicdarkoo

Description

@lukicdarkoo

Describe the Bug
After the simulation reset, the behavior of the robots is not exactly the same. There are very tiny deviations, but enough to consider the simulations non-reproducible.

Steps to Reproduce

  1. Download reproducibility.zip
  2. Start the world (let it run for 2-3 seconds)
  3. Reset the simulation (let it run for 2-3 seconds)
  4. There should be two files in the controller's directory, one from step 2 and the other one from step 3. Compare them. Only the first row should be the same.

With PROTOs (this may be a better example):

  1. Download reproducability_proto.zip
  2. cd controllers/position_tracker
  3. webots ../../worlds/reproducability_proto.wbt
  4. Put it in the fast mode and reset the simulation like 20 times
  5. python3 check.py to check for deviations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions