I have posted Team 1640's 2011 "Pivot Drive" (swerve) code here:
http://www.chiefdelphi.com/media/papers/2704
Thanks to the team's 2011 head programmer, Ben Rajcan, it is nicely packaged as a LabVIEW library. I hope that it will be useful to teams who want to try out programming a swerve drive.