[Xastir] New code testing

Curt Mills, WE7U hacker at tc.fluke.com
Wed Jul 23 15:35:41 EDT 2003


On Wed, 23 Jul 2003, Chris Bell wrote:

> > Ok.  It's possible that the TrackMe code needs to initiate a map
> > interrupt in this case, so that Xastir can try to keep up.  In that
> > case you might not get a complete redraw before you get a map
> > interrupt (depending on speed/zoom level/number & type of maps
> > selected), so the maps drawn into memory won't even show up on the
> > display.

> I think it would help, especially if you have a lot of maps loading.
> My laptop was getting bogged down with a lot of redraws, and it seems
> to even interfere with the smartbeacon transmits...

Try the latest code which implements this.  _You_ can get it now
(developer's CVS).  It won't appear on the anon CVS server until
tomorrow though.


> > Problem is, if we interrupt the map drawing when
> > you get to the edge, you'd never get the weather alerts/ symbols/
> > tracks drawn on top of the maps either, so you wouldn't even get to
> > see where you were on the map.
> >
>
> I think it actually does, I was watching my system at home with a ton
> of maps loading, and it would show the display periodically while
> drawing different layers.  Kind cool to watch, but a little confusing
> (what happened to the roads... oh there they are!)  Hm. Now it doesn't
> do it... maybe I was doing something weird, like covering/uncovering
> the window causing an X refresh.

We were also calling create_image() from other places, and I haven't
messed with refresh_image(), which does only the layers above the
map drawing.

Now we only call create_image() from new_image(), which gets called
by UpdateTime if request_new_image has been set.  It looks like we
only call refresh_image() from UpdateTime() as well, and only if
certain conditions occur.


> I will be testing some more today, but I think gps tracks are broken
> again.  My own trail was only showing points where I was digi'd, not
> moving my icon or logging a point when the gps updates (set for 5
> seconds).  Even that was delayed by the map redraws, kind fun to watch
> your icon be drawn, with a DR circle, then pop to the next point, then
> jump again causing a redraw... hmmmm

It was working for me, using a Serial GPS interface, monday night
for about 6.5 hours straight while house-hunting.  What type of
interface are you using?

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list