Метод | Описание | |
---|---|---|
Drive ( ) : System |
Instantiates the Motor COntrollers, Encoders, Gyroscope.
|
|
ResetEncoders ( ) : void |
Reset both the Left and Right drive encoders
|
|
ResetEncoders ( bool resetLeft, bool resetRight ) : void |
Reset the encoders associated with the drive train
|
|
ResetSecondaryMotors ( ) : void |
Sets the Secondary/Coast Motors to 0
|
|
Update ( double L, double R ) : void |
Updates the drive, setting the motors to teh power specified without changing the shifter values
|
|
Update ( double L, double R, bool HighGear ) : void |
Update the Drive
|
public ResetEncoders ( bool resetLeft, bool resetRight ) : void | ||
resetLeft | bool | Reset the Left Encoder |
resetRight | bool | Reset the Right Encoder |
Результат | void |
public Update ( double L, double R ) : void | ||
L | double | Left power |
R | double | Right power |
Результат | void |
public Update ( double L, double R, bool HighGear ) : void | ||
L | double | Left Power |
R | double | Right Power |
HighGear | bool | If the Robot is in High Gear |
Результат | void |