|
Posted by Jeff Shirley on March 17, 2005, 11:32 am
Ringo,
For the simple, output only displays I have done so far (strip charts, logic
displays, and XY plots), I just use Xlib calls. When I actually get around to
implementing control screens, I guess I will have to learn a widget library.
Jeff.
> This is a take off from the "sharing ideas" thread. I have a robot that
> is controlled from a laptops serial port. My control software has been
> in VB but now I'm switching it over to linux. My code is all in C.
> I'm at the point now where I need to start developing a mapping
> system. I have this all working in vb but I'm not sure how to handle
> the graphics in linux. I'm looking into using GTK since it looks easy
> enough to add buttons and other widgets to my existing C code. Has
> anyone done any mapping in C in linux? I'm just wondering what is the
> best way to draw the map? The way I did it in VB was using lots and
> lots of square "shapes". It worked well but was slow. Everytime I
> got a sensor update it took like 400ms to redraw the screen.
> Any suggestions?
> Thanks
> Ringo
--
Jeff Shirley
spam-crepe@mindspring.com
"Bill Gates is filthy rich, but that doesn't mean I want to be married to him."
|
> is controlled from a laptops serial port. My control software has been
> in VB but now I'm switching it over to linux. My code is all in C.
> I'm at the point now where I need to start developing a mapping
> system. I have this all working in vb but I'm not sure how to handle
> the graphics in linux. I'm looking into using GTK since it looks easy
> enough to add buttons and other widgets to my existing C code. Has
> anyone done any mapping in C in linux? I'm just wondering what is the
> best way to draw the map? The way I did it in VB was using lots and
> lots of square "shapes". It worked well but was slow. Everytime I
> got a sensor update it took like 400ms to redraw the screen.
> Any suggestions?
> Thanks
> Ringo