Closed Samaleke closed 6 months ago
Thanks for your feedback. Did you use the latest sick_scan_xd release 3.2? The package name [sick_scan]
in the warning indicates an outdated version. Please update to the latest sick_scan_xd release and rebuild as described in https://github.com/SICKAG/sick_scan_xd/blob/develop/INSTALL-ROS2.md
Description:
I am using the sick_scan package with a laser scanner in a ROS environment. I've encountered a warning indicating that the time_increment, scan_time, and angle_increment values reported by the scanner are inconsistent. Specifically, the time_increment reported by the scanner does not match the expected value based on the scan_time and angle_increment values.
Environment:
ROS Version: Humble Operating System: Ubuntu 22.04.3 LTS
Expected Behavior:
The time_increment value should align with the expected calculation based on the scan_time and angle_increment values, ensuring accurate interpretation of scan data.
Actual Behavior:
The scanner reports a time_increment of 6.17284e-05 seconds, while the expected value, based on the given scan_time (0.0666667 seconds) and angle_increment (assuming 1 degree), is 0.000185185 seconds. This discrepancy results in the following warning message being logged every 60 seconds:
[sick_generic_caller-16] [WARN] [1710155625.809639102] [sick_scan]: The time_increment, scan_time and angle_increment values reported by the scanner are inconsistent! Expected time_increment: 0.000185185, reported time_increment:6.17284e-05 (time_increment=6.17284e-05, scan_time=0.0666667, angle_increment=1). Perhaps you should set the parameter time_increment to the expected value. This message will print every 60 seconds.