public static interface AntPlusBikePowerPcc.IRawCrankTorqueDataReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewRawCrankTorqueData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
long crankTorqueUpdateEventCount,
long accumulatedCrankTicks,
java.math.BigDecimal accumulatedCrankPeriod,
java.math.BigDecimal accumulatedCrankTorque)
Receives the data from a RawCrankTorqueData event.
|
void onNewRawCrankTorqueData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, long crankTorqueUpdateEventCount, long accumulatedCrankTicks, java.math.BigDecimal accumulatedCrankPeriod, java.math.BigDecimal accumulatedCrankTorque)
estTimestamp
- The estimated timestamp of when this event was triggered. Useful for correlating multiple events and determining when data was sent for more accurate data records.eventFlags
- Informational flags about the event.crankTorqueUpdateEventCount
- This field is incremented each time the sensor updates crank torque data. Can be used to help calculate power between RF outages and to determine if the data from the sensor is new. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Rollover: Every ~9 quintillion N/A.accumulatedCrankTicks
- The crank ticks increment with each crank revolution and indicates a full rotation of the crank. For systems that update synchronously with crank events (event-synchronous), the crank ticks and update event count increment at the same rate. Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Units: rotations. Rollover: Every ~9 quintillion rotations.accumulatedCrankPeriod
- Used to indicate the average rotation period of the crank during the last update interval, in increments of 1/2048s. Each crank period tick represents a 488-microsecond interval. In event-synchronous systems, the accumulated crank period field rolls over in 32 seconds. In fixed update (time-synchronous) systems the time to rollover depends on wheel speed, but is greater than 32 seconds. Units: s. Rollover: Every ~4 quadrillion s.accumulatedCrankTorque
- The cumulative sum of the average torque measured every crank rotation event (up to 1/32 Nm resolution). Note: If the subscriber is not the first PCC connected to the device the accumulation will probably already be at a value greater than 0 and the subscriber should save the first received value as a relative zero for itself. Units: Nm. Rollover: Every ~280 quadrillion Nm.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.