Interface AntPlusBikePowerPcc.IPedalSmoothnessReceiver

Enclosing class:
AntPlusBikePowerPcc

public static interface AntPlusBikePowerPcc.IPedalSmoothnessReceiver
Receiver for the PedalSmoothness event, which is: The instantaneous values of left and right, or combined, Pedal Smoothness from the sensor. This data is optional and may be sent by power-only or torque sensors.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewPedalSmoothness(long estTimestamp, EnumSet<EventFlag> eventFlags, long powerOnlyUpdateEventCount, boolean separatePedalSmoothnessSupport, BigDecimal leftOrCombinedPedalSmoothness, BigDecimal rightPedalSmoothness)
    Receives the data from a PedalSmoothness event.
  • Method Details

    • onNewPedalSmoothness

      void onNewPedalSmoothness(long estTimestamp, EnumSet<EventFlag> eventFlags, long powerOnlyUpdateEventCount, boolean separatePedalSmoothnessSupport, BigDecimal leftOrCombinedPedalSmoothness, BigDecimal rightPedalSmoothness)
      Receives the data from a PedalSmoothness event.
      Parameters:
      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.
      powerOnlyUpdateEventCount - This field is incremented each time the sensor updates power-only data and is linked to the same field in the Power-Only Data Event. It can be used to help graph and associate data received in this event. 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.
      separatePedalSmoothnessSupport - Indicates if the power meter supports separate pedal smoothness or combined pedal smoothness reporting.
      leftOrCombinedPedalSmoothness - The left (or combined) pedal smoothness as determined by the sensor (up to 1/2% resolution. '-1' = Invalid or negative data. Units: %.
      rightPedalSmoothness - The right pedal smoothness as determined by the sensor (up to 1/2% resolution. '-1' = Invalid or negative data. Units: %.