Get data from Hokuyo in cpp
I need read the data from the Hokuyo laser, am using ros and i am programing in cpp.
some one know how do it?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I need read the data from the Hokuyo laser, am using ros and i am programing in cpp.
some one know how do it?
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.
Asked: 2015-08-22 17:52:23 -0500
Seen: 405 times
Last updated: Aug 23 '15
Ros ultrasonic sensor Rviz Error
TF Listener for static transforms exclusively
Turning lights On and Off on Gazebo with ROS
ServiceServer declaration within a class
roscd: No such package/stack 'turtlebot_navigation/'
Connecting to a hokuyo laser separate from the robot
How to install Hokuyo laser driver on Indigo [closed]
Implementation of two subscribers