duburcqa / jiminy

Jiminy: a fast and portable Python/C++ simulator of poly-articulated robots with OpenAI Gym interface for reinforcement learning
https://duburcqa.github.io/jiminy
MIT License
228 stars 26 forks source link

[python/viewer] Split the notions of view and Viewer. #513

Open duburcqa opened 2 years ago

duburcqa commented 2 years ago
duburcqa commented 3 months ago

After thinking, I'm in favour of moving the management of robots inside viewers at Simulator level. Viewer would be responsible for managing an instance of the backend, which would not have to be a singleton anymore (but would be by default). It does not really make sense for the viewer to manager this content the way it is currently.