|
Re: Compressor and No Selenoid
Quote:
Originally Posted by Hoover
We are using pneumatics for the first time this year. Since I wasn't around for this teams rookie year things got lost. I had to round up all the pneumatics parts I could find.
I didn't do well. The brass fitting were gone so we ordered more of them and now we have plenty. After a day or two of rummaging I found the air connectors for the double solenoid. But I couldn't find the side clips for it and had to order them.
Consequently I can't wire the solenoid to the PCM.
What I was going to do today was check the compressor and the air system for leaks. But without the solenoid the PCM just blinks red. I don't see any way around this and will probably have to wait for the clips.
I tried to add some compressor code but this won't work since the PCM is not in a ready state.
|
The PCM shouldn't care about the solenoid actually being attached. It has no way to tell if one is actually wired. As soon as you open a solenoid in code, and it can be on any channel, the compressor should automatically initialize and start working. The robot does have to be enabled for this to work though.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
|