|
Re: Victor::Set not working
A blinking Victor does not point to a problem with your code. It says there is no PWM signal being received by it at all. This could be due to a number of things that are not programming issues.
First, does the Driver Station display tell you the system is enabled? A disabled robot does not send PWM signals.
Second, is there power being supplied to the Digital Sidecar? You should see the 12v, 6v, and 5v LEDs light up.
Third, is the system really enabled? The LED next to the Robot Status Light pins should be on steady. If it's blinking, that means the robot is disabled. If it's off, that could mean the cable from the Digital I/O module to the Digital Sidecar isn't hooked up right.
Finally, is the PWM cable from the Digital Sidecar to the Victor connected properly? The black lead of the cable should be next to the edge of the Digital Sidecar, and toward the fan on the Victor. It isn't always obvious when the pins are fully inserted in the Victor, so try reseating it.
After you verify that the system is correctly enabled and powered, if you still can't get the Victor to stop blinking yellow, try replacing it with a servo (making sure to install the servo power jumper on the adjacent DS pins) and see if that responds.
|