Open inceptus opened 12 years ago
This may also be: http://www.chiefdelphi.com/forums/showthread.php?t=101080&highlight=rpm
Jag Docs http://javadoc.waltonrobotics.org/edu/wpi/first/wpilibj/CANJaguar.html note the "control mode" variable, which you can set to kSpeed, setPID(), and set() method. You will have to tell it how many encoder codes your encoder will report per revolution as well.
This thread shows teams having a hard time controlling the JAGs RPMs with the encoders connected to the JAGS http://www.chiefdelphi.com/forums/showthread.php?t=100135&page=3&highlight=jags+can
We need to detect the speed in RPMs of both motors