ant-plus-next / BicyclePowerSensorState
Represents the state of a Bicycle Power sensor. Stores various metrics and calculated values related to bicycle power, such as pedal power, cadence, torque, and power.
new BicyclePowerSensorState(
deviceId
):BicyclePowerSensorState
Creates an instance of BicyclePowerSensorState.
number
The unique identifier of the sensor device.
sensors/bicyclePower/bicyclePowerSensorState.ts:11
optional
AccumulatedPower:number
The accumulated power in watts. Represents the total power output accumulated over time.
sensors/bicyclePower/bicyclePowerSensorState.ts:54
optional
Cadence:number
The cadence value in revolutions per minute (RPM). Represents the number of pedal revolutions per minute.
sensors/bicyclePower/bicyclePowerSensorState.ts:47
optional
CalculatedCadence:number
The calculated cadence in RPM. Represents the calculated cadence based on sensor data.
sensors/bicyclePower/bicyclePowerSensorState.ts:103
optional
CalculatedPower:number
The calculated power in watts. Represents the power calculated from torque and cadence data.
sensors/bicyclePower/bicyclePowerSensorState.ts:117
optional
CalculatedTorque:number
The calculated torque in Newton meters (Nm). Represents the torque calculated from sensor data.
sensors/bicyclePower/bicyclePowerSensorState.ts:110
DeviceId:
number
The unique identifier of the sensor device.
sensors/bicyclePower/bicyclePowerSensorState.ts:19
optional
EventCount:number
The event count value. Represents the number of events recorded by the sensor.
sensors/bicyclePower/bicyclePowerSensorState.ts:75
optional
LeftPedalPower:number
The power percentage from the left pedal. If available, represents the contribution of the left pedal to the total power.
sensors/bicyclePower/bicyclePowerSensorState.ts:40
offset:
number
=0
The offset value used for torque calculations.
0
sensors/bicyclePower/bicyclePowerSensorState.ts:68
optional
PedalPower:number
The total pedal power percentage. Represents the percentage of power produced by the pedal strokes.
sensors/bicyclePower/bicyclePowerSensorState.ts:26
optional
Power:number
The current power output in watts. Represents the instantaneous power output of the cyclist.
sensors/bicyclePower/bicyclePowerSensorState.ts:61
optional
RightPedalPower:number
The power percentage from the right pedal. If available, represents the contribution of the right pedal to the total power.
sensors/bicyclePower/bicyclePowerSensorState.ts:33
optional
Slope:number
The slope value used for torque calculations. Represents the slope or gradient used in the torque computation.
sensors/bicyclePower/bicyclePowerSensorState.ts:89
optional
TimeStamp:number
The timestamp of the last recorded event. Represents the time at which the last event was recorded.
sensors/bicyclePower/bicyclePowerSensorState.ts:82
optional
TorqueTicksStamp:number
The timestamp for the last torque tick. Represents the time at which the last torque measurement was recorded.