Hi all. I am developing a very simple app that acts as a position logger. Put simply, I set up my position object (Position.enableLocationEvents) and create a session (ActivityRecording.createSession with sport Activity.SPORT_GENERIC), and my Garmin (a Fenix 6 pro device) already logs position and speed to a FIT file.
The problem comes when I analyze the data from speed (enhanced_speed field to be more precise). I realized that, if I stay still in a place for a while (before starting my running) the speed goes to 0 as intended, but just at the moment fo the start it goes to negative values just after increasing to the real corresponding speed.
I also noticed that the plotted data seems "too smooth" to be the raw speed as obtained from the GPS. These two things lead me to think that this enhanced_speed field does not correspond to the raw speed data but has some sort of filtering applied, which creates these moments of negative speed and smoothness.
My question now is: how can I disable the filtering? Or, is there any way to directly retrieve the raw GPS speed from a FIT file?
Thanks in advance!