vitosmt addendum

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vitosmt addendum

Etasse
Dang it.

I just figured out the speed in vitosmt is in KNOTS (just like NMEA)
so it's a 3-line patch:

0036: const double kts2mps =0.51444444444444444; /* knots to m/s */
0148: speed =ReadDouble(infile);    /* speed in knots */
0175: wpt_tmp->speed = speed*kts2mps; /* meters per second */


And here's some nmea changes: nmea_20050630.patch (9k)

Added parsing for
        $GPVTG - Track made good and ground speed
        $GPGSA - GPS DOP and active satellites
to update the last seen trackpoint with data received from them

and capturing fix sat course and speed from the other sentences

I'm not sure if the VTG and GSA sentences appear before or after the
related coordinates. Neither have a timestamp field that might help
align things. Anyone? Anyone? Bueller?



       

       
               
__________________________________________________________
Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca

nmea_20050630.patch (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: vitosmt addendum

Robert Lipe
Etasse wrote:

> Dang it.

No problemo.   Vitosmt regenerated.  Applied.  Thanx.

> I'm not sure if the VTG and GSA sentences appear before or after the
> related coordinates.

I don't think the order is formally defined.  NMEA users seem to accept
turbulence on that first couple of reads.

RJL


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Gpsbabel-code mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code