public static interface AntPlusFitnessEquipmentPcc.IWindResistanceReceiver
AntPlusFitnessEquipmentPcc#requestCapabilities(IRequestFinishedReceiver, ICapabilitiesReceiver)
method first to find if it is supported.Modifier and Type | Method and Description |
---|---|
void |
onNewWindResistance(long estTimestamp,
java.util.EnumSet<EventFlag> eventFlags,
java.math.BigDecimal windResistanceCoefficient,
int windSpeed,
java.math.BigDecimal draftingFactor)
Receives the data from a WindResistance event.
|
void onNewWindResistance(long estTimestamp, java.util.EnumSet<EventFlag> eventFlags, java.math.BigDecimal windResistanceCoefficient, int windSpeed, java.math.BigDecimal draftingFactor)
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.windResistanceCoefficient
- Product of Frontal Surface Area, Drag Coefficient and Air Density.windSpeed
- Speed of simulated wind acting on the cyclist. (+) - Head Wind (-) - Tail Wind.draftingFactor
- The drafting factor is used to set the resistance reduction due to travelling behind a virtual competitor.
The drafting factor scales the total wind resistance depending on the position of the user relative to other virtual competitors.
The drafting scale factor ranges from 0.0 to 1.0, where 0.0 removes all air resistance from the simulation, and 1.0 indicates no drafting effects (e.g. cycling alone, or in the lead of a pack).
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.