This module includes a couple of blocks to connect to either a NMEA0183 GPS or a gpsd instance (for shared receivers or non NMEA protocols. This can be used to inject position, velocity, and time information into flowgraphs or recordings.
Instantiate an nmea_gpsd
or nmea_serial
block in your flowgraph. The raw NMEA output is available on the out
port and can probably be safely discarded; asynchronous messages resulting from the parsing of the NMEA stream is available on the gps_msg
port.
Both nmea_gpsd.py
and nmea_serial.py
can be run as standalone programs to demonstrate their functionality.
pynmea2 is required for NMEA0183 parsing
gpsd is useful for multiplexed device access, though not required for these modules