Ask Your Question
0

Get data from Hokuyo in cpp

asked 2015-08-22 17:52:23 -0500

juan.errickson gravatar image

I need read the data from the Hokuyo laser, am using ros and i am programing in cpp.

some one know how do it?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-08-23 07:53:02 -0500

You can use the urg_node. All you have to do is to run this node and you can create then another node with a subscriber to a message of type sensor_msgs/LaserScan. The topic name will be most probably /scan.

Before writing the subscriber, I recommend you to plug the Hokuyo, ron the urg_node and then try to visualize it in RViz.

Actually, after googling for 5 seconds I found this with a much more detailed answer.

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

1 follower

Stats

Asked: 2015-08-22 17:52:23 -0500

Seen: 264 times

Last updated: Aug 23 '15