enhancementgood first issuehelp wanted
倉庫指標
- Star
- (4 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
wifi-on-ice-portal-client's journey() now exposes a field distanceToPreviousStop in meters, which changes every few seconds. This could optionally be used to estimate the ICE speed if the speed field is null.
We should make sure that:
- We only use the estimated speed when
status()reportsnull. - The estimation doesn't poll
journey()too frequently, because it causes quite a bit more traffic than juststatus(). - If
journeys()takes very long to respond, the estimation shouldn't use it.