ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Not sure this is easily doable in Stage, but a workaround could be to write a small node that subscribes to the scan, truncates the ranges contained as you require, and republishes the scan to another topic. Should be a few lines of Python or C++ code and you don't have to mess with Stage.
Another thing you could do is look at the laser_filters package and see if it satisfies your requirements.