Set video resolution for both cameras.

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 SetResolution(
	SRV1..::.VideoResolution resolution
)

Parameters

resolution
Type: AForge.Robotics.Surveyor..::.SRV1..::.VideoResolution
Video resolution to set.

Remarks

Note:Setting higher quality level and resolution may increase delays for other requests sent to SVS. So if robot is used not only for video, but also for controlling servos/motors, and higher response level is required, then do not set very high quality and resolution.

Exceptions

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

See Also