Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce ScenarI/O abstract classes #219

Conversation

diegoferigo
Copy link
Collaborator

@diegoferigo diegoferigo commented Aug 12, 2020

This PR introduces real abstract classes implementing the ScenarI/O APIs. These new classes are basically a generalized version of the Ignition Gazebo backend (#158), where only the methods that could be compatible with other future backends (e.g. YARP, ROS, etc) have been kept.

This abstraction should help writing generic code that works with any backend. The concrete class initialization and the calls to custom methods not part of the interface should be kept isolated from the generic code (e.g. the classes implementing gym_ignition.task.Task in Python), and should be put in other components like the task randomizer (#177).

📝 The interfaces are finally documented. There are few classes still without documentation, however the major ones are there.


❗ this is part of a multi-PR feature and tests will not pass yet. Have a look at #220 for the bigger picture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant