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

Hokuyo_node tutorial error

asked 2015-05-08 02:05:29 -0500

StevenJiang gravatar image


I followed the exact steps on

Everything showed up as expected until I reached the final step, which is rosrun rviz rviz -d rospack find hokuyo_node/hokuyo_test.vcg

I got an error: ERROR: the config file '/opt/ros/indigo/share/hokuyo_node/hokuyo_test.vcg' is a .vcg file, which is the old rviz config format. New config files have a .rviz extension and use YAML formatting. The format changed between Fuerte and Groovy. There is not (yet) an automated conversion program.

I tried to change the command to rosrun rviz rviz -d rospack find hokuyo_node/hokuyo_test.rviz, rviz did launch, but I just could not change the fixed frame to '/laser' in the global options, the fixed frame is 'map' when rviz launched.

Can anyone please give me some advice?

Thanks. Steven

edit retag flag offensive close merge delete


Hi, Steven. I'm on the same boat as you are! Did you get the solution? Regards.

sergiocruz86 gravatar image sergiocruz86  ( 2015-06-05 07:25:26 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-10-08 20:20:08 -0500

rj gravatar image

Run rviz without the .vcg file i.e. rosrun rviz rviz. Set Global Options -> Fixed frame = /laser and Grid -> Reference Frame = /laser. The Add -> LaserScan, and set it's topic to /scan. You should see the laser scan on the grid.

edit flag offensive delete link more



Just to elaborate on this: the Fixed Frame field is also a text entry field; you may have to manually type in '/laser'

ahendrix gravatar image ahendrix  ( 2015-10-08 22:40:41 -0500 )edit

Thanks! Got the data successfully shown on the rviz!

BoY gravatar image BoY  ( 2017-04-06 14:58:03 -0500 )edit

answered 2015-06-23 21:32:53 -0500

seba88 gravatar image

Hi I have the same problem. Let me know if you find a solution and I will do the same.


edit flag offensive delete link more

Question Tools



Asked: 2015-05-08 02:05:29 -0500

Seen: 1,781 times

Last updated: May 08 '15