In this chapter, we’ll examine another device I used in my autonomous rover – a Lidar Unit that supports localization and navigation. Appendix A2 describes the simple custom-built Lidar Unit built around a USB-connected Arduino. The Lidar Unit is a real-life example of off-loading tasks from the Raspberry Pi to an Arduino, in particular to leverage the microcontroller’s “near-real-time” nature.
Implementation of a device library for a USB serial device
Design and implementation of a device library from scratch ...