OpenTracks icon indicating copy to clipboard operation
OpenTracks copied to clipboard

excessive Average / max moving speed when starting to track / while tracking (when walking)

Open Der-Flip opened this issue 1 year ago • 8 comments

Describe the bug Average and Max speed unrealistically high. Either right after starting it jumps to 1000+km/h or it'll creep up over time while walking. I've been walking fairly slow, unsure if that may contribute.

To Reproduce 1000+kph:

  1. Be stationary
  2. Open app
  3. Activate position retrieval
  4. Start tracking
  5. Start moving

Creeping up over time:

  1. Open app
  2. Keep walking
  3. Start recording

If applicable: excessivemovingspeedgpx.zip

Technical information

  • Device: Xiaomi Redmi9C
  • OS: Android 10
  • OpenTracks version: v4.7.1
  • OpenTracks commit id (only for nightly builds): ---

Der-Flip avatar Aug 20 '23 08:08 Der-Flip

I guess this is recent; since when did you notice this?

dennisguse avatar Aug 20 '23 19:08 dennisguse

Unfortunately I don't know. I haven't used the app in a while as I wasn't really out and about in recent times and it is just now on vacation I noticed :/

Der-Flip avatar Aug 20 '23 19:08 Der-Flip

Don't worry ;) PS/ can you export one of these tracks as CSV? The CSV exporter skips all the preprocessing required for GPX/KML and thus easier to read :D

dennisguse avatar Aug 20 '23 19:08 dennisguse

@Der-Flip thx. First glance at the data: looks okay. So, we might have a bug in the TrackStatisticsUpdater.

dennisguse avatar Aug 20 '23 19:08 dennisguse

So for today's I started recording, moved and it jumped to well above 1000kph in the initial fixes. Later it reduced but nothing plausible really. I don't wanna deny any mistakes I may make though.

GPS settings: Screenshot_2023-08-20-22-04-01-675_de.dennisguse.opentracks.jpg

I also noticed that the current speed - despite me walking - shows zero every now and then. I suspected maybe the gps fix distance may be too long for my walking speed in this case. Reducing it to the 2m seen above I felt like it made somewhat of a difference but I think that was more of a placebo.

When current speed shows 0 total distance doesn't increase either.

Der-Flip avatar Aug 20 '23 20:08 Der-Flip

Past days were a bit stressful and hectic so I couldn't update you any sooner:

So after the update I did a bike tour and I thought it was fixed.

The day after I did another hiking tour and I realized it wasn't.

It seems as if the current speed jumps to 0 as soon as my speed drops to around 3.5ish km/h. While walking 4kph it worked fine. If my walking speed dropped (mountains, they are cruel) it showed 0 despite me moving at ~2km/h. Once I moved a substantial distance (anything between 10-20m) it updated with a slightly elevated current speed and displaying an unreasonably high max speed. Sometimes it dismissed these unreasonable values sometimes it kept them.

I checked with my fitness tracker (integrated, independent gps) as well as phone's gps and I was definitely above the 0.5km/h cutoff.

Der-Flip avatar Aug 30 '23 09:08 Der-Flip

Could you check with the current nightly? It already contains the #1652 by using an idle timeout rather than using the speed as a threshold.

dennisguse avatar Aug 30 '23 17:08 dennisguse