The staircase
20 cm forward · 90° left · 10 cm · 90° right · 40 cm
Two motors never spin at exactly the same speed, so an uncorrected robot draws a curve, not a line. Each wheel is read by its encoder and a PID corrector rebalances the motors in real time. The straight lines came out clean; the 90° turns were the fight: wheel slip made the robot overshoot, so we switched to micro-movements with intermediate corrections. The staircase is clearly recognizable, one last angle slightly wider than 90°.
- Encoders
- PID
- Straight lines
- Rotations







