Skip to main content

DEFAULT_WIND_GOOD_FOR

Constant DEFAULT_WIND_GOOD_FOR 

Source
pub const DEFAULT_WIND_GOOD_FOR: Duration;
Expand description

How long a wind reading stays current by default.

A little more forgiving than the three seconds a GPS fix is typically given – ordinary wind instruments update at a slower, less regular cadence than a GPS’s steady 1 Hz – but the same principle: a reading that stopped arriving must not go on describing the actual wind. WindTracker::wind takes this as a parameter rather than baking it in, so a caller with reason to judge differently is free to.