Software logger
Version vom 18. März 2013, 18:00 Uhr von Galeb a (Diskussion | Beiträge) (→Logging on Linux platforms)
Logging on Linux platforms
Using the GPS daemon gpsd is a convienient way to distribute navigation information to many clients. The gpsd package available for Linux systems provides a set of useful tools for test, simulation and even logging of NMEA data.
The following simple navigation setup has proven to work on Ubuntu 12.04. Start the following commands from a shell or a script:
gpsd -G /dev/ttyS0 # start the daemon reading the serial GPS interface. Option -G provides data also to other hosts. opencpn & # start Chartplotter opencpn. In settings, choose data source "Network LIBGPS" gpspipe -r >> my_nmea_data.log # attach to gpsd and append NMEA data to your logfile
# you may attach more clients, even on other hosts in your network: xgps localhost # graphically show satellite coverage
Logging on Windows platforms
It is recommendable to install a software com port-splitter, e.g XPort. Then your chartplotter software and your logger software can each access a dedicated virtual serial com port providing nav data.