OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
hardware_io.gps.gps_reader.GpsReader Class Reference

Reads GPS data from gpsd. More...

Public Member Functions

bool is_running (self)
 Return whether the background gpsd reader thread is active.
None open (self)
 Opens a connection to gpsd.
None close (self)
 Closes the gpsd connection.
None start (self, GpsCallback|None callback=None)
 Starts reading GPS data in a background thread.
None stop (self)
 Stops the GPS reader.

Detailed Description

Reads GPS data from gpsd.

The reader reports GPS values as they are received. It does not open or configure the physical GPS device and does not apply application-specific behavior. The physical device is owned and managed by gpsd.


The documentation for this class was generated from the following file:
  • hardware_io/gps/gps_reader.py