eager-dev / eager

[deprecated] Engine Agnostic Gym Environment for Robotics
https://eager-control.readthedocs.io/
Apache License 2.0
16 stars 0 forks source link

Implement seed in every bridge #102

Closed AlexanderKeijzer closed 3 years ago

AlexanderKeijzer commented 3 years ago
bheijden commented 3 years ago

Pybullet is 100% deterministic: https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=12755

bheijden commented 3 years ago

Webots can only set seed in world file: https://cyberbotics.com/doc/reference/worldinfo

Lets publish a warning when the user uses .seed(), while simulating with webots and inform the user that seeds must be set in the .wbt file. Via WebotsEngine(EngineParameters) similar to how world timestep can be set.

bheijden commented 3 years ago

We should also check whether numpy is actually seeded when the user calls seed.