C# Class CSharpRoboticsLib.WPIExtensions.EnhancedEncoder

An encoder with corrected rate calculation and distance per pulse setting
Inheritance: WPILib.Encoder
Datei anzeigen Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Public Methods

Method Description
EnhancedEncoder ( int aChannel, int bChannel ) : System

CSharpRoboticslib.Extras.EnhancedEncoder

GetRate ( ) : double

Gets the velocity reported by the encoder.

Reset ( ) : void

Resets the encoder and derivative

Method Details

EnhancedEncoder() public method

CSharpRoboticslib.Extras.EnhancedEncoder
public EnhancedEncoder ( int aChannel, int bChannel ) : System
aChannel int
bChannel int
return System

GetRate() public method

Gets the velocity reported by the encoder.
public GetRate ( ) : double
return double

Reset() public method

Resets the encoder and derivative
public Reset ( ) : void
return void