Changeset 89c510f


Ignore:
Timestamp:
Aug 30, 2017, 10:18:55 AM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, debian/bullseye, debian/jessie, master
Children:
0662b2d
Parents:
008bce9
Message:

Added fourth comma digit to logged latitude and longitude

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/python/bin/gnuboat

    r008bce9 r89c510f  
    101101               
    102102    nmeafile.write("%s\r\n" % str(pynmea2.RMC('GN', 'RMC',
    103                                               (gpsTime.strftime("%H%M%S"), gpsStatus, '%08.3f' % latitude,
    104                                                latitudeDirection, '%09.3f' % longitude, longitudeDirection,
     103                                              (gpsTime.strftime("%H%M%S"), gpsStatus, '%09.4f' % latitude,
     104                                               latitudeDirection, '%010.4f' % longitude, longitudeDirection,
    105105                                               '%04.1f' % speedOverGround, '%04.1f' % courseOverGround,
    106106                                               gpsTime.strftime("%d%m%y"), '', '', mode))))
Note: See TracChangeset for help on using the changeset viewer.