![]() |
Re: Pneumatics system code
Nothing different happened even though I changed the code, also the lights on the solenoid turned off.
|
Re: Pneumatics system code
Off? Ok, it sounds like you have a bad spike relay. Replace the spike with a different one and we'll see what happens. Also, what are teh LEDs on the digital side car above the relay section showing?
|
Re: Pneumatics system code
Changed spike, no change. No LEDs lit on sidecar.
|
Re: Pneumatics system code
We changed the spike but nothing different happened.
Here is how our sidecar looks right now: http://postimg.org/image/xbjxvkuln/ |
Re: Pneumatics system code
Out of curiosity, have you tried hooking up your compressor yet? If the relay for your compressor is also not working, you may have an issue with your Digital Sidecar.
|
Re: Pneumatics system code
Is that side car picture with or without your code in Teleop?
|
Re: Pneumatics system code
Quote:
|
Re: Pneumatics system code
Quote:
The picture is with the robot on and the code loaded, but not with teleop activated. We could turn on teleop and take another picture if you would like. |
Re: Pneumatics system code
Quote:
All relay outputs (and all other outputs, for that matter) are disabled when the robot is not enabled from the driver station. All of these tests of whether the spike and solenoids are receiving a non-neutral signal won't do any good unless the driver station has enabled Teleop mode. |
Re: Pneumatics system code
Quote:
http://postimg.org/image/nltuevm3n/ |
Re: Pneumatics system code
The image isn't loading for me. Can you confirm the link is working for you?
|
Re: Pneumatics system code
Quote:
It was working for me, but I tried using a different website. Here is the new link: http://s13.postimg.org/xvw9e4bzb/photo2.jpg |
Re: Pneumatics system code
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 |
Re: Pneumatics system code
Quote:
|
Re: Pneumatics system code
Quote:
Another thing to check: Are there any errors appearing on the diagnostics tab of the driver station? You can click Clear Errors to see if any new ones are being reported at the moment. Do this in Teleop Enabled as well. It might be that one of your safety loops is timing out, locking up your outputs. However, you report the other outputs working, so I'm not sure how this could be... Do you have a multimeter on hand? It might also be worthwhile to unplug the cable from the spike and probe its ends, to see if the digital sidecar is sending an output despite its LED state. |
| All times are GMT -5. The time now is 17:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi