PositionSample always printing out heading = 0

In the PositionSample, it uses Info.heading and displays this.

However with the simulator FIT Data - simulate Data, or side loaded onto my Fenix 3 - it always prints out 0 - whatever direction watch is facing OR the direction I am walking or driving in.

Is there a known bug that Info.heading is not being set correctly ?
  • In the simulator, you always get a heading of "0" (north) - I've seen that in anything that uses heading - it's just something with the simulator.

    But if I side load to the vivoactive, it's displaying the heading, and it's in radians, so a small number.

    To turn it into degrees, try:

    heading = info.heading*57.2957795;

    The sample is working as expected on the vivoactive.
  • arg. missed it was in radians!

    that explains it.

    thanks.

    stu