EAIBOT / ydlidar_arduino

the ydlidar driver for arduino
28 stars 14 forks source link

G2 support? #6

Open BArratia-CL opened 3 years ago

BArratia-CL commented 3 years ago

Hi!

I've recently acquired a YDLIDAR G2 and I'm trying to make it work based on this code. As we speak I've managed to communicate through serial port (I'm using a TTGO T-Beam and VS Code + Platformio) and receive information about the current angle and distance, but here is the problem. The distance is 0 for all the cases. I'm trying to figure out how to make it work properly on my own, but it would be amazing if you guys can give a hint of what may be causing this problem.

Thanks!

EmanueleFeola commented 3 years ago

@BArratia-CL Hi! I have the same problem, did you manage to sort it out?