C# Class CSharpRoboticsLib.WPIExtensions.SpeedControllerGroup

An encapsulated collection of ISpeedControllers
Inheritance: ISpeedController
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Méthodes publiques

Méthode Description
Disable ( ) : void

Disables the speed controllers

Dispose ( ) : void

Performs appication-defined tasks associated with freeing, releasing, or resetting unmanaged resources

Get ( ) : double

returns the last value set to these speed controllers

PidWrite ( double value ) : void

Set output to the value calculated by PIDController

Set ( double value ) : void

Sets the output value for these speed controllers

Set ( double value, byte syncGroup ) : void

Sets the output value for these speed controllers

SpeedControllerGroup ( ) : System

Creates a new SpeedControllerGroup from the given ISpeedControllers

SpeedControllerGroup ( Type controllerType ) : System

Creates new ISpeedControllers of the given Type at the given ports

Method Details

Disable() public méthode

Disables the speed controllers
public Disable ( ) : void
Résultat void

Dispose() public méthode

Performs appication-defined tasks associated with freeing, releasing, or resetting unmanaged resources
public Dispose ( ) : void
Résultat void

Get() public méthode

returns the last value set to these speed controllers
public Get ( ) : double
Résultat double

PidWrite() public méthode

Set output to the value calculated by PIDController
public PidWrite ( double value ) : void
value double
Résultat void

Set() public méthode

Sets the output value for these speed controllers
public Set ( double value ) : void
value double
Résultat void

Set() public méthode

Sets the output value for these speed controllers
public Set ( double value, byte syncGroup ) : void
value double
syncGroup byte
Résultat void

SpeedControllerGroup() public méthode

Creates a new SpeedControllerGroup from the given ISpeedControllers
public SpeedControllerGroup ( ) : System
Résultat System

SpeedControllerGroup() public méthode

Creates new ISpeedControllers of the given Type at the given ports
public SpeedControllerGroup ( Type controllerType ) : System
controllerType System.Type type of controller to create
Résultat System