[Xastir-dev] Broken station location
Chris Bell
cbell at junknet.com
Fri Apr 2 15:06:30 EST 2004
>
> > I found this bug on my own yesterday (Makes a really pretty picture
> > watching your station jump around randomly in a 10 mile square box on
> > the way home... I saved a png). My temporary fix was to add a '/10'
> > after the multiply by 6. I have not tested your fix yet, but an
> > interesting side effect of the rounding is that the conversions are
> > not exact anymore (degrees<->long) so things wander around now. I
> > have a bunch of 'items' that I use as waypoints, and they now have
> > trails! Nothing like when we had the x10 factor wrong... ouch! I
> > think the proper way to fix this is to see if we have a fourth digit,
> > and then do the extra x0.6 addition, otherwise leave it alone.
>
> Did you get a chance to test the current code again?
>
Yep! It seems to work just fine again. I could have had some funky
debug stuff in there, so I wiped the util.c file and re-synced, and
all looks good. Nice smooth trails again.
Thanks,
Chris.
KD6ZWR
More information about the Xastir-dev
mailing list