/** * Constructor for the PneumaticControlModule device. * @param deviceNumber The CAN ID of the PCM */ public PneumaticControlModule(int deviceNumber) { m_impl = new CTRE.LowLevel_Pcm((ushort)deviceNumber); m_impl.SetCloseLoopEnable(true); }
/** * Start the compressor running in closed loop control mode Use the method in * cases where you would like to manually stop and start the compressor for * applications such as conserving battery or making sure that the compressor * motor doesn't start during critical operations. */ public void StartCompressor() { HandleErr(m_impl.SetCloseLoopEnable(true)); }