[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

@@ -22,9 +22,17 @@ class PneumaticsControlModule : public PneumaticsBase {
bool GetCompressor() const override;
void SetClosedLoopControl(bool enabled) override;
void DisableCompressor() override;
bool GetClosedLoopControl() const override;
void EnableCompressorDigital() override;
void EnableCompressorAnalog(double minAnalogVoltage,
double maxAnalogVoltage) override;
void EnableCompressorHybrid(double minAnalogVoltage,
double maxAnalogVoltage) override;
CompressorConfigType GetCompressorConfigType() const override;
bool GetPressureSwitch() const override;