[Xastir] gpsd issues...possible solutions

Richard E. Polivka r.polivka at sbcglobal.net
Mon Jun 6 22:38:50 EDT 2005


software: gpsd-2.23
GPS: M$ GPS Locator (SiRF Star-II Xtrac / ver 231...ES)

In geoid.c: ecef_to_wgs84fix() appears to output meters/min to 
fix->speed and not meters/sec - added " / 60 " to compensate.

In libgpsd_core.c: gpsd_binary_fix_dump() printed out meters/sec instead 
of knots in $GPRMC. " session->gpsdata.fix.speed * 1.94384449 " to 
compensate. Maybe use MPS_TO_KNOTS as the factor.

In xgpsspeed.c: default to KNOTS_TO_MPH is wrong. It should be 
MPS_TO_MPH since geoid.c puts out meters/sec now.

These may not be the appropriate fixes but this takes care of the speed 
errors in the NMEA sentence, and XGPS and XGPSSPEED reading correctly.

73,

-- 

---
Richard E. Polivka, N6NKO

*** Never meddle in the affairs of wizards, for they
*** are easily angered, and you are crunchy and taste
*** good with hoisin sauce.





More information about the Xastir mailing list