C# Class CSharpRoboticsLib.WPIExtensions.ManagedCompressor

A Compressor which will not run if the voltage is too low.
Inheritance: WPILib.Compressor
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib

Méthodes publiques

Méthode Description
ManagedCompressor ( double voltageThreshold ) : WPILib

Creates a new Managed Compressor, which will turn off when the voltage is below the specified level.

ManagedCompressor ( double voltageThreshold, double period ) : WPILib

Creates a new Managed Compressor, which will turn off when the volrage is below the specified level.

Update ( ) : void

Manually Udates the compressor, turning it on or off if necessary. Called automatically according to the period value if UseTimer is enabled.

Method Details

ManagedCompressor() public méthode

Creates a new Managed Compressor, which will turn off when the voltage is below the specified level.
public ManagedCompressor ( double voltageThreshold ) : WPILib
voltageThreshold double Voltage to turn off the compressor at
Résultat WPILib

ManagedCompressor() public méthode

Creates a new Managed Compressor, which will turn off when the volrage is below the specified level.
public ManagedCompressor ( double voltageThreshold, double period ) : WPILib
voltageThreshold double Voltage to turn off the compressor at
period double
Résultat WPILib

Update() public méthode

Manually Udates the compressor, turning it on or off if necessary. Called automatically according to the period value if UseTimer is enabled.
public Update ( ) : void
Résultat void