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

Revision history [back]

click to hide/show revision 1
initial version

answered 2014-02-19 13:31:06 -0500

joq gravatar image

Each message in the /velodyne_points topic contains all the data from a complete revolution of the device.

If you write a ROS node that subscribes to that topic, your subscription callback will be called each time a new message arrives. That happens at 10 Hz with the device spinning at the default 600 RPM rate.

Here is an example node that reads the point cloud for each revolution, looking for points within some grid cells that significantly differ in the Z axis.

You can figure out from that how to write your own subscriber node.