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

Where can I find the launch files "put_robot_in_world.launch" and "start_world.launch" inside the package "turtlebot3_gazebo"?"

asked 2022-03-07 16:08:47 -0600

JorgeBV99 gravatar image

Hi everyone,

I'm trying to recreate the turtlebot3 example of the "openai_ros" package found in their git on bitbucket.org. I used the tutorial found inside the link http://wiki.ros.org/openai_ros/Turtle... to know which files I needed to use from the turtlebot3 example on the git to try the training, but when I run roslaunch my_turtlebot3_openai_example start_training_v2.launch, in the terminal appears the following error:

RLException: [start_world.launch] is neither a launch file in package [turtlebot3_gazebo] nor is [turtlebot3_gazebo] a launch file name
The traceback for the exception was written to the log file
RLException: [put_robot_in_world.launch] is neither a launch file in package [turtlebot3_gazebo] nor is [turtlebot3_gazebo] a launch file name
The traceback for the exception was written to the log file

I checked inside the package mentioned in the error, but there were no such files inside the "launch" folder. Does someone know where can I find these files, or how can I create them?

Platform used: Ubuntu 20.04.4 64bit with kernel version 5.13.0-30-generic, ROS Noetic

edit retag flag offensive close merge delete

Comments

Hi! Couldn't that be because you're using noetic? could noetic be fully combined with OpenAI?

Belghiti gravatar image Belghiti  ( 2022-06-02 03:11:37 -0600 )edit
1

Hi, same problem here. @Belghiti, ros is looking for a launch file in package turtlebot3_gazebo, that don't exists. So you can change the ros version the file will still not exists.

Have you find the solution @JorgeBV99 ?

Hedwin gravatar image Hedwin  ( 2023-05-31 07:24:27 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-31 09:08:42 -0600

Hedwin gravatar image

updated 2023-05-31 09:16:04 -0600

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/theconstructcor...

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/theconstructcor...

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 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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-03-07 16:08:47 -0600

Seen: 240 times

Last updated: May 31 '23