-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Solving init bug for some xv_11_lidar #5
Comments
@leidawt Hello, have you solve the problem with lidar? I got similar situation, the driver cannot find start byte. Instead of sending the data, the lidar sends me that via serial port: Loader V2.4.13386 Maybe you now how to solve that, thank you in advance! |
@BrooklynBoy21 This modification solved my issue. My device does not output these information, it seems that there are many versions of xv_11, so you may need to check the protocol based on the manual form the seller. |
@leidawt your command did not help me?? Do you have the link to that manual? |
@BrooklynBoy21 Sorry, that manual is sended to me with the xv_11 hardware, and I do not have the copy, it just told me to send "startlds$" first to start scaning and the serial baud rate is 115200. |
For some xv_11_lidar, they need to send "startlds$" first to start scaning, so we can add it into the xv11_laser.cpp as follows:
after line 40, add:
boost::asio::write(serial_, boost::asio::buffer("startlds$",10));
The text was updated successfully, but these errors were encountered: