Honestly there are so many different types of swerve, and all of them require a different programming technique. For instance, are there motors on each individual wheel, or are they all controlled by one motor/gearbox?
edit: The later is MUCH easier, because you don't have to compensate for individual motor differences... that was the hardest part when I programmed our swerve in 2002
