Quote:
Originally Posted by AlexanderTheOK
[SNIP]...robotDrive doesn't seem to call the overridden set function....[SNIP]
|
Precisely. Looking at the wpilibj source, RobotDrive.java never calls set(double), it only calls set(double, int) which you haven't overridden.
That latter method has a second parameter to handle the CANJaguar "sync group" - when not using a sync group it's just set to 0; and since you're not extending CANJaguar you can safely ignore it.
So, just override the set(double, int) method, rather than set(double), and it should work.
Hope that helps!