ServoConfigSetSpeedLimit Method

Sets the maximum speed of the servos.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
C#
public void SetSpeedLimit(
	int maxSpeed,
	params Servo[] servo
)

Parameters

maxSpeed  Int32
Maximum speed of the servo whose value is between 1 and 50 inclusive.
servo  Servo
The servo that will be affected.

Exceptions

ArgumentNullExceptionservo is null or has null elements.
ArgumentOutOfRangeExceptionmaxSpeed is out of range.

See Also