-
Notifications
You must be signed in to change notification settings - Fork 25
Connect CygLidar to UART on RPi4 doesn't work. #24
New issue
Have a question about this project? 8000 Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We've answered by e-mail. thank you. |
why not answered here? we need solutions too |
I hope the article below is helpful to you. https://www.cygbot.com/downloads |
Hello. I followed the steps of the article you provided in cygbot downloads website about how to connect CygLiDAR D1 directly to Raspberry Pi via UART without USB Converter but it didn't work for me. There were 3 codes provided to use and when I tried to run code 2 on RPI it's showing that it's sending the [90, 119, 255, 2, 0, 8, 0, 10] data bytes but it is not receiving any complete data. So, I tried to run code2 on ubuntu instead to check it using USB connection and I got the same issue. I checked the baud rate of the cyglidar, type of USB port am connecting to and installed the needed libraries but still am not being able to connect the lidar on RPI nor Ubuntu. This is the output that I got on Ubuntu after running code2: I added a print statement after the while loop to trace the code, and it showed after executing the code, but the code halted after this print statement, and it didn't get any complete data. When I run the code on RPI, I got the same output as well. |
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone,
I have issues with the Cyglidar when i am trying to connect and use it with a UART connection. I have changed all the dependencies in the launch file, in the code cyglidar_pcl_publisher.cpp and the rules. Also i have changed the baudrate of the UART on RPi4 to 3000000, which is required for the sensor. I am able to power it up, the red lights of the sensor are working and the back light is green. So it behaves like when it is connected in the USB port.
The issue here is that, although all are working as supposed to, there are no data in the topics. Do you have any idea why is this happening and what might be the solution to this (if there is one)?
The text was updated successfully, but these errors were encountered: