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

The length of the ranges array in the LaserScan message varies depending on how the Lidar device is configured, so each step in that array does not necessarily advance by 1 degree. Subscribers need to check the angle_increment field in the message to learn what it is they have received.

The length of the ranges array in the LaserScan message varies depending on how the Lidar device is configured, so each the step in that array does increment might not necessarily advance by be 1 degree. Subscribers need to must check the angle_increment field in the message to learn what it is they have received.received. Note that this field is always in radians.