UtilsComputeAvgSpeed Method

Computes the average speed.

Definition

Namespace: SmallEarthTech.AntPlus
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public static double ComputeAvgSpeed(
	double wheelCircumference,
	int deltaEventCount,
	int deltaPeriod
)

Parameters

wheelCircumference  Double
The wheel circumference in meters.
deltaEventCount  Int32
The delta event count.
deltaPeriod  Int32
The delta period.

Return Value

Double
The average speed in kilometers per hour.

See Also