Fantom data in laserscan output
I have a problem with my laser scanners publishing corrupt data. I am using the laser merge package to combine the readings of 2 lasers into a single topic. In gazebo and with the robot nowhere near obstacles, there is a single entry in the scans topic which has data suggesting it is detecting an obstacle, pictured below :

The picture above has a wall but the range of the lasers fall short of the wall. Even in open space further from the wall or without the wall, I still get the single occurance of data. That single occurance is causing issues with my code.
Can anyone help ?
Asked by sisko on 2021-09-16 09:36:57 UTC
Answers
Hi @sisko In this paper talks about the limitations with merger:
https://arxiv.org/pdf/1411.1086.pdf
"The generation of the merged laser scan follows an initial phase in which all the laser scans to be merged are flattened to a single plane, which is the scanning plane of the destination (merged) laser scan. As a consequence, objects that would not be observable in the destination (merged) laser scan, but that are in some of the input scans, will (wrongly) appear in the final merged scan"
So you might need to process the data, and decide how probable there is an obstacle, maybe, use 5 sampling before making a decision.
Asked by osilva on 2021-09-17 07:30:41 UTC
Comments
There is a very interesting paper on the subject:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8124335/pdf/sensors-21-03184.pdf
Source: Environment Mapping Using Sensor Fusion of 2D Laser Scanner and 3D Ultrasonic Sensor for a Real Mobile Robot
Take a look at this package: http://wiki.ros.org/octomap
Asked by osilva on 2021-09-17 08:09:06 UTC
Comments
Does the scan before merging detect the obstacles? ( I think the starting point is to isolate whether the simulated scan is not working or the merge is not working )
Asked by miura on 2021-09-16 18:23:15 UTC