weglide / bugtracker

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

km figure displayed at some images does not match actual flown km #7

Closed CarstenSon closed 3 years ago

CarstenSon commented 3 years ago

Describe the bug km figure displayed at some images does not match actual flown km.

To Reproduce I have also seen numerous images where this problem does not occur, but for my images/flights, the problem has occurred for all flights and images uploaded so far. In my case the steps to reproduce the issue were:

  1. upload pictures
  2. see wrong km figures

Expected behavior km figure for images from cameras without GPS sensor should be generated via the timestamp of the photo. km figure for images from cameras with GPS sensor should be assigned via GPS coordinates and time.

Screenshots "story" area of an examplary flight (only ~ 540 km total flight distance) grafik https://beta.weglide.org/flights/902 <- This is a link to the exemplary flight

Device (please complete the following information):

samuel-git commented 3 years ago

Thanks for documenting this bug! We are on it @moldhouse .

CarstenSon commented 3 years ago

If you need the original files including EXIF information, feel free to let me know.

So far I have noticed a tendency: I haven't seen this problem with images that don't have the time (I assume it's fetched from the EXIF information).

moldhouse commented 3 years ago

Thanks for reporting! Yes, providing the image containing exif would be very helpful.

CarstenSon commented 3 years ago

just sent you an email containing the picture including its exif information

moldhouse commented 3 years ago

Hi Carsten, I could reproduce the bug. We had a logic problem in the way we project the flight path onto optimized score to calculate the distance in between turnpoints. We will deploy this afternoon, you need to rescore your flight (change scoring intervals by 1s) and upload the story again afterwards. Thanks again for reporting in detail.

image
CarstenSon commented 3 years ago

Hi Moritz, thanks for the fast bugfix and investigation! I've just tested it and now it works like a charm.