Standard Wheel Torque Sensor Class
The standard bicycle power wheel torque sensor.
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 class StandardWheelTorqueSensor : TorqueSensorVB
Public Class StandardWheelTorqueSensor
Inherits TorqueSensorC++
public ref class StandardWheelTorqueSensor : public TorqueSensorF#
type StandardWheelTorqueSensor =
class
inherit TorqueSensor
end- 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
| StandardWheelTorqueSensor | Initializes a new instance of the StandardWheelTorqueSensor class. |
Properties
| AccumulatedDistance | Accumulated distance in meters. |
| AverageAngularVelocity | Gets the average angular velocity in radians per second. (Inherited from TorqueSensor) |
| AveragePower | Gets the average power in watts. (Inherited from TorqueSensor) |
| AverageSpeed | Average speed in kilometers per hour. |
| AverageTorque | Gets the average torque in Nm. (Inherited from TorqueSensor) |
| InstantaneousCadence | Gets the instantaneous pedaling cadence. 0xFF indicates invalid. (Inherited from TorqueSensor) |
| WheelCircumference | Wheel circumference in meters. The default is 2.2 meters. |
Methods
| ParseTorque | Parses 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) |