I want to make the XV-11 work more like the industrial scanners that ROS was designed around. Specifically I don't think that every error condition should equate to a distance of 0. Possibly a "too near" indication should equate to 0. But it seems that a "too far" error should translate to some maximum distance.
If I get a chance Wednesday night I will set up my SICK LMS200 at the local Makerspace and see what it puts out in the "too near" and "too far" conditions. Or I could set it up in my front yard to produce a max range condition.
Since it appears that ROS local costmap is relying on a "maximum range" indication. Or more specifically a value of less than "raytrace range" to perform clearing, then it seems that you don't want to report a range of zero instead of a "too far" indication.
So I am just trying to get a better understanding of what the XV-11 LIDAR puts out and how to better use the information.
And specifically I'm trying to fix the problem described here:
So the laser has to return the difference between "too near" and "too far" and then apply a laser filter to set a value higher than "raytrace range" to less than or equal to "raytrace range". If it always returns 0 for any out of range (or any other error) then it doesn't work, as far as I can see.
- Jeff Sampson