Open nicholashojunhui opened 1 year ago
Hi @nicholashojunhui LDS-01 defines the size of LiDAR data by resizing the array to 360 and then placing the data accordingly. On the other hand, LDS-02 defines the size of LiDAR data by dividing the difference between the maximum and minimum angles into increments based on the rotation speed (degrees per second). hence, the angular resolution may vary by the Scan Frequency in LDS-02 as it says in the manual.
I tested it like your situation, my LDS-02 pulished data that size is around 234.
You can find out information of method of lidar data, check below link.
lds-02 : https://github.com/ROBOTIS-GIT/ld08_driver/blob/ros2-devel/src/lipkg.cpp lds-01 : https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver/blob/master/src/hlds_laser_publisher.cpp
ISSUE TEMPLATE ver. 0.4.0
Which TurtleBot3 platform do you use?
Which ROS is working with TurtleBot3?
Which SBC(Single Board Computer) is working on TurtleBot3?
Which OS you installed on SBC?
Which OS you installed on Remote PC?
Specify the software and firmware version(Can be found from Bringup messages)
Specify the commands or instructions to reproduce the issue.
laser_data.py:
Please describe the issue in detail.
Unable to Subscribe scan topic with LDS-02 properly
Previously used LDS-01 and it works well; able to Subscribe scan topic properly
The weird thing is that I am able to run the standard SLAM node with LDS-02 properly
Do I need to change any settings? How do I solve this issue. Please kindly assist.