Quote:
Originally Posted by apalrd
If you don't have the programming skills, I could send you some simple LabVIEW code to drive straight, using kit encoders. Just PM me if you want it. It's a simple drop-in block for Autonomous Independent that drives straight, at a fixed speed (in ft/sec), for a fixed distance. You need to give it two encoders and a RobotDrive, and tune the gain slightly.
|
This seems like the way to go to me. It may not even be problems with the motors (or even if that does exist): friction in the drivetrain, imperfections in the play surface, wheel slipping (encoders attached directly to the drivetrain can't fix this though), among other things.
--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor