MotorConfigSetSpeedMultiplier Method
Sets speed multiplier for motor. A negative value will reverse the motor direction.
Allows for fine tuning of the motor speed to match the speed of the other motor.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public void SetSpeedMultiplier(
float speedMultiplier,
Motor motor
)
Public Sub SetSpeedMultiplier (
speedMultiplier As Single,
motor As Motor
)
member SetSpeedMultiplier :
speedMultiplier : float32 *
motor : Motor -> unit
Parameters
- speedMultiplier Single
- A value between -2 and +2 inclusive
- motor Motor
- The motor that will be affected.