Метод | Описание | |
---|---|---|
DriveEncoders ( WPILib.Encoder left, WPILib.Encoder right ) : CSharpRoboticsLib.WPIExtensions |
Encapsulates a Left and Right Encoder, with the right encoder reversed.
|
|
DriveEncoders ( int lAChannel, int lBChannel, int rAChannel, int rBChannel ) : CSharpRoboticsLib.WPIExtensions |
Initialializes both encoders to the channels specified, with the RIGHT encoder reversed.
|
|
Reset ( ) : void |
Resets both encoders
|
|
SetDistancePerPulse ( double wheelDiameter, int countPerRevolution ) : void |
Sets the Left and Right DistancePerPulse in feet based on Wheel Diameter and counts per revolution
|
Метод | Описание | |
---|---|---|
DriveEncoders ( ) : CSharpRoboticsLib.WPIExtensions |
Just for EnhancedDriveEncoders
|
protected DriveEncoders ( ) : CSharpRoboticsLib.WPIExtensions | ||
Результат | CSharpRoboticsLib.WPIExtensions |
public DriveEncoders ( WPILib.Encoder left, WPILib.Encoder right ) : CSharpRoboticsLib.WPIExtensions | ||
left | WPILib.Encoder | Left Encoder |
right | WPILib.Encoder | Right Encoder |
Результат | CSharpRoboticsLib.WPIExtensions |
public DriveEncoders ( int lAChannel, int lBChannel, int rAChannel, int rBChannel ) : CSharpRoboticsLib.WPIExtensions | ||
lAChannel | int | Left A Channel |
lBChannel | int | Left B Channel |
rAChannel | int | Right A Channel |
rBChannel | int | Right B Channel |
Результат | CSharpRoboticsLib.WPIExtensions |
public SetDistancePerPulse ( double wheelDiameter, int countPerRevolution ) : void | ||
wheelDiameter | double | Diameter of your drive wheels IN INCHES |
countPerRevolution | int | |
Результат | void |