Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Red lights on Operator Interface (http://www.chiefdelphi.com/forums/showthread.php?t=33711)

Vince lau 31-01-2005 16:12

Red lights on Operator Interface
 
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


devicenull 31-01-2005 18:08

Re: Red lights on Operator Interface
 
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 ;)

Vince lau 31-01-2005 20:57

Re: Red lights on Operator Interface
 
the lights on the operator interface stay red all time

Alan Anderson 31-01-2005 21:12

Re: Red lights on Operator Interface
 
Quote:

Originally Posted by Vince lau
when we power up our robot we get red lights under the robot feedback section on the Operator Interface.

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.
Quote:

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.
Quote:

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.

Vince lau 31-01-2005 22:36

Re: Red lights on Operator Interface
 
Quote:

Originally Posted by Alan Anderson
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.

we don't have the camera, maybe thats why its flashing red. Thanks

Mike AA 01-02-2005 00:11

Re: Red lights on Operator Interface
 
Quote:

Originally Posted by Vince lau
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


All times are GMT -5. The time now is 03:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi