gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] OS X status?


From: Greg Troxel
Subject: Re: [gpsd-dev] OS X status?
Date: Tue, 27 Jan 2015 14:25:20 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.4 (berkeley-unix)

"Eric S. Raymond" <address@hidden> writes:

> Greg Troxel <address@hidden>:
>> 
>> I am seeing WRITE_PAD reported as 0 when I set 0.01.   I am seeing a
>> cast to int in gpsfake before the call to sleep; this does not make
>> sense.  but I don't see how self.delay is getting truncated; that's just
>> pure pythong and not impacted by any OS behavior.
>> 
>> See line 257 of fake.py, FakeGPS.feed().
>
> That truncation only applies if the line contains "%Delay" followed by a
> delay-time literal.

OK, I see that now.

But when using WRITE_PAD = 0.01, I see in the output:

sys darwin platform Darwin-13.4.0-x86_64-i386-64bit: WRITE_PAD = 0 CLOSE_DELAY 
= 10.00

and I don't see where it's getting truncated.
(BTW, 0/10 does not work!)

Attachment: pgpuffmtzSKKw.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]