Re: Time of Week and Local Clock
"Clifford Kelley" <[email protected]> Wed, 15 Dec 2004 18:20:34 -0800
| Newsgroups | gmane.comp.hardware.gps.opensource |
|---|---|
| Message-ID | <003c01c4e315$d334fca0$6401a8c0@cliffkelley> |
Charles, Are you sure the local time does not update? The variable thetime in main should be incremented every second to keep your clock up to date. Cliff ----- Original Message ----- From: "Charles Suprin" <[email protected]> To: <[email protected]> Sent: Wednesday, December 15, 2004 7:15 AM Subject: [OpenSource_GPS] Time of Week and Local Clock > Hello, > > I am using Opensource GPS 1.11a on an MSDOS machine and it works rather > well. > > However when OPENSOURCE GPS is running the local clock time does not update. > This prevents a new instance from acquiring as the clock error is now > greater than 300 seconds off. The same 300 second limit also prevents the > receiver from doing a cold start. > > Has anyone looked at this issue? > > The two obvious solutions that come to my mind is to reset the local clock > based on the TOW received from the GPS signal. The other is to change > if ( labs(d_tow)<300) in GPSISR.CPP to something more like > > if (labs(d_tow)<30000) > > Perhaps the second is prohibited by some integer quantization effect. > > Are there other approaches that I am not seeing? > > Thanks. > > Charles > > > > > > > > _______________________________________________ > opensource_gps mailing list > [email protected] > http://lists.psas.pdx.edu/cgi-bin/mailman/listinfo/opensource_gps