Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
485 stars 527 forks source link

RPLIDAR S2 UART (not using USB Adapter) #143

Closed NeighborDva closed 7 months ago

NeighborDva commented 8 months ago

Hello. I am a developer who is developing with S2 .

First i set UART Port on the expansion pin of the board called Beagle Board ai 64 and run RPLIDAR's ros package in a docker environment, the USB port (tyUSB) recognizes LiDAR and works well, but the UART port (ttyS) does not recognize LiDAR and does not run the driver.

I've disconnected the intermediate USB adapter, tried to connect directly, but the problem is still happening.

How do I use LiDAR with the expansion pin (UART) on the embedded board?

deyouslamtec commented 8 months ago

We use the expansion of the Raspberry Pi 4B to connect Lidar to use lidar normally. It should be noted that the TX and RX pins need to be connected correctly to ensure that the Lidar power supply is sufficient.

NeighborDva commented 8 months ago

We use the expansion of the Raspberry Pi 4B to connect Lidar to use lidar normally. It should be noted that the TX and RX pins need to be connected correctly to ensure that the Lidar power supply is sufficient.

Then how do I use the pwm pin?

deyouslamtec commented 8 months ago

Do not use this pin