Torque Sensor 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.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 6.0.4+3bc433b476ad11fc6896cfd0bd783d60504dc315
C#
public abstract class TorqueSensor : ObservableObjectVB
Public MustInherit Class TorqueSensor
Inherits ObservableObjectC++
public ref class TorqueSensor abstract : public ObservableObjectF#
[<AbstractClassAttribute>]
type TorqueSensor =
class
inherit ObservableObject
end- Inheritance
- ObservableObject TorqueSensor
- Derived
Constructors
| TorqueSensor | Initializes a new instance of the TorqueSensor class. |
Properties
| AverageAngularVelocity | Gets the average angular velocity in radians per second. |
| AveragePower | Gets the average power in watts. |
| AverageTorque | Gets the average torque in Nm. |
| InstantaneousCadence | Gets the instantaneous pedaling cadence. 0xFF indicates invalid. |
Methods
| ParseTorque | Parses 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. |