Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   How does the IR setup work? (http://www.chiefdelphi.com/forums/showthread.php?t=24689)

phrontist 02-02-2004 20:12

How does the IR setup work?
 
I don't fully grok how the IR system displayed at the kickoff works (and I have read many a thread). The part that confuses me is how the sensors determine what angle the beacons are at. Triangulation is easy once you know which direction the beacons are realative to your robot, but how can this be accomplished? :ahh:

Greg 02-02-2004 21:34

Re: How does the IR setup work?
 
Well, you just keep track of the servo position. Because the pwm value you output to a servo actually corresponds to its position, you can easily convert the position at which the sensor (located on the servo) saw the beacon into degrees and calculate the distance to the beacon.

If you are not using servos, you can accomplish the same thing with a motor and a potentiometer.


All times are GMT -5. The time now is 01:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi