[FOSS-GPS] High accuracy positioning with low cost GPS devices:a FOSS project

Eugenio Realini eugenio.realini at gmail.com
Wed May 6 04:22:06 EDT 2009


Hi Jaykob,

thank you for the info!
I'm glad to hear that you're obtaining good results with your software 
for the thesis. Are you planning to release it as open source some time 
in the future?

We'll try to implement the time correction also in goGPS, we'll let you 
know if better results are obtained in our case.

bye
Eugenio


Jaykob wrote:
> Maybe I should add that NSEC_PER_SEC means nanoseconds per seconds (1000 000
> 000)
>
>
>
> Jaykob wrote:
>   
>>   DayTime AntarisMessage::nearestHz(DayTime time, int msgRateHz) const
>>   {
>> 	   int nSecPerHz = NSEC_PER_SEC / msgRateHz;
>> 	   int nSec = (time.DOYsecond() - floor(time.DOYsecond())) *
>> NSEC_PER_SEC;
>> 	   nSec += nSecPerHz/2;
>> 	   double adjust = nSec % nSecPerHz - nSecPerHz/2;
>> 	   adjust /= NSEC_PER_SEC;
>> 	   return time - adjust;
>>   }
>>
>>     
>
>   



More information about the FOSS-GPS mailing list