A question of the lidar connection
u10502101 opened this issue · comments
i walk trough this in the next days, if i find a solution i will message you here
Hello
I have a same problem
How did you solve this problem?
Hello I have a same problem How did you solve this problem?
Hey,
I would start the following steps:
a) If you working with the ROS Driver, use the yrl_pub.cpp first to start the LiDAR, then you check the settings in the Viewer for example connection, mode (default 1 i guess).
It would be helpful, if screenshots or videos can be posted here, the video from @u10502101 is broken. For my personal experience I must say, that I've worked with the YRL3V2 version of the LiDAR, not the old one. If you have a basic understanding of C++ you could dive into the code and try to find the bug, if there's one.
I did the process in the same order as the video you posted. Similarly, the data part is all 0.
The model I am using now is the YRL2-20 model, and I am using ROS melodic.
Currently I have two problems.
- It is saying that the calibration file cannot be found.
I changed the location path to lk.bin absolute path but I am still having the same problem.
- When the point cloud is executed, all data parts are displayed as 0.
I have no experience with the old lidar and the calibration file, but yujin robot offers a manual for that I remember. So try from beginning to follow the steps there I would say. If the path of the calibration file is hard coded you should put it in the folder where it belongs to.
And just to be sure, the lidar must be in a room not outside. The zer byte values mean no object is hitted or out of range
Thank you for answer.
I've tried as you advised, but I'm still having the same problem.