SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
95 stars 85 forks source link

No scandata while activated scan range filter #221

Closed reinbja closed 8 months ago

reinbja commented 10 months ago

If the scan range filter is enabled, no scandata are available. If scan range filter is disabled, scandata are available.

rostest commented 10 months ago

Thanks for your feedback. We will check the rangeFilter settings. Which lidar and which range filter configuration do you use?

If you are using a multiScan lidar, there are two different types of range filter settings:

reinbja commented 10 months ago

I am using a multiScan136. For your evaluation... the sensor was launched with no activated filters. After launching the multiScan, the rangeFilter was activated. With default setting -90° ...90° it was working, but there is a point of adjustment, where the pointcloud is freezing in rviz

Working range

There is also s.th. wrong with the layer filter. If layer 1 or 16 is disabled the pointcloud is freezing as well

rostest commented 10 months ago

Thanks for additional informations. Compact- and msgpack-format behave different in case of angle range filters. If an angle range filter is activated, fullframe pointclouds are currently published with mspack, but not necessarily when using compact-format. We will adapt the fullframe check for compact data with angle range filters and provide an update.

rostest commented 10 months ago

An update is available in branch https://github.com/SICKAG/sick_scan_xd/tree/feature/issue_update, which corrects the fullframe pointclouds with activated angle range and layer filter. Please checkout this update and rebuild sick_scan_xd.