Direct servos control of the SVS board.

Namespace:  AForge.Robotics.Surveyor
Assembly:  AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public void ControlServos(
	SVS..::.ServosBank servosBank,
	int leftServo,
	int rightServo
)

Parameters

servosBank
Type: AForge.Robotics.Surveyor..::.SVS..::.ServosBank
SVS's servo bank to control.
leftServo
Type: System..::.Int32
Left servo setting, [0, 100].
rightServo
Type: System..::.Int32
Right servo setting, [0, 100].

Remarks

The method performs servos control of the SVS board. For Bank1 and Bank3 banks it calls ControlServos(Int32, Int32) method for the corresponding SRV-1 Blackfin camera. In the case of Bank0 or Bank2, the method sends 'Sab' SRV-1 command (see SRV-1 Control Protocol) to the appropriate SRV-1 Blackfin camera.

Exceptions

ExceptionCondition
AForge..::.NotConnectedExceptionNot connected to SVS. Connect to SVS board before using this method.

See Also