Closed Xeinix closed 6 years ago
http://first.wpi.edu/FRC/roborio/release/docs/java/ Look at DoubleSolenoid
so i was thinking
public class Robot extends IterativeRobot { Compressor compBox = new Compressor(0); Solenoid solBox = new Solenoid(1); } public UmmIDK{ example.Solenoid.Set(true); example.Solenoid.Set(false); } compressor c = new Compressor(0);
c.setClosedLoopControl(true); c.setClosedLoopControl(false);
This might work for compressors/Solenoids?
Going to write code and test this out tomorrow.
Whoops. Didn't mean to close.
This worked a while ago. so that's nice.
We need to get a full understanding of the pneumatic system. So, look around, find what you can, and either put information here or write it down for the next meeting. Which I believe is January 25, 2018.