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.


Hello World?

Pylife on Kickstarter - November 2018

Back Us On Kickstarter >

Pycom on Twitter