View Single Post
  #11   Spotlight this post!  
Unread 16-01-2012, 15:18
ColonelThrtyTwo's Avatar
ColonelThrtyTwo ColonelThrtyTwo is offline
Registered User
FRC #3676
 
Join Date: Jan 2011
Location: Somewhere in Texas
Posts: 13
ColonelThrtyTwo is an unknown quantity at this point
Re: Jaguars are blinking yellow

I'm having this issue as well. We are using the cables that came with last year's robot (the circular ones, not the ribbon cables), so I don't think that's the issue.

Here's my test code, in Java:

Code:
// Image version: v43
public class RobotMain extends SimpleRobot
{
    Jaguar jag = new Jaguar(2,1); // Module 2, channel 1
    public void autonomous() {}

    public void operatorControl()
    {
        System.out.println("Running...");
        while(isEnabled() && isOperatorControl())
        {
            jag.set(1);
            Timer.delay(0.005);
        }
        System.out.println("Stopping...");
        jag.set(0);
    }
}
The robot prints Running and Stopping over the netconsole as it should, but the Jaguar doesn't receive any signals. The status light works, so I don't think that there is cRIO <-> Digital Sidecar communication issues. I've checked the wiring numerous times and don't see anything wrong with it; the white wire connects to the signal ports on both, red to voltage, black to ground. I can't think of anything else we could be doing wrong...