[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] OS X status?
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] OS X status? |
Date: |
Tue, 27 Jan 2015 15:54:43 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Greg Troxel <address@hidden>:
>
> "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!)
Duh. I typoed - %.f where it needed to be %.2f. Now fixed.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
signature.asc
Description: Digital signature
- Re: [gpsd-dev] OS X status?, (continued)
- Re: [gpsd-dev] OS X status?, Hal Murray, 2015/01/27
- Re: [gpsd-dev] OS X status?, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] OS X status?, Greg Troxel, 2015/01/27
- Re: [gpsd-dev] OS X status?, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] OS X status?, Greg Troxel, 2015/01/27
- Re: [gpsd-dev] OS X status?, Greg Troxel, 2015/01/27
- Re: [gpsd-dev] OS X status?, Eric S. Raymond, 2015/01/27
- Re: [gpsd-dev] OS X status?, Greg Troxel, 2015/01/27
- Re: [gpsd-dev] OS X status?,
Eric S. Raymond <=