public static interface AntPlusBikePowerPcc.IRawWheelTorqueDataReceiver
Modifier and Type | Method and Description |
---|---|
void |
onNewRawWheelTorqueData(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
long wheelTorqueUpdateEventCount,
long accumulatedWheelTicks,
java.math.BigDecimal accumulatedWheelPeriod,
java.math.BigDecimal accumulatedWheelTorque)
Receives the data from a RawWheelTorqueData event.
|
void onNewRawWheelTorqueData(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, long wheelTorqueUpdateEventCount, long accumulatedWheelTicks, java.math.BigDecimal accumulatedWheelPeriod, java.math.BigDecimal accumulatedWheelTorque)
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.wheelTorqueUpdateEventCount
- This field is incremented each time the sensor updates wheel 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.accumulatedWheelTicks
- The wheel ticks field increments with each wheel revolution and is used to calculate linear distance traveled (up to 1 rotation resolution). For event-synchronous systems, the wheel 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.accumulatedWheelPeriod
- The average rotation period of the wheel during the last update interval, in increments of 1/2048s. Each Wheel Period tick represents a 488-microsecond interval. In event-synchronous systems, the accumulated wheel period time stamp field rolls over in 32 seconds. In fixed time interval update systems, the time to rollover depends on wheel speed but is greater than 32 seconds. 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: s. Rollover: Every ~4 quadrillion s.accumulatedWheelTorque
- The cumulative sum of the average torque measured every update event count (up to 1/32 Nm resolution). Do NOT use wheel ticks to calculate linear speed. 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.