pipecat.device.gps module

Functions for working with GPS receivers.

pipecat.device.gps.nmea(source, key)

Parse NMEA messages from raw strings.

Examples

Parameters:
  • source (Record generator returning records containing a “string” field.)
  • key (Record key, required) – The key in incoming records to parse as NMEA.
Yields:

record (dict) – Records will contain multiple fields containing time, position, speed, heading, pitch, roll, and quality information based on device sending the data. Support is provided for GPGGA, GPGLL, GPRMC, GPTXT, HCHDG, and PASHR messages.