robotology / gym-ignition

Framework for developing OpenAI Gym robotics environments simulated with Ignition Gazebo
https://robotology.github.io/gym-ignition
GNU Lesser General Public License v3.0
231 stars 26 forks source link

C++ refactoring roadmap #155

Closed diegoferigo closed 4 years ago

diegoferigo commented 4 years ago

In issue #95 I proposed a new way to communicate with Ignition Gazebo. The current architecture of the bindings (mainly GazeboWrapper and IgnitionRobot classes) have been developed over time after many attempts to find a working solution. Though, they are not optimal and now that we have a deeper knowledge of the Ignition Gazebo architecture maybe we can do better.

In the past few days I prototyped new classes inspired by upstream resources such as ignition::gazebo::Model. I like the initial result, and I would like to move this idea forward.

This task is not trivial. However, is mainly a copy-and-paste of existing code, in other words, a refactoring. Here below a recap of the planned activities:

cc @traversaro @paolo-viceconte @raffaello-camoriano

diegoferigo commented 4 years ago

Closed via #185