Software logger: Unterschied zwischen den Versionen

Aus OpenSeaMap-dev
Wechseln zu: Navigation, Suche
(deleted double)
(Logging on Linux platforms)
Zeile 5: Zeile 5:
 
The gpsd package available for Linux systems provides a set of useful tools for test, simulation and even logging of NMEA data.
 
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. 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. <\br>
 +
opencpn                        # start Chartplotter [http://opencpn.org opencpn], setup 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
  
gpsd -G /dev/ttyS0                # start the daemon reading the serial GPS interface. Option -G provides data also to other hosts.
 
[http://opencpn.org opencpn] &    # start Chartplotter, setup data source "Network LIBGPS"
 
gpspipe -r >> my_nmea_data.log    # attach to gpsd and append
 
 
== Logging on Windows platform ==
 
== Logging on Windows platform ==
  

Version vom 18. März 2013, 17:50 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. <\br>
opencpn                         # start Chartplotter opencpn, setup 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 platform

It is recommendable to install a software com port-splitter, e.g XPort. Then your chartplotter software and your logger software can each acess a dedicated virtual serial com port.

nmea data to a log file
  1. 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.