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 scan angles depend on the angle_increment and angle_min values stored into the topic (as you can see here). i.e.: if angle_increment is set to 0.1 (rad) the first range measurement is refered to angle_min + 00.1 , the second to angle_min + 10.1 rad, the third to angle_min+2*0.1 rad and so on. In general, the angle refered to a particular range measurement is

angle = angle_min + index*angle_increment

where index is refered to the index of the vector's element containing that range measurement.

The scan angles depend on the angle_increment and angle_min values stored into the topic (as you can see here). i.e.: if angle_increment is set to 0.1 (rad) the first range measurement is refered to angle_min + 00.1 0*0.1 , the second to angle_min + 10.1 1*0.1 rad, the third to angle_min+2*0.1 angle_min+2*0.1 rad and so on. In general, the angle refered to a particular range measurement is

angle = angle_min + index*angle_increment

where index is refered to the index of the vector's element containing that range measurement.