gaorkl / simple-playgrounds

Simulator for Reinforcement Learning and AI. 2D environments with physics and interactive entities. Agents with rich sensors and actuators.
MIT License
27 stars 10 forks source link

Engine reset should include update_observations #66

Closed vakker closed 1 year ago

vakker commented 3 years ago

If I run the following then before the first iteration there's not observations only if I use update_observations:

    engine = Engine(scenario)
    engine.reset()
    engine.update_observations()

    engine.run(10)

I think that should be part of the reset method of the Engine.