Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The yaw rate and acceleration vector are read from the IMU via I2C. The yaw rate is summed, to give an estimate of the yaw angle.

Odometer

The odometer has 3 digital outputs. Each signal change (rising or falling) is handled by an interrupt. The signal change indicates a motor rotation of approx. 60 degrees. The rotation count and motor speed are derived from those signals.

...