how to add new robot in openai_ros environment. let`s say my new robot is "cube". how to add it in openai_ros

asked 09 Feb, 03:01

RahulIndoria's gravatar image

accept rate: 0%

Hi Rahul, basically you need to create a new RobotEnvironment class for your robot which implements several virtual functions. How to do that?

  1. You have a template class in the openai_package for creating the RobotEnvironment for your robot. You can find it inside the templates directory. You can follow the instructions that the template has (it indicates which functions to fill and for what).
  2. I would recommend you to have a look at the RobotEnvironments made for a similar robot of yours. You can check the already provided by the open_ai package
  3. We did a ROS Developers Live Class where we showed an example how to use different robots for the same task. It can help you understand the whole structure. You can find it here
  4. Finally, in our online course Using OpenAI with ROS you have a full detailed example on how to do it.

Hope this helps

permanent link

answered 16 Feb, 10:30's gravatar image

rtellez@thec... ♦♦
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Feb, 03:01

question was seen: 302 times

last updated: 16 Feb, 10:30

Related questions

powered by OSQA