Ask Your Question
0

roslaunch turtlebot_gazebo failure

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

ptreyesguy gravatar image

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

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 imagemarwa eldiwiny ( 2016-08-05 09:09:25 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
1

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

nampi gravatar image

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

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 imageptreyesguy ( 2016-01-11 11:27:05 -0600 )edit

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

nampi gravatar imagenampi ( 2016-01-11 12:36:07 -0600 )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 imageptreyesguy ( 2016-01-11 16:33:15 -0600 )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 imagenampi ( 2016-01-12 00:13:36 -0600 )edit

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

ptreyesguy gravatar imageptreyesguy ( 2016-01-12 11:28:28 -0600 )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 imagenampi ( 2016-01-14 10:56:41 -0600 )edit
0

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

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 2016-06-14 21:36:31 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 9,062 times

Last updated: Aug 05 '16