Ticket Created
over 4 years ago

JAZZ-2970

Transferred

info.currentHeading returns random readings on edge 830

info.currentHeading seems to return valid data when the device is at rest.  When moving, it returns somewhat wild and random numbers.  The device itself works fine as the Garmin data fields for heading and compass screen work fine.  However any IQ datafield returns random junk when the device is moving at normal bike speeds.  This is observed with firmware 5.44  I noticed a report here of the same problem with the 530 from two months ago, but not status update.

  • Exactly same problem occurs on Edge 530.

    Heading values are jumping around randomly even if you go straight into one direction.

    I don't believe it is a hardware issue as the heading on the map screen is quite stable and correct. 

  • I am aware of the units.  I was converting to degrees -180 to +180 and writing them to a log file as well as displaying.  It does not change the fact that a lot of "bad" numbers are output.  I starting looking into this because published Connect IQ data fields are exhibiting this problem on the 830 even though they work fine on the 1000 and 1030.  There is a definite problem.  I suspect that it has something to do with when they enabled the compass in the 830 as I know that was done after initial release.

    The number are fine if you run in the simulator and play a fit file.  However, when riding a bike with the device the numbers jump all around the place. 

  • If you convert it to degrees, it will be between -180 and +180 with north being 0.  If you leave it as radians it will be between about -3.14 and +3.14

  • How are you converting currentHeading for display?  It's value is in radians

    currentHeading  Toybox::Lang::Float

    The true north referenced heading in radians.