Is it possible to feed Elevation value manually?

Former Member
Former Member

Hi,

I have been feeding values of elevation through the speicifed function (SetAltitude (value) or SetEnhancedAltitude(value)). As mentioned in the demo. But, It was showing it on the Fit file viewer. But, when I upload the data into the Starva, it doesn't show the elevation details. 

fit::RecordMesg recordMesg;
recordMesg.SetAltitude((float)std::abs(((float)(i % 255)) - 127.0f));

It fit doc. It mentioned as 5*m , 500.

here https://www.thisisant.com/forum/viewthread/4101

The above links tells to divide by 5 then subtract that by 500 will give values in meters. I tried that too. Still elevation details aren't updating it on Starva.

I have tried using SetEnhancedAltitude(value)

fit::RecordMesg recordMesg;
recordMesg.SetEnhancedAltitude(altitudeValue);

This gives me the values But, it is custom map which has been built. So, Any possibility to include the elevation details manually?

Like in .gpx file we can set creator="with barometer" which can simulate as if its getting values from barometer. But actually, it was getting manually feeded values. Something similar I was expecting. Is there any possibilty of it?

Thanks