MotorConfigSetSpeedLimits Method
Sets the reverse and forward speed limits of a motor.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public void SetSpeedLimits(
int maxReverseSpeed,
int maxForwardSpeed,
Motor motor
)
Public Sub SetSpeedLimits (
maxReverseSpeed As Integer,
maxForwardSpeed As Integer,
motor As Motor
)
member SetSpeedLimits :
maxReverseSpeed : int *
maxForwardSpeed : int *
motor : Motor -> unit
Parameters
- maxReverseSpeed Int32
- A value between -100 and 0 inclusive.
- maxForwardSpeed Int32
- A value between 1 and 100 inclusinve.
- motor Motor
- The motor that will be affected.