Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pbio/imu: Fix internal rounding error from imu to motor control units.
The drivebase controller operates in terms of millidegrees of the wheels. When the gyro is used for heading, it is scaled to these wheel units. Depending on the robot dimensions, this scaling could be off by one or two degrees per rotation due to a rounding error. Fixes pybricks/support#1886
- Loading branch information