The example code has some issues, and will not run perfectly, but your problem is almost certainly that your robot doesn't have the same HW configuration.
RobotDrive drive = new RobotDrive(1, 2);
assumes that your motor controllers are on channels 1 and 2 and the module is in cRIO slot 4. If the robot runs fine with last years code check to see how you initialized your controllers in the old code.
BTW, don't forget to check that the hardware guys haven't swiped parts or cables to use on the new robot, wouldn't be the first time.
