-
-
Save Po-Jen/104348485ae224ff4f72 to your computer and use it in GitHub Desktop.
rplidar_ros fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modify the original code: | |
scan_msg.angle_min = M_PI - angle_min; | |
scan_msg.angle_max = M_PI - angle_max; | |
to: | |
scan_msg.angle_min = -1*(M_PI - angle_min); | |
scan_msg.angle_max = M_PI - angle_min; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment