Set bounds for specified servos.
Namespace:
AForge.Robotics.TeRKAssembly: AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- mask
- Type: array<
System..::.Boolean
>[]()[]
Mask array specifying which servos need to be set.
- bounds
- Type: array<
AForge..::.IntRange
>[]()[]
Array of servos' bounds. Each bound may be in [0, 255] range.
Remarks
The method sets servos' physical bounds in which they may move. See documentation to Qwerk..::.Servos for clarification.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | Incorrect length of mask, or bounds array. |
AForge..::.NotConnectedException | No connection to Qwerk or its service. |
AForge..::.ConnectionLostException | Connestion to Qwerk is lost. |