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

roslaunch turtlebot_gazebo failure

asked 2016-01-11 02:29:30 -0500

ptreyesguy gravatar image

updated 2016-06-14 21:28:34 -0500

130s gravatar image

After Synaptic installation of ros-indigo-rocon and kabuki, I downloaded the turtlebot.rosinstall and did a rosdep install. next I added the source to .bashrc and executed. Then,

~/turtlebot$ sudo apt-get install ros-indigo-turtlebot ros-indigo-turtlebot-apps ros-indigo-turtlebot-interactions ros-indigo-turtlebot-simulator ros-indigo-kobuki-ftdi ros-indigo-rocon-remocon

My next command was:

:~/turtlebot$ roslaunch turtlebot_gazebo turtlebot_empty_world.launch 

[turtlebot_empty_world.launch] is neither a launch file in package [turtlebot_gazebo] nor is [turtlebot_gazebo] a launch file name 
The traceback for the exception was written to the log file**

When I reran the installation, I got:

ros-indigo-kobuki-ftdi is already the newest version. 
ros-indigo-rocon-remocon is already the newest version. 
ros-indigo-turtlebot is already the newest version. 
ros-indigo-turtlebot-apps is already the newest version. 
ros-indigo-turtlebot-interactions is already the newest version. 
ros-indigo-turtlebot-simulator is already the newest version. 
0 upgraded, 0 newly installed, 0 to remove and 215 not upgraded.

Can anyone suggest what I should do to recover?

What is the log file referred to in the error message?

edit retag flag offensive close merge delete

Comments

Me to I get the same error

[turtlebot_gazebo.launch] is neither a launch file in package [turtlebot_example] nor is [turtlebot_example] a launch file name The traceback for the exception was written to the log file

marwa eldiwiny gravatar image marwa eldiwiny  ( 2016-08-05 09:09:25 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2016-01-11 06:32:23 -0500

nampi gravatar image

updated 2016-06-14 21:27:04 -0500

130s gravatar image

You should use this command:

roslaunch turtlebot_gazebo turtlebot_world.launch

There are some tutorials at http://wiki.ros.org/action/show/Robot... in section 6 about bringing up the TurtleBot in gazebo.

edit flag offensive delete link more

Comments

Thank you nampi but using the command you specify does not work. I get the same error message again: **[turtlebot_world] is neither a launch file in package [turtlebot_gazebo] nor is [turtlebot_gazebo] a launch file name The traceback for the exception was written to the log file

ptreyesguy gravatar image ptreyesguy  ( 2016-01-11 11:27:05 -0500 )edit

@ptreyesguy Try to type "roslaunch turtlebot_gazebo" in command line, then press 'Tab'. What launch files do you have?

nampi gravatar image nampi  ( 2016-01-11 12:36:07 -0500 )edit

**No result from Tab but "dpkg -l |grep gazebo" shows: ros-indigo- followed by, respectively gazebo2m concert-service-gazebo, indigo-gazebo-concert,gazebo-msgs, gazebo-plugins, gazebo-ros, gazebo-ros-control, gazebo-ros-pkgs, kabuki-gazebo-plugins, turtlebot-gazebo

ptreyesguy gravatar image ptreyesguy  ( 2016-01-11 16:33:15 -0500 )edit

I have some of these packages and in addition I have "gazebo2", "ros-indigo-kobuki-gazebo" in output "dpkg -l | grep gazebo".

nampi gravatar image nampi  ( 2016-01-12 00:13:36 -0500 )edit

nampi: Please tell me where your packages are, relative to HOME.

ptreyesguy gravatar image ptreyesguy  ( 2016-01-12 11:28:28 -0500 )edit
1

My packages are situated here: /opt/ros/indigo/share. Also you can use command: "roscd". roscd allows you to change directories using a package name. Read more here http://wiki.ros.org/rosbash#roscd .

nampi gravatar image nampi  ( 2016-01-14 10:56:41 -0500 )edit
0

answered 2016-06-14 21:36:31 -0500

130s gravatar image

In a comment at this thread of yours,

I get the same error message again: **[turtlebot_world] is neither a launch file in package [turtlebot_gazebo]

The error message [turtlebot_world] is neither a launch file says it all. You're missing ".launch". File name should be turtlebot_world.launch as @nampi says.

edit flag offensive delete link more
0

answered 2017-03-23 20:24:39 -0500

You have to let ROS env know about this "new-coming" package but source it in devel workspace by running:

$ . ~/catkin_ws/devel/setup.bash

addressed in Building a catkin package in Catkin tutorial.

Hope this might help.

edit flag offensive delete link more
0

answered 2021-05-24 08:21:03 -0500

Abdel_Meguid gravatar image

i face this problem and i can solve it ...please check if you find any error message when you open a new terminal ,because i find in my case many problems in alias in file .bashrc to solve it run gedit ~/.bashrc then search about the line that caused the problem 2- another solution run the below command if your system noetic ,only replace word kinetic with noetic sudo apt-get install ros-kinetic-gazebo-ros.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-01-11 02:29:30 -0500

Seen: 15,717 times

Last updated: May 24 '21