Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
497 stars 532 forks source link

Inconsistency in logger output: angle_compensate vs. angle_compensate_multiple #64

Open fhwedel-hoe opened 2 years ago

fhwedel-hoe commented 2 years ago

In https://github.com/Slamtec/rplidar_ros/blob/5f56676005520465b88a3e441d39f86faaf3d05c/src/rplidar_scan_publisher.cpp#L336-L337, the message says "angle_compensate", but angle_compensate_multiple is printed. There also is the configuration parameter "angle_compensate". I suggest using the actual identifier of the variable in the log output to avoid confusing the two.