Method | Description | |
---|---|---|
Disable ( ) : void |
Disable the speed controller
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources
|
|
ForcePower ( double value ) : void |
Set the power of a motor regardless of the ramping limitations
|
|
Get ( ) : double |
Returns the last value set to this controller
|
|
PidWrite ( double value ) : void |
Set the output to the value calculated by the PIDController
|
|
RampMotor ( ISpeedController motorController ) : System |
Wraps an existing ISpeedController with RampMotor{T}
|
|
RampMotor ( |
Opens a new RampingMotor of a specific motor type
|
|
Set ( double value ) : void |
Sets the value to the motor, within the change limitations
|
|
Set ( double value, byte syncGroup ) : void |
Sets the output value for this controller
|
public ForcePower ( double value ) : void | ||
value | double | Power to set to |
return | void |
public RampMotor ( ISpeedController motorController ) : System | ||
motorController | ISpeedController | existing Motor Controller |
return | System |
public RampMotor ( |
||
controllerType | Type of motor controller (Jaguar, Victor, Spark, CAN Talon, etc.) | |
port | int | The PWM channel that the motor is attached to. 0-9 are on-board, 10-19 are on the MXP port |
return | System |
public Set ( double value ) : void | ||
value | double | value to set to or approach |
return | void |
public Set ( double value, byte syncGroup ) : void | ||
value | double | |
syncGroup | byte | |
return | void |