Encoders and IMU for Zumo 32U4

ME311_DeadReckoningRedux (1).docx (100.0 KB)

assignment3.ino (1.9 KB)

I am trying to program my zumo 32U4 robot using Arduino to perform the task that is attached above. I am having trouble figuring out how to connect the encoders with the IMU. My main concern is trying to use the IMU. Any help would be greatly appreciated, thank you.

Hello.

It is difficult to help you without an explanation of what it is you are specifically having trouble with. For example, what have you tried so far? Are you able to get data from the Zumo’s accelerometer and gyroscope by running our example sketches? It looks like the code you attached is basically our Encoder.ino sketch, but with two loop functions, which will not compile.

-Jon