This project is based on my universal balancing robot code. These small balancing robots are fun, but I wanted to make something that more closely resembles a real Segway.
Alpha Rex gives sends ‘high-level’ commands like steering and speed to the Segway via Bluetooth. The Segway program turns these signals into movement. In the video, it is Alpha Rex who detects the wall. Then it tells the Segway to turn around and move in another direction.
And of course no balancing robot would be complete without an awesome video . . .