when we power up our robot we get red lights under the robot feedback section on the Operator Interface. right now we only have 4 speed controllers hooked up to the 4 cim motors. we are using the two pwm y-cables to hook up the speed contollers to the FRC Robot Controller in ports 1 and 2. all the lights on the speed controllers are orange, and when we go forwards they change green and red when when we go backwards. any ideas how we can fix this? thanx
Does the robot work? If it does, its something from the default code (which IIRC, lets you calibrate your joysticks with it). Don’t worry too much about it, red usually means they are going in reverse, green forward.
If you really want them gone, your programming team has to comment out/delete some stuff.
Specifically:
user_routines.c, somewhere around line 298…
if (user_display_mode == 0) /* User Mode is Off /
delete from there down until you see
/ (user_display_mode = 0) (User Mode is Off) */
And that should make those lights go off. It might be nice to use them to display motor outputs, but thats your choice
the lights on the operator interface stay red all time
Which version of the default code are you using? Version 2.2 uses the red and green PWM feedback LEDs to help in centering the joystick trim. Version 2.4 flashes the red LEDs each second when there is no communication with the CMUcam.
right now we only have 4 speed controllers hooked up to the 4 cim motors. we are using the two pwm y-cables to hook up the speed contollers to the FRC Robot Controller in ports 1 and 2.
That’s appropriate.
all the lights on the speed controllers are orange, and when we go forwards they change green and red when when we go backwards. any ideas how we can fix this? thanx
Nothing needs to be fixed. That’s how the Victor indicator LEDs are supposed to work. They flash yellow/orange when there is no PWM signal, they go solid yellow/orange when the PWM signal is in the “neutral” deadband range around 127, they turn green at high forward control, and they turn red at high reverse control.
we don’t have the camera, maybe thats why its flashing red. Thanks
Sounds like you will just have to reload the version 2.2 if you dont plan to use the camera. But since its such a nice thing probably better to try to get the camera working.
-Mike