There are lots of team examples posted on the FIRST 2009 Forums-Programming Showcase at:
http://forums.usfirst.org/forumdisplay.php?f=749
Our team code is here:
http://www.team358.org/history/2009/...bVIEW_code.zip
Our drive was unusual though (three wheel with a single swerve module in the back), so the code for it is a tad complex and isn't a good example of using a standard 4-wheel drive FRC drive base.
Except for when the robot was driving dead straight ahead, our three sets of wheels were all powered at different speeds depending on the degree of turn.