Ask Your Question
0

Turtlebot Gazebo tutorial can't find diagnostics.yaml

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

BlitherPants gravatar image

Hello,

I am trying to follow exactly the tutorial listed on this page: http://www.ros.org/wiki/turtlebot_simulator/Tutorials/Building%20a%20Map%20in%20TurtleBot%20Simulator

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)/xacro.py '$(find turtlebot_description)/urdf/turtlebot.urdf.xacro'" />

I used this instead:

<launch>
  <param name="robot_description" command="$(find xacro)/xacro.py '$(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
1

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

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.

Sorry.

edit flag offensive delete link more

Comments

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

BlitherPants gravatar imageBlitherPants ( 2013-07-09 04:00:03 -0600 )edit
0

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

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

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"/>

to

<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

Comments

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 imagesatk ( 2014-12-09 10:37:40 -0600 )edit

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 517 times

Last updated: May 03 '14