Complete
over 4 years ago

Activity.Info.altitude uses barometric pressure for altitude and falls back to GPS altitude while Position.Info.altitude is GPS only.

Playing back fit file in simulator

I can't help myself, but info.object values do not match what I see in fit file (when viewing fit externally)

Even I take tcx file (so I can read it), convert it to fit, play it back in simulator I still see different values, esp for elevation (at least that's what I care about). These are not completely different values, it's like 50-100m off, but I see no reason why this is happening. Is it known behavior? 

Parents
  • Interesting! One would say that Position and Activity values should be the same if in activity - right? (and therefore it should make no difference which object I use when coding activity data field)

Comment
  • Interesting! One would say that Position and Activity values should be the same if in activity - right? (and therefore it should make no difference which object I use when coding activity data field)

Children
  • Never seen other files damaged or a device getting bricked due to a CIQ app in the 5 years I've been doing CIQ.  When it comes to calibrating, that is something I'd do on a real device, using println calls and a log file.

  • I use a Fenix 5 with baro altimeter.

    If replaying a .fit one would expect that the stored values are replayed. I think it's not an insufficiency of the sim, but rather it's simply a bug.

    My app runs correctly on my F5 but I want to calibrate some parameters and look what happen to the results.

    Testing on a real device may be the final testing because it can be troublesome and need much caution. It's possible to damage other files or installations if there is something errorneous or you wrongly delete something e.g. the app runs out of memory or bricked device.

  • the 945 has a baro.

    And yes, testing on a real deice takes more time.

    But remember the simulator is just that.  It's not a full emulator.  You'll see a few differences at times.

  • I see - I was thinking of my 945 with baro Slight smile

    Testing on real device can be time demanding if you code some long term (=all day) stats.

  • Could be it will vary based on the source.  In once case, from GPS, the other, simulating a baro altimeter.

    What it comes down to, some things are best tested on a real device