Skip to content

MetricsModality

MetricsModality = Modality

Defined in: console-sdk/src/units/index.ts:44

How the firmware branches its derived-metric math: bikes compute power and calories from the calorie counter and a watt-tiered inefficiency factor, whereas rowers and skiers (the “pace-driven” machines) derive power from the 2.8·v³ pace curve. rhino shares the pace-driven path.

This is a narrowing of the SDK’s Modality union so callers can pass a Device.modality straight through; a null/unknown modality falls back to the pace-driven formulas, matching the firmware default.