This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Sunday, March 9, 2008

Re: [oopic] New range finder needed

Let me see if I can describe the optical rangefinder using a scanning
LASER a bit better.

The rangefinder is optical and works by geometry. It requires a 2D
imager that is capable of "seeing" the reflected light from the LASER
in very high contrast or the imager must be able to discern the color
of the LASER from all other colors.

The imager looks forward with the focal plane vertical (normal to the
floor). The scanning laser is mounted well above (or below) the imager
and projects a plane of light that makes an acute angle to the normal
line through the center of the imager.

Imagine a wall that is (relatively) far away. Also imagine that you
are looking at the whole lash-up from the side. You will see that the
scanned plane intersects the wall near the floor. After passing
through the lens of the imager it will appear near the top of the
focal plane.

Now imagine the wall moving closer to the sensor system. The scanned
plane now appears higher on the wall and its image is lower on the
focal plane of the sensor.

So if we examine the focal plane of the imager, variations in the
position of the scanned line on the Y axis denote distance and
variations on the X-axis denote left/right angular displacement.

I believe that the CMUcam has a mode for tracking certain colors. If
calibrated to track the color of the LASER, it can give back the
coordinates of the scan line. From that you can determine direction
and distance to multiple objects very quickly.

Is this any clearer?

--

Brian Lloyd Granite Bay Montessori
brian AT gbmontessori DOT com 9330 Sierra College Blvd.
+1.916.367.2131 (voice) Roseville, CA 95661, USA

http://www.gbmontessori.com

I fly because it releases my mind from the tyranny of petty things . . .
— Antoine de Saint-Exupéry

PGP key ID: 12095C52A32A1B6C
PGP key fingerprint: 3B1D BA11 4913 3254 B6E0 CC09 1209 5C52 A32A 1B6C


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: