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

Revision history [back]

click to hide/show revision 1
initial version

Hi, I searched for this file in many ros projects, because it looks it's used in many openai_ros project examples that can be found here: https://bitbucket.org/theconstructcore/openai_examples_projects/src/master/

Many of these projects (maybe all of them) use a similar code with the same "start_world.launch" as we can see on this screenshot: image description

But in many of these usages (I checked some of them but not all) the "start_world.launch" file is tried to be launched from a repository that don't have such a launch file.

The only ros repository that have such a file is "moving_cube", as you can see in the git bellow: https://bitbucket.org/theconstructcore/moving_cube/src/master/moving_cube_description/launch/start_world.launch

My theory is that the code for "moving_cube" has been copy pasted without modifying the corresponding launch file. So I think the best way to correct this issue is to find a launch file in turtlebot3 that do the same that "start_world.launch" do for moving cube, and replace its name in your "start_training_v2.launch". Verify the two launch file to spot their differences and to prevent any bug.

I'll come back if I find a better solution.

Hi, I searched for this file in many ros projects, because it looks it's used in many openai_ros project examples that can be found here: https://bitbucket.org/theconstructcore/openai_examples_projects/src/master/

Many of these projects (maybe all of them) use a similar code with the same "start_world.launch" as we can see on this screenshot: image description

But in many of these usages (I checked some of them but not all) the "start_world.launch" file is tried to be launched from a repository that don't have such a launch file.

The only ros repository that have such a file is "moving_cube", as you can see in the git bellow: https://bitbucket.org/theconstructcore/moving_cube/src/master/moving_cube_description/launch/start_world.launch

My theory is that the code for "moving_cube" has been copy pasted without modifying the corresponding launch file. So I think the best way to correct this issue is to find a launch file in turtlebot3 that do the same that "start_world.launch" do for moving cube, and replace its name in your openai_ros/openai_ros/src/openai_ros/task_envs/turtlebot3/turtlebot3_world.py, line 26, that is where this launch file is called after you launched "start_training_v2.launch". Verify the two launch file to spot their differences and to prevent any bug.

I'll come back if I find a better solution.