pytrack false timeouts

  • In the pytrack library L76GNSS the chrono for timeout measurement is not reseted at the start of coordinates(). Insert self.chrono.reset() solves the problem.

    42         if self.timeout != None:
    43             self.chrono.reset()
    44             self.chrono.start()

  • Can confirm this fix.

    Without it there are spurious timeouts when calling coordinates() e.g. in a loop when the total exec time of all calls adds up to the given timeout.

Log in to reply

Pycom on Twitter

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.