[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: need help: have issues with gpsd-client under python
From: |
Beta Tester |
Subject: |
Re: Re: need help: have issues with gpsd-client under python |
Date: |
Thu, 30 Jun 2022 20:20:17 +0200 |
thank you Gary,
> > will see if what issues are solved now...
>
> Not until you remove all sleeps.
i removed all sleep() from the code.
and i use your suggested gps.waiting() with its timeout - very helpful, that
was what i was looking for to get back control to the loop.
> > i watched the debug output on the gpsd-server side and there it
> > appears the message: gpsd:WARN: client(0) has vanished.
> > gpsd:INFO: detaching 192.168.1.2 (sub 0, fd 7) in detach_client
> > after that, the gpsd-client starts to go crazy....
>
> Then your client disconnected or crashed.
how can the gps.gps() crash without getting an exception?
gps.next() was giving always an item (even it was the same).
ok, i guess it was my silly sleep()...
thank you, i will see how it runs now.
> Gesendet: Donnerstag, 30. Juni 2022 um 18:48 Uhr
> Von: "Gary E. Miller" <gem@rellim.com>
> An: gpsd-users@nongnu.org
> Betreff: Re: need help: have issues with gpsd-client under python
>
> Yo Beta!
>
> On Thu, 30 Jun 2022 18:42:27 +0200
> Beta Tester <alpha-beta-release@gmx.net> wrote:
>
> > hi Jon, you are absolutely right, my SLEEP_LOOP values are way too
> > high. this explains, why i have way more trouble with gpsd 3.24 than
> > with older versions. gpsd 3.24 send way more frequently records with
> > less filled informations. gpsd 3.23 and older were sending less
> > records but with more filled information.
>
> Yes. Data comes from the reeciever in dribas and drabs, and users
> do not want to wait for the full epoch to finish.
Re: need help: have issues with gpsd-client under python, Gary E. Miller, 2022/06/30