ant-plus-next / BicyclePowerScanState
Represents the scan state of a Bicycle Power sensor. Extends the BicyclePowerSensorState to include additional data related to signal quality during a scan.
new BicyclePowerScanState(
deviceId
):BicyclePowerScanState
Creates an instance of BicyclePowerSensorState.
number
The unique identifier of the sensor device.
BicyclePowerSensorState
.constructor
sensors/bicyclePower/bicyclePowerSensorState.ts:11
optional
AccumulatedPower:number
The accumulated power in watts. Represents the total power output accumulated over time.
BicyclePowerSensorState
.AccumulatedPower
sensors/bicyclePower/bicyclePowerSensorState.ts:54
optional
Cadence:number
The cadence value in revolutions per minute (RPM). Represents the number of pedal revolutions per minute.
BicyclePowerSensorState
.Cadence
sensors/bicyclePower/bicyclePowerSensorState.ts:47
optional
CalculatedCadence:number
The calculated cadence in RPM. Represents the calculated cadence based on sensor data.
BicyclePowerSensorState
.CalculatedCadence
sensors/bicyclePower/bicyclePowerSensorState.ts:103
optional
CalculatedPower:number
The calculated power in watts. Represents the power calculated from torque and cadence data.
BicyclePowerSensorState
.CalculatedPower
sensors/bicyclePower/bicyclePowerSensorState.ts:117
optional
CalculatedTorque:number
The calculated torque in Newton meters (Nm). Represents the torque calculated from sensor data.
BicyclePowerSensorState
.CalculatedTorque
sensors/bicyclePower/bicyclePowerSensorState.ts:110
DeviceId:
number
The unique identifier of the sensor device.
BicyclePowerSensorState
.DeviceId
sensors/bicyclePower/bicyclePowerSensorState.ts:19
optional
EventCount:number
The event count value. Represents the number of events recorded by the sensor.
BicyclePowerSensorState
.EventCount
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.
BicyclePowerSensorState
.LeftPedalPower
sensors/bicyclePower/bicyclePowerSensorState.ts:40
offset:
number
=0
The offset value used for torque calculations.
0
BicyclePowerSensorState
.offset
sensors/bicyclePower/bicyclePowerSensorState.ts:68
optional
PedalPower:number
The total pedal power percentage. Represents the percentage of power produced by the pedal strokes.
BicyclePowerSensorState
.PedalPower
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.
BicyclePowerSensorState
.RightPedalPower
sensors/bicyclePower/bicyclePowerSensorState.ts:33
Rssi:
undefined
|number
Received Signal Strength Indicator (RSSI). Represents the strength of the received signal from the sensor.
sensors/bicyclePower/bicyclePowerScanState.ts:13
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
Threshold:
undefined
|number
The threshold value for the RSSI. Represents the minimum acceptable signal strength for communication.
sensors/bicyclePower/bicyclePowerScanState.ts:20
optional
TimeStamp:number
The timestamp of the last recorded event. Represents the time at which the last event was recorded.
BicyclePowerSensorState
.TimeStamp
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.
BicyclePowerSensorState
.TorqueTicksStamp