Ping ultrasonic ranging modules.

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 float[] UltrasonicPing(
	SVS..::.Camera camera
)

Parameters

camera
Type: AForge.Robotics.Surveyor..::.SVS..::.Camera
SRV-1 Blackfin camera to check ultrasonic modules values.

Return Value

Returns array of ranges (distances) obtained from ultrasonic sensors. The ranges are measured in inches.

Remarks

The method calls UltrasonicPing()()() for the specified SRV-1 Blackfin camera.

Exceptions

ExceptionCondition
AForge..::.NotConnectedExceptionNot connected to SVS. Connect to SVS board before using this method.
AForge..::.ConnectionLostExceptionConnection lost or communicaton failure. Try to reconnect.
System..::.ApplicationExceptionFailed parsing response from SVS.

See Also