View Single Post
  #1   Spotlight this post!  
Unread 02-02-2013, 20:29
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Odd Compresssor Issue

So, I've seen a number of threads concerning problems with compressors this year, but have yet to see one with this problem (call me out if i missed it). Everything is wired and connected properly, however the compressor class (in java) only turns on the A output of the relay port on the DSC, The spike will only turn on if both A and B are turned on. I presume this is because of how Relay.setDirection() is called in the compressor class, but it is compiled and cannot be changed like in previous years. I solved the problem today by jumping the A and B channels (red and white) of the pwm cable to trick the spike. Other than it works fine, turns on below 100 psi, turns off above 115. Any ideas on why this is? or is it just a bug in the WPILIB? I don't feel comfortable with a Jerry-rigged pwm cable, and I dont think inspectors will be either...
__________________
"No, you can't use the Kinect to do pelvic thrusts."