Interface AntPlusBikePowerPcc.ITorqueEffectivenessReceiver

Enclosing class:
AntPlusBikePowerPcc

public static interface AntPlusBikePowerPcc.ITorqueEffectivenessReceiver
Receiver for the TorqueEffectiveness event, which is: The instantaneous values of left and right Torque Effectiveness 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
    onNewTorqueEffectiveness(long estTimestamp, EnumSet<EventFlag> eventFlags, long powerOnlyUpdateEventCount, BigDecimal leftTorqueEffectiveness, BigDecimal rightTorqueEffectiveness)
    Receives the data from a TorqueEffectiveness event.
  • Method Details

    • onNewTorqueEffectiveness

      void onNewTorqueEffectiveness(long estTimestamp, EnumSet<EventFlag> eventFlags, long powerOnlyUpdateEventCount, BigDecimal leftTorqueEffectiveness, BigDecimal rightTorqueEffectiveness)
      Receives the data from a TorqueEffectiveness 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.
      leftTorqueEffectiveness - The Torque Effectiveness is calculated for each crank arm based on the positive (clockwise) and negative (anti-clockwise) torque applied to the crank over each revolution (up to 1/2% resolution). This is the torque effectiveness calculated for the left leg by the sensor. '-1' = Invalid or negative data. Units: %.
      rightTorqueEffectiveness - The Torque Effectiveness is calculated for each crank arm based on the positive (clockwise) and negative (anti-clockwise) torque applied to the crank over each revolution (up to 1/2% resolution). This is the torque effectiveness calculated for the right leg by the sensor. '-1' = Invalid or negative data. Units: %.