[hal, wpilib] Incorporate pneumatic control type into wpilibc/j (#3728)

This commit is contained in:
Thad House
2021-11-23 20:32:02 -08:00
committed by GitHub
parent 9aba2b7583
commit b156db400d
35 changed files with 693 additions and 216 deletions

View File

@@ -64,7 +64,7 @@ public class PCMTest extends AbstractComsSetup {
@Before
public void reset() {
pcm.setClosedLoopControl(false);
pcm.disableCompressor();
fakePressureSwitch.set(false);
}
@@ -73,7 +73,7 @@ public class PCMTest extends AbstractComsSetup {
public void testPressureSwitch() throws Exception {
final double range = 0.5;
reset();
pcm.setClosedLoopControl(true);
pcm.enableCompressorDigital();
// Turn on the compressor
fakePressureSwitch.set(true);