How do i get my arduino mega to parse data to hls_lfcd_lds_driver? (Without USB2LDS) [closed]

asked 2019-11-07 03:40:25 -0600

thallesgate gravatar image

Greetings! I have a HLS-LFCD2 Lidar connected through serial to an Arduino Mega (230400 baud rate), and i'm able to receive data from it and even tell it to start and stop (sending a "b" and an "e" respectively). But i dont know exactly how do i need to parse that data to make it talk to the hls_lfcd_lds_driver.

I tried doing a simple serial passthrough, and when i launch view_hlds_laser.launch , it spins but i cant see any data in rviz. The reference frame laser cannot be accessed by rviz.

On the arduino, i was able to run the drawLDS example, and i got all the points correctly. I just need to know how to send that data to ROS.

Is there any ROS lidar drivers that only need the angle and the distance data?

Here are some useful links The sensor information with datasheet: The example i ran on the Arduino Mega:

Lidar Datasheet:

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by thallesgate
close date 2019-11-07 15:51:51.076651