|
cannot get fifth jaguar working
This is probably answered somewhere on the forum, but I couldn't find it.
We are using the DefaultRobot code, using four Jaguars to control four drive motors (using SpeedController). We are trying to add a fifth Jaguar to control a motor for our game piece manipulator.
In the DefaultRobot class we declare the fifth Jaguar as such -
Jaguar m_fifthMotor;
In teleopInit, we create the object with -
m_fifthMotor = new Jaguar(5);
Whenever this last line is not in, the four Jaguars for the drive system work fine. Whenever this last is compiled in, the four Jaguars blink while enabled, and thus do not work.
We don't see any errors on the debug output, and the cRio does not appear to be crashing.
What are we doing wrong?
__________________
Firmware is the most expensive thing in the universe. - Jack G. Ganssle
|