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

Hokuyo Node Tutorial adapted to Groovy

asked 2013-08-29 20:35:14 -0600

philglau gravatar image


The HokuyoNode tutorial seems to have been written for Fuerte, I'm running Groovy (and started learning with it, so have no knowledge of Fuerte)

(I don't have enough karma to publish the link, so I abbreviated it.)

The tutorial seems to work fine until 1.7 where the following fuerte command (??) is given:

rosrun rviz rviz -d `rospack find hokuyo_node`/hokuyo_test.vcg

This results in an error:

ERROR: the config file '/opt/ros/groovy/stacks/laser_drivers/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.

What is the Groovy command equivalent of what is given in the tutorial that I should run on Groovy in order to get the laser scan to show up in rviz as shown in the tutorial ?

PS. I was able to get the Hokuyo Scanner up and it appears to be streaming. I ran

rosrun hokuyo_node hokuyo_node

It connected and indicates "Streaming Data"

Thanks for your time.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-30 00:06:45 -0600

dornhege gravatar image

I guess the simplest way is to do it manually. Just run rviz with any config file and put in a LaserScan display. If you are just running the one scanner, there should be only one topic to choose from.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-08-29 20:35:14 -0600

Seen: 1,035 times

Last updated: Aug 30 '13