projectchrono / chrono

High-performance C++ library for multiphysics and multibody dynamics simulations
http://projectchrono.org
BSD 3-Clause "New" or "Revised" License
2.24k stars 469 forks source link

Question about Chrono-tensorflow #167

Closed jaberkow closed 5 years ago

jaberkow commented 5 years ago

It appears that the environment interface in the chrono-tensorflow demo closely emulates the OpenAI gym framework. Is there a reason not to just subclass an OpenAI gym and use their utilities (Spaces, etc)?

Benatti1991 commented 5 years ago

Actually it is something we are planning to do, but I haven't looked further into it. You are right, it would be nice to have PyChrono environments inside Gym. Since the vehicle module is now wrapped in PyChrono I could spend some time on this implementation now. If you are willing to contribute please contact me (you should find my email adress in my GitHub profile).

Benatti1991 commented 5 years ago

UPDATE: gym-chrono has been released. We also added 2 more complex tasks (a robotic arm and a hexapod walker). The environments are fully compatible with OpenAI Gym environments and tasted with OpenAI's baselines. https://github.com/projectchrono/gym-chrono