Project contents
← Self-balancing robot
Progress update, 23 May 2026
A short bullet-point summary of project progress up to 23 May 2026.
Updates are bullet-point summaries generated with AI from my commits and build notes, then checked by me. Project articles and learning notes are written by me.
- Fixed the simulator’s physics integration: each step overwrote the velocity with
velocity_ = force * dtinstead of accumulating it with+=. - Named the motor timer’s magic numbers, such as
PWM_ARR = 2880for 25kHz PWM. - Found that the control loop did not yet apply the motor deadzone, the PWM clamp or the safety cutoff.