View Single Post
  #33   Spotlight this post!  
Unread 24-06-2014, 14:08
Team 4939 Team 4939 is offline
Registered User
AKA: Anshul Shah
FRC #4939 (All spark 9)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brampton
Posts: 52
Team 4939 is an unknown quantity at this point
Re: Pneumatics system code

Quote:
Originally Posted by compwiztobe View Post
I'll run down the whole chain here to try to locate the issue. If any these fails, don't go any further, you'll need to fix that problem before moving on.

1. Are other outputs working? For example, can you drive with Teleop enabled. If so, keep the robot in this mode (Teleop Enabled) for all other tests. In any disabled mode, all outputs are disabled. Additionally, your code only runs in Teleop Enabled.

2. What is the latest code you have compiled and deployed? This code should be declaring a Relay object on port 7, and then in OperatorControl() it should set the value to something other than kOff (kReverse or kForward).

3. If the above is true, do the LEDs on the Relay bumper show anything, while in Teleop Enabled? According to the link given previously, a relay output's LEDs will be red for reverse, green for forward, off for off.

4. Now with the relay output working properly, make sure the Spike is wired correctly to the relay output and to the PD board. Does the Spike's LED match the Digital Sidecar's relay LED (again, in Teleop Enabled)?

5. Are the solenoid wires connected appropriately to the Spike? If so, does one of the solenoids light up (again, in Teleop Enabled)?

6. ... there will be more but let's get through those first
The lights on the sidecar bumper are off but, the light on the spike is orange. My peers say they have never seen these lights go on before. The steps before step 3 are true.