Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.41 KB

creating_environments.md

File metadata and controls

21 lines (11 loc) · 1.41 KB

Creating Environments

One of the benefits of the modular architecture of robo-gym is that it is fairly simple to add new environments to it.

All the environments are stored under the envs directory, in here we organized the different environments in different folders for each robot.

All the environments are based on the gym.env class, you can base your environment class directly on gym.env or start from one of the classes already included in robo-gym and expand them.

Once you created the class for your environment it has to be added to the registration in order to make it available. Following what it has already been done for the existing environments, add the import of your classes to robo_gym/envs/__init__.py and the registration of the environment to robo_gym/__init__.py.

Example

We provide a base Environment together with its Robot Server with minimum functionality as a base for you to start with the implementation of your own Robot Server.

Robot Server Example

Environment Example

Integrating new robot and sensors

Integrating new robots and sensors is possible but requires knowledge of ROS and Gazebo, if you are interested in that we would be happy to support you with that, please reach out!