![]() |
Re: Pneumatics system code
Quote:
These are the errors that show up on driver station after I click clear : Code:
WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 3178.632 <radioSeenEvents>We are getting 3 V on PWM section, 0 V on the relay section, and 0 V on DIO. Correction: We are getting 4 V on DIO |
Re: Pneumatics system code
Any help with this issue would be greatly appreciated.
Also my team is pressuring me to re-check the code, because they think that is the case. Here is the current code that I am running: Code:
package edu.wpi.first.wpilibj.templates; |
Re: Pneumatics system code
This line...
Code:
compressor.start(); // Relay port 1Code:
spike.set(Relay.Value.kReverse); // Relay port 7 |
Re: Pneumatics system code
Quote:
Quote:
On the relay output, is this measured between one of the signal wires (A or B) and ground (-) while Teleop is enabled? Make sure to measure both A and B relative to ground since which one is active depends on whether you are commanding forward or reverse. If you are not enabled, both will of course be off. |
Re: Pneumatics system code
We tried switching the ribbon cable that connects to the CRIO, and still no reply. The voltage is still dead. We really doubt that the relay section of the sidecar is the only thing disabled, because everything else is working. We measured voltage with teleop enabled as well. We don't know where to go from here.
We don't have a spare sidecar, so any other solutions would be greatly appreciated. |
Re: Pneumatics system code
Quote:
|
Re: Pneumatics system code
A and neg, B and neg on relay and no voltage.
Red and black, white and black, red and white on wire coming from relay, zero voltage. All other parts of the SC work perfectly. No Color on LEDs for relay, never seen them on, but never used the relay either. |
Re: Pneumatics system code
Quote:
|
Re: Pneumatics system code
Yes we did test all of our outputs, and it is very odd indeed that only the relay section is not working on the sidecar. By the way we are able to drive the robot.
Unfortunately we are about done for the season, and won't be looking into replacing this sidecar, for the rest of the Summer. When we come back in September a new sidecar will be a priority, and hopefully that fixes the problem. For now I would like to thank all the people who took out the time to help us try and solve this issue. Before we end this thread I just wanted to ask, if a pneumatics module would be more reliable in this type of situation? Thank you once again and have a great summer break everybody. |
Re: Pneumatics system code
Quote:
Both the solenoid breakout and the sidecar are honestly pretty reliable, but the solenoid breakout on the cRio will only power the solenoids. You still need a relay output and a spike to power any onboard compressor. If you're referring to the new PCM for next year, it's hard to say before we get our hands on the details, but I'm sure it will be more than capable as well. Perhaps you could remove the casing and do some more inspection of the circuit board with your DMM, referencing the schematic. The behavior does seem a bit curious, and I feel like we're missing something... |
| 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