ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Hokuyo_node tutorial error

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

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 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-10-08 20:20:08 -0600

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 -0600 )edit

Thanks! Got the data successfully shown on the rviz!

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

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

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

Your Answer

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

Add Answer

Question Tools



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

Seen: 1,480 times

Last updated: May 08 '15