def __init__(self, level):
    self._log = Logger('gps', level)
    self._counter = itertools.count()
    self._gps = PA1010D()
    self._gps.set_pps(mode=PPS.ONLY_2D_3D)
    self.clear()
    self._log.info('ready.')
def __init__(self, level):
    self._log = Logger('gps', level)
    self._counter = itertools.count()
    self._gps = PA1010D()
    self._gps.set_pps(mode=PPS.ONLY_2D_3D)
    self.clear()
    self._log.info('ready.')