Project contents
← Self-balancing robot
Progress update, 4 Jul 2026
A short bullet-point summary of project progress up to 4 Jul 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.
- Ported the MPU6050 DMP driver unchanged, but its FIFO stayed empty. The original called
IIC_MPU6050_Init()from board code outside the driver, and without it SCL sat in its reset state. - Got
printftelemetry working after fixing three silent gaps: thenosys.specs_writestub, newlib fully buffering stdout, and the ST-Link V2 having no UART. Telemetry comes out of the robot’s USB-C port through its CH340. - Traced an angle of
-2147483648in every sample to uninitialised floats in the IMU class. That value is what ARM produces when casting NaN toint. The constructor now zeroes the angles and sets the quaternion to identity. - Covered in more depth in Bring up UART, I2C and the MPU6050.