weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 0 forks source link

Barogram of two flights shifted in time #60

Closed frantzheld closed 3 years ago

frantzheld commented 3 years ago

Describe the bug Two files of a team flight have been uploaded. When comparing the flights, the barogram is fitting at the beginning and at the end of the flight. In between each barogram point of the red flight (8343) is displayed to late in time, while each point in the map fits perfectly.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://beta.weglide.org/flights/13355,8343
  2. Compare red and blue barogram
  3. See error

Expected behavior Both barograms should fit nearly perfectly, see OLC screenshot.

Screenshots

weglide olc

Device (please complete the following information):

samuel-git commented 3 years ago

Good find, not an easy fix unfortunately.

samuel-git commented 3 years ago

Okay, found the bug. Minimum logger interval function used an average but your logger interval (for the shifted part) even lower so the interpolation lagged behind. Fixed for next release.