View Single Post
  #4   Spotlight this post!  
Unread 20-02-2011, 23:01
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: our solenoids are not working.

Allthough i dont really know how to program in labview nor really read labview code, i had this same problem yesterday at a scrimmage, What was wrong was that in our code we were calling for two seperate solenoids, but instead we were supposed to call for a single "doublesolenoid" and it worked after that, no we just hold down button "2" and our grabber is held open, even though this will be in java it might help.

if(leftStick.getRawButton(2))
{
Fluffy.feed();
grab.set(DoubleSolenoid.Value.kForward);
Fluffy.feed();
}
else
{
Fluffy.feed();
grab.set(DoubleSolenoid.Value.kReverse);
Fluffy.feed();

dont worry about "Fluffy" it is our watchdog and it needs to be fed more than normal for some reason.
Reply With Quote