StandardWheelTorqueSensor Class

The standard bicycle power wheel torque sensor.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.2+4dd3b18a61cb7a7c9070bf010b9a118f4696f0c4
C#
public class StandardWheelTorqueSensor : TorqueSensor
Inheritance
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

ParseTorqueParses the torque message.
(Overrides TorqueSensorParseTorque(Byte))
ToString Returns a string representation of the object.

Fields

_logger Represents the logger instance used for logging messages within the class.
(Inherited from TorqueSensor)
deltaEventCount Represents the change in the number of events.
(Inherited from TorqueSensor)
deltaPeriod Represents the time interval, in milliseconds, used for calculating changes or updates.
(Inherited from TorqueSensor)
deltaTicks Represents the difference in ticks used for internal calculations.
(Inherited from TorqueSensor)
deltaTorque Represents the change in torque applied to the system.
(Inherited from TorqueSensor)
isFirstDataMessage Indicates whether the current data message is the first in a sequence.
(Inherited from TorqueSensor)

See Also