Fix integer division bug

Previously, the robot did not move when the average speed was 0.5,
as integer division was rounding it down to 0.