Arduino sketch running on a Teensy 3.2 - a slave microcontroller in a mobile robotic platform. The Teensy implements PID motor control, delivers odometry, monitors battery voltage and current consumption and manages charging. Communication to the master Raspberry Pi is implemented over a serial connection using packet-based MessageSerial protocol.
More info in my blog post: https://BoredomProjects.net/index.php/projects/robot-navigation-using-stereo-vision-part-2
Adafruit_BNO055_t3.h from here:
in addition:
- ADC for Teensy by Pedro Villanueva
- Adafruit Unified BNO055 Driver
- Arduino PID Library by Brett Beauregard
- Fast CRC Arduino library by FrankBoesing
- MessageSerial library, forked from PacketSerial by Christopher Baker
- Analog Comparator library, forked from orangkucing
also: