FIRST-Team-6071 / 2018-PowerUp

The code written for FRC 2018 PowerUp.
0 stars 0 forks source link

Pneumatics. #17

Closed Xeinix closed 6 years ago

Xeinix commented 6 years ago

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.

Xeinix commented 6 years ago

http://first.wpi.edu/FRC/roborio/release/docs/java/ Look at DoubleSolenoid

Xeinix commented 6 years ago

https://wpilib.screenstepslive.com/s/currentCS/m/java/l/219351-pneumatics-control-module

Xeinix commented 6 years ago

https://firstfrc.blob.core.windows.net/frc2017/pneumatics-manual.pdf

NickStothard commented 6 years ago

https://wpilib.screenstepslive.com/s/currentCS/m/13810/l/241866?data-resolve-url=true&data-manual-id=13810

https://wpilib.screenstepslive.com/s/currentCS/m/13810/l/241865?data-resolve-url=true&data-manual-id=13810

NickStothard commented 6 years ago

https://wpilib.screenstepslive.com/s/currentCS/m/13810/l/241865?data-resolve-url=true&data-manual-id=13810

NickStothard commented 6 years ago

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?

Xeinix commented 6 years ago

Going to write code and test this out tomorrow.

Xeinix commented 6 years ago

Whoops. Didn't mean to close.

Xeinix commented 6 years ago

This worked a while ago. so that's nice.