for an autonomously operating small vehicle (my hobby sector) I am looking for a lidar scanner…
… RPLidar A1M8 appears to be a good choice.
My main question is: Which small single-board computer (no laptop and no PC) is advisable to store and evaluate the rapidly incoming data in order to establish a “map” of the current surrounding ?
thanks very much for this information; a really important stept forward, since up to now I was exclusively using Arduinos in my robots…
… unfortunately not applicable here.
May I raise a brief question, since I am not yet so familiar with Raspberries:
Will these record the distance information as a function of the corresponding angle in a kind of a 2-dim array to be processed by another unit via I2C or similar ?
Will these record the distance information as a function of the corresponding angle in a kind of a 2-dim array to be processed by another unit via I2C or similar ?
This question shouldn’t be about the Raspberry Pi but the Lidar capabilities. The device interfaces through a serial connection and comes with a USB-to-serial adaptor. Then you can use a library to acquire the information from the Lidar, for example, in the link I shared in my previous post they use this library.
And use the function iter_scans to accumulate measurements for a single rotation and return a list of tuples, which include the angle and the distance measured at that angle.
Sorry for the late reply, the .h file is the header file which contains the function declarations, you simply need to include it in your project folder, and to use it in your sketch simply use:
You can also choose Raspberry Pi. This tutorial will cover how to install ROS Noetic on the Ubuntu 20.04 LTS OS and LiDAR integration with Raspberry Pi 4.
There are many more resources found in the internet on how to integrate LIDAR with Raspberry Pi.