StandardWheelTorqueSensor Class

The standard bicycle power wheel torque sensor.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
C#
public class StandardWheelTorqueSensor : TorqueSensor
Inheritance
Object    ObservableObject    TorqueSensor    StandardWheelTorqueSensor

Remarks

Set the wheel circumference if the default value is incorrect. The distance and speed calculations rely on the wheel circumference.

Constructors

StandardWheelTorqueSensorInitializes a new instance of the StandardWheelTorqueSensor class.

Properties

AccumulatedDistance Accumulated distance in meters.
AverageAngularVelocityGets the average angular velocity in radians per second.
(Inherited from TorqueSensor)
AveragePowerGets the average power in watts.
(Inherited from TorqueSensor)
AverageSpeed Average speed in kilometers per hour.
AverageTorqueGets the average torque in Nm.
(Inherited from TorqueSensor)
InstantaneousCadenceGets the instantaneous pedaling cadence. 0xFF indicates invalid.
(Inherited from TorqueSensor)
WheelCircumference Wheel circumference in meters. The default is 2.2 meters.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParseTorqueParses the torque message.
(Overrides TorqueSensorParseTorque(Byte))
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

Fields

_loggerThe _logger
(Inherited from TorqueSensor)
deltaEventCountThe delta event count
(Inherited from TorqueSensor)
deltaPeriodThe delta period
(Inherited from TorqueSensor)
deltaTicksThe delta ticks
(Inherited from TorqueSensor)
deltaTorqueThe delta torque
(Inherited from TorqueSensor)
isFirstDataMessageThe is first data message received
(Inherited from TorqueSensor)

See Also