Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

New record type - Depth

Rank

Total Posts: 1

Joined 2016-03-07

PM

As a keen diver i am keen to merge my dive computer data into my Garmin Virb video footage. However, there is no depth field available in the FIT data format. Is this likely to change in the near future?

My primary focus is the depth field (although other types such as air pressure and decompression type are interesting), this is available as a simple csv time series of Datetime + Depth; In the mean-time I have tried to use altitude and enhanced altitude as unsigned depth (as below). but whilst the start and end times load, the garmin software never picks up the altitude - that being said I don't think the problem is with the Virb software. Any thoughts on where my method has failed would be greatly appreciated.

foreach line { ...
string[] indata = reader.ReadLine().Split(new char[] { ',' });

Dynastream.Fit.DateTime thsDT = new Dynastream.Fit.DateTime(System.DateTime.Parse(indata[0]));
recMesg.SetTimestamp(thsDT);
recMesg.SetActivityType(ActivityType.Generic);
recMesg.SetAltitude(float.Parse(indata[1]));
recMesg.SetEnhancedAltitude(float.Parse(indata[1]));