ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Reinforcement learning with ros robot

asked 2022-02-11 03:45:50 -0500

kankanzheli gravatar image

updated 2022-02-12 02:08:57 -0500

I'm very sorry to ask this question again

My case is using ubuntu18 and ROS melody At the same time, because my own hardware configuration is rtx3070. Therefore, the corresponding CUDA version is 11.1. As a result, Pytorch and tensorflow suitable for CUDA are no longer suitable for python2 seven

So my idea is to create a python3 environment by Anaconda (so that you can install the appropriate Python and tensorflow). But how to carry out reinforcement learning for the gazebo robot created in the main environment(with python2.7) in the python3 environment?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-11 04:19:33 -0500

ljaniec gravatar image

I think OpenAI could be a good start for you.

This post on ROS Discourse about robo-gym could help you too.

Good luck!

edit flag offensive delete link more

Comments

Thanks for your advices. But I have a lot of trouble when I try to using this tow methods. When I try to download robo-gym-robot-servers, the following error is occured: ros-melodic-franka-example-controllers: dependency: ros-melodic-panda-moveit-config, but it will not be installed

E: The error cannot be fixed because you require some packages to remain as they are, because they break the dependencies between packages.

For openai_ros, I have no idea. Should I catkin build it in anaconda python3 enviroment? If yes, how to do that? And it there any example for openai_ros in ros melodic enviroment?

kankanzheli gravatar image kankanzheli  ( 2022-02-11 09:47:21 -0500 )edit

Robo-gym: Which step from there https://github.com/jr-robotics/robo-g... wasn't working for you? OpenAI: https://bitbucket.org/theconstructcor... have a lot of examples, not sure about ROS Melodic part though

ljaniec gravatar image ljaniec  ( 2022-02-11 10:32:26 -0500 )edit

For Robo-gym, Environment Side can be simple installed. The problen was happened when I download Robot Server Side. When I try to work with this step "rosdep install --from-paths src -i -y --rosdistro $ROS_DISTRO", that error is happened.

kankanzheli gravatar image kankanzheli  ( 2022-02-11 10:42:36 -0500 )edit

And for openai_ros, should I catkin build it in anaconda python3 enviroment?

kankanzheli gravatar image kankanzheli  ( 2022-02-11 10:43:18 -0500 )edit

Sadly, I didn't have time to delve into this more by myself, I hope somebody there or on GitHub can help you directly with resolving these bugs and with answering your questions

ljaniec gravatar image ljaniec  ( 2022-02-13 05:02:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-02-11 03:45:50 -0500

Seen: 151 times

Last updated: Feb 12 '22