View Single Post
  #1   Spotlight this post!  
Unread 07-09-2011, 13:21
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Help with Solenoid Code In Java?

looking for some help. we're reprogramming our bot from last year in java to practice for next season.

I've run into a problem with our pneumatic system. I can turn on the compressor on but our code to switch the solenoids doesn't seem to do anything. Note that our pneumatics are not completely hooked up mechanically but we should still be able to hear the solenoids click if they were switching right?

We have the double solenoids that Festo provided in the Kit of parts last year. Looking through the Java packages I found both a "Solenoid" package and a "DoubleSolenoid" package. I wasn't sure which one to use so I tried both but both do not work. If anybody has any insight that would be greatly welcomed.

All of our code is online at http://code.google.com/p/sail-octopirates-first-3502/

Note, code for both packages is in there, one of them has been commented out.

Thanks a bunch!!
Reply With Quote