Software logger: Unterschied zwischen den Versionen
(→Logging on Windows platform) |
(→Logging on Linux platforms) |
||
Zeile 7: | Zeile 7: | ||
The following simple navigation setup has proven to work on Ubuntu 12.04. Start the following commands from a shell or a script: | 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. | + | gpsd -G /dev/ttyS0 # start the daemon reading the serial GPS interface. Option -G provides data also to other hosts. |
− | opencpn | + | opencpn & # start Chartplotter [http://opencpn.org opencpn]. In settings, choose data source "Network LIBGPS" |
gpspipe -r >> my_nmea_data.log # attach to gpsd and append | gpspipe -r >> my_nmea_data.log # attach to gpsd and append | ||
Version vom 18. März 2013, 17:57 Uhr
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
# 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.