C# Class CSharpRoboticsLib.WPIExtensions.SpeedControllerGroup

An encapsulated collection of ISpeedControllers
Inheritance: ISpeedController
Show file Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Public Methods

Method 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 method

Disables the speed controllers
public Disable ( ) : void
return void

Dispose() public method

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

Get() public method

returns the last value set to these speed controllers
public Get ( ) : double
return double

PidWrite() public method

Set output to the value calculated by PIDController
public PidWrite ( double value ) : void
value double
return void

Set() public method

Sets the output value for these speed controllers
public Set ( double value ) : void
value double
return void

Set() public method

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

SpeedControllerGroup() public method

Creates a new SpeedControllerGroup from the given ISpeedControllers
public SpeedControllerGroup ( ) : System
return System

SpeedControllerGroup() public method

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