Hello,
FYI, we’ve connected 10+ low-end/low-cost LDS to ROS2 (via micro-ROS/Arduino) with a few more in the queue. All code is open source. Here are some LDS photos. I hope someone finds this useful.
FYI, in our ROS2/micro-ROS/Arduino home robot (it somewhat resembles a low-cost version of Turtlebot3), the LDS connects over a serial port to a robot MCU running micro-ROS for Arduino. micro-ROS then forwards raw LDS data to ROS2, where the raw data converts to proper /scan messages. Here architecture slides with technical details.
Nice. I have a similar work on ldlidar ld06/ld19/stl27l. I use udp to forward the raw data to ros2 server.
hippo5329/ldlidar_stl_ros2 (the server)
hippo5329/linorobot2_hardware (the micro-ros)