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

Revision history [back]

Changing the angle_min and angle_max values in the file you linked to will not achieve what you want. This message is used to describe the laser scan information being sent out from the sensor after it has already been collected. You can't use it to control how the scan is collected in the first place.

The RPLidar ROS node described here doesn't appear to let you control the FOV that the sensor returns depth readings for, also the sensor will spin at the same speed regardless. Therefore you may be able to achieve what you want using a laser filter nodelet instead.

The angle bounds filter lets you specify and angular range and returns only samples within this range, this will give you the scan information you want.

Hope this helps.