View Single Post
  #3   Spotlight this post!  
Unread 14-01-2015, 21:10
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,094
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Compressor and No Selenoid

Quote:
Originally Posted by Hoover View Post
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.