TorqueSensor Class

This class supports messages common to StandardCrankTorqueSensor and StandardWheelTorqueSensor.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles.BicyclePower
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.2+92d79d127283ce9ab80906ab6fb15f5ffa8ae8ac
C#
public abstract class TorqueSensor : ObservableObject
Inheritance
ObservableObject    TorqueSensor
Derived

Constructors

TorqueSensor Initializes a new instance of the TorqueSensor class.

Properties

AverageAngularVelocityGets the average angular velocity in radians per second.
AveragePowerGets the average power in watts.
AverageTorqueGets the average torque in Nm.
InstantaneousCadenceGets the instantaneous pedaling cadence. 0xFF indicates invalid.

Methods

ParseTorqueParses the torque message.

Fields

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

See Also