ros-perception / laser_filters

Assorted filters designed to operate on 2D planar laser scanners, which use the sensor_msgs/LaserScan type.
BSD 3-Clause "New" or "Revised" License
166 stars 204 forks source link

scan_to_cloud_chain produces large-sphere if ~high_fidelity:=false #21

Open garaemon opened 9 years ago

garaemon commented 9 years ago

I think this is a bug of laser_geometry...

vrabaud commented 9 years ago

Actually, it seems that laser_max_range is deprecated in the code but is still used when high_fidelity is false. Do you need that parameter ?

tfoote commented 9 years ago

This looks like you're spinning a laser relatively quickly. Enabling high_fidelity projection will enable interpolated position of the laser for each point sampled in the scan. Without that option it transforms all points in a scan at a single point in time. With that flag off, it is much lower computation for the transformation but it trades off the assumption that the motion of the laser is negligable during the duration of the laser scan.

If you think this is actually a bug. please provide a way to reproduce it such as a relevant bag file and reference material for the enviornment, and the commands to reproduce the display.

garaemon commented 9 years ago

I uploaded bag file and launch file.

/multisense/lidar_scan_cloud_filtered_low_fidelity and /multisense/lidar_scan_cloud_filtered_high_fidelity are the topics where I see this issue.

pijemcolu commented 7 years ago

I had a very similar issue with a tilting lidar, where I would get a complete sphere at max range of the lidar. I simply fixed it by introducing another range filter dropping points max range -1.