This is code I used for the 2015 LVBots sumo context on my robot, which was a Zumo 32U4 named "Zumo Red". This code should be checked out to a folder named ZumoRed and compiled using the Arduino IDE.