|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
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. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|