SICKAG / sick_scan_xd

A versatile driver for a wide range of SICK LiDAR and RADAR devices, providing support for both Linux (native, ROS 1, ROS 2) and Windows (native, ROS 2) platforms.
Apache License 2.0
110 stars 86 forks source link

std: runtime error for Negative time #425

Open anath93 opened 1 week ago

anath93 commented 1 week ago

The master branch has a issue, where runtime throws error and crashes the Node with std:: negative time error cannot be stored, It looks to me software time sync issue, does not happen in the previous release so ported back for now. Platform is arm64 Jetson Orin, ros2 iron.

Config: image

rostest commented 6 days ago

Thanks for your feedback. The configuration looks unusual:

Please run the following steps:

anath93 commented 5 days ago

@rostest, I did what you said and checked dds and kernel buffers additionally. There is a issue somewhere for the bloom release iron on arm64 platform as prior versions did not do that and my launch file has been same. I also removed the time offset but result is same.

rostest commented 3 days ago

Thanks for following up. We cannot reproduce this error, but have additionally secured the timestamp against negative values. Please use the update in branch feature/issue_update_2412xx, rebuild and retry. Please try at first with the default configuration using ros2 launch sick_scan_xd sick_tim_7xx.launch.py hostname:=192.168.0.1 laserscan_topic:=scan_obstacle frame_id:=nav2_obstacle.