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

Turtlebot Gazebo tutorial can't find diagnostics.yaml

asked 2013-07-08 09:21:50 -0500

BlitherPants gravatar image


I am trying to follow exactly the tutorial listed on this page:

When I try to launch the simulation with roslaunch turtlebot_gazebo_tutorial build_map.launch, I end up with this error:

turtlebot@TurtleBook:~/sim_workspace/unversioned/turtlebot_gazebo_tutorial$ roslaunch turtlebot_gazebo_tutorial build_map.launch
... logging to /home/turtlebot/.ros/log/a2f359fc-e800-11e2-9907-dc85de7b0a3a/roslaunch-TurtleBook-4029.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

error loading <rosparam> tag: 
    file does not exist [/opt/ros/groovy/stacks/turtlebot/turtlebot_bringup/config/diagnostics.yaml]
XML is <rosparam command="load" file="$(find turtlebot_bringup)/config/diagnostics.yaml"/>

Sure enough, I have a turtlebot_bringup folder, but there is no "config" subfolder. I'm very much a newbie to ROS and TurtleBot in general; would anybody please be able to tell me why I'm missing this file or how I should have generated it?

I am running TurtleBot 2 (Kobuki base) on ROS Groovy and Ubuntu 12.04

The only thing I have done differently from following the tutorial exactly is replace a single line in robot.launch. Originally this:

<launch>   <param name="robot_description" command="$(find xacro)/ '$(find turtlebot_description)/urdf/turtlebot.urdf.xacro'" />

I used this instead:

  <param name="robot_description" command="$(find xacro)/ '$(find turtlebot_description)/urdf/turtlebot_gazebo.urdf.xacro'" />

I did this because there was a turtlebot.urdf.xacro in myturtlebot_description folder, but only in the "graveyard" subfolder. This caused an error and the name suggested to me that the launch file on the tutorial was somewhat outdated. Changing to the turtlebot_gazebo.urdf.xacro file fixed this error, but now I have the error listed above.

Any help is greatly appreciated. Thank you in advance!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-08 15:36:36 -0500

bit-pirate gravatar image

TurtleBot simulation is not supported in Groovy.

You either have to use Fuerte or wait for the new TurtleBot simulation in Hydro.


edit flag offensive delete link more


Oh...that's a shame. Thank you for your time.

BlitherPants gravatar image BlitherPants  ( 2013-07-09 04:00:03 -0500 )edit

answered 2014-05-03 12:14:06 -0500

updated 2014-05-03 12:16:04 -0500

Hey, I am using Hydro, It seems that "diagnostics.yaml" file is moved to "/param/create" in newer versions

replace this line in robot.launch file

<rosparam command="load" file="$(find turtlebot_bringup)/config/diagnostics.yaml"/>


<rosparam command="load" file="$(find turtlebot_bringup)/param/kobuki/diagnostics.yaml"/> (If you are using create base or roomba, replace "kobuki" with it)

and try. worked on my system, not sure about groovy.

edit flag offensive delete link more


Hi Sudeep, It would be great if you could please share the turtlebot robot.launch for hydro here ? I am still having problems with mine.

satk gravatar image satk  ( 2014-12-09 10:37:40 -0500 )edit

Question Tools


Asked: 2013-07-08 09:21:50 -0500

Seen: 637 times

Last updated: May 03 '14