Find LaserScan ray index in RViz for LaserScanMaskFilter
I'm planning to use the (relatively new) LaserScanMaskFilter to filter out echos from the mechanical arm that has a camera attached to it from my LaserScan messages. The Filter takes an array of numbers and sets the distance in a LaserScan message with the corresponding index to NaN.
So far, so good. But how do i find out which echo indexes i should filter? If i select the offending echos inside RViz i can only see x/y/z position and intensity inside the selection box. The name of each selection (e.g. "Point 156") does not seem to correlate to the ray index inside the LaserScan message.
Example Image: https://ibb.co/9VzQLkb
What is the best way to find out which indexes i need to filter?