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
optionalAccumulatedPower:number
The accumulated power in watts. Represents the total power output accumulated over time.
sensors/bicyclePower/bicyclePowerSensorState.ts:54
optionalCadence:number
The cadence value in revolutions per minute (RPM). Represents the number of pedal revolutions per minute.
sensors/bicyclePower/bicyclePowerSensorState.ts:47
optionalCalculatedCadence:number
The calculated cadence in RPM. Represents the calculated cadence based on sensor data.
sensors/bicyclePower/bicyclePowerSensorState.ts:103
optionalCalculatedPower:number
The calculated power in watts. Represents the power calculated from torque and cadence data.
sensors/bicyclePower/bicyclePowerSensorState.ts:117
optionalCalculatedTorque: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
optionalEventCount:number
The event count value. Represents the number of events recorded by the sensor.
sensors/bicyclePower/bicyclePowerSensorState.ts:75
optionalLeftPedalPower: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
optionalPedalPower:number
The total pedal power percentage. Represents the percentage of power produced by the pedal strokes.
sensors/bicyclePower/bicyclePowerSensorState.ts:26
optionalPower:number
The current power output in watts. Represents the instantaneous power output of the cyclist.
sensors/bicyclePower/bicyclePowerSensorState.ts:61
optionalRightPedalPower: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
optionalSlope:number
The slope value used for torque calculations. Represents the slope or gradient used in the torque computation.
sensors/bicyclePower/bicyclePowerSensorState.ts:89
optionalTimeStamp:number
The timestamp of the last recorded event. Represents the time at which the last event was recorded.
sensors/bicyclePower/bicyclePowerSensorState.ts:82
optionalTorqueTicksStamp:number
The timestamp for the last torque tick. Represents the time at which the last torque measurement was recorded.