Beispiel #1
0
 def __start_gps(self):
     gpsDevice = GpsDevice()
     if self._gpsPort is not None:
         gpsDevice.port = self._gpsPort
     if self._gpsBaud is not None:
         gpsDevice.baud = self._gpsBaud
     if self._gpsPort is not None:
         self._gps = Gps(self._queue, gpsDevice)
Beispiel #2
0
 def __start_gps(self):
     if self._gps is None and self._settings.get_gps().enabled:
         self._status.SetStatusText('Staring GPS...', 1)
         self._gps = Gps(self, self._settings.get_gps())