Hi I am new to FLTK and to programming in general.  I am working on a robot 
that is using two Laser range finders. I have constructed it in a way that they 
give me a 2 dimensional array filled with distance values.  I want to have this 
continuously upgrading 2-d array made into a color image.  The cells of the 
matrix are distance values from the scanners, in a Cartesian plane.  The pixel 
colors would be a threshold value of the distance values.  So for example 
distances from 0 to 100cm would show up as an increasing intensity of the color 
blue, distances from 50 to 150cm would show up as an increasing intensity of 
the color green, and distances from 100 to 200cm would show up as increasing 
intensity of the color red.  So it is basically like a video feed from the two 
laser scanners.  Something like that.  I read through the documentation, but if 
someone could just throw me a few hints in the right direction I would greatly 
appreciate it (i.e. function calls to use).  Thanks.

-Sam
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to