মাটিE-Bhapa, February 2024
A negative speed is a polite crawl
Read the library's types. The compiler won't argue for you.
- What happened
- E-Bhapa, a contest robot built in one night in 2024, re-read line by line in 2026.
- What I believed
- The robot turns, backs away from walls and follows at a safe distance, as its README said.
- What was true
- It never turned and never reversed: both sides averaged to the same speed, and the motor library's speed is a uint8, so −255 became 1. Pinned against a wall 87 % of the time in simulation.
- Next time
- Simulate the sketch as written, quirks included, before believing the demo.
- Evidence