RoboSense-LiDAR/rslidar_sdk

Points published with NAN values

ajay1606 opened this issue · 1 comments

Hello,

Have been using robosense lidar (80ch, B pearl) since quite long time. Recently tested LiDAR with ROS2 driver & it works fine.

But in certain part of the code made to publish points with NAN values.

`https://github.com/RoboSense-LiDAR/rs_driver/blob/main/src/rs_driver/driver/decoder/decoder_RS80.hpp

Screenshot from 2023-03-21 11-09-04

These nan values causes error while using sensor data in algorithms. Just by curious, which conditions making those values as NAN ? is it fine to assign some least value or skip those values from driver ?

I have the same problem. @ajay1606 , Did you solve this problem?