ServoConfigSetAngleLimits Method
Sets the servo angle lower and upper limits to prevent the servo travelling beyond physical boundaries.
Namespace: RoboTx.ApiAssembly: RoboTx.Api (in RoboTx.Api.dll) Version: 1.0.0
public void SetAngleLimits(
int angleLowerLimit,
int angleUpperLimit,
Servo servo
)
Public Sub SetAngleLimits (
angleLowerLimit As Integer,
angleUpperLimit As Integer,
servo As Servo
)
member SetAngleLimits :
angleLowerLimit : int *
angleUpperLimit : int *
servo : Servo -> unit
Parameters
- angleLowerLimit Int32
- An angle >= 0 and < angleUpperLimit
- angleUpperLimit Int32
- An angle > angleLowerLimit and <= servo max angle
- servo Servo
- The servo that will be affected.