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

file [rospack find turtlebot_navigation/nav_rviz.vcg] does not exist

asked 2011-11-10 01:57:45 -0500

hxorn00b gravatar image

updated 2011-11-10 08:44:24 -0500

mmwise gravatar image

Having trouble with the navigation tutorial. Map is correctly saved but can not be brought up in rviz. Opening up rviz shows a black map (when it should be grey?). There is a "Global Status Error: Target Frame - For frame [/kinect_rgb_frame]: Frame [/kinect_rgb_frame] does not exist"

When I quit rviz I notice the following error:

"File [rospack find turtlebot_navigation/nav_rviz.vcg] does not exist"

Does that mean that rviz was not initialized properly with the map data?

Not sure if this is related but I am using "roscore" to bringup the bot instead of the "sudo service turtlebot start"

Thanks for the help in advance.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2011-11-10 08:35:37 -0500

mmwise gravatar image

updated 2011-11-10 08:46:16 -0500

The error:

"File [rospack find turtlebot_navigation/nav_rviz.vcg] does not exist"

means that it could not find the vcg file in the turtlebot_navigation folder. It does not mean it could not load your map. All the vcg file does it help you configure your rviz environment. The file should be located in the turtlebot_navigation package. If not, try updating your software.

The error:

"Global Status Error: Target Frame - For frame [/kinect_rgb_frame]: Frame [/kinect_rgb_frame] does not exist"

means that the frame you are trying to view does not exist. Most likely your fixed frame in rviz is set to kinect_rgb_frame, to get rid of this error click on the fixed frame box and select a different frame from the list like base link. For an overview of how rviz works see here: http://www.ros.org/wiki/rviz/UserGuide.

Most likely the reason your map is not being displayed is because the map display module is not loaded. If you click on the add button at the right bottom of the rviz window, then select map and select ok. Once you have added the map module you must select the topic to listen to for the map, click on the topic field and select the map topic and the map should appear.

On a side note, you need to use more than roscore to bring up TurtleBot. sudo service turtlebot start actually just launches minimal.launch in turtlebot_bringup.

edit flag offensive delete link more
0

answered 2011-11-11 04:18:28 -0500

hxorn00b gravatar image

thanks for the tips, they are very helpful. i had to run the rospack find as a separate statement and then paste the result back into the original statement and my rviz is coming up correctly now.

still not getting bringup to run smooth as i'd like. not getting the dashboard to light up properly as one of the battery lights never turn green but both batteries are fully charged. wonder if it has anything to do with the bringup?

edit flag offensive delete link more
0

answered 2012-02-06 13:36:55 -0500

eschulma gravatar image

I found why the rospack substitution failed. It is necessary to use the backtick ` rather than the standard single quote '. Hope this helps someone.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-10 01:57:45 -0500

Seen: 916 times

Last updated: Feb 06 '12