Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: [FTC]: [FTC]: Infared (http://www.chiefdelphi.com/forums/showthread.php?t=84419)

ProgramLuke 19-03-2010 08:21

[FTC]: [FTC]: [FTC]: Infared
 
Quote:

It should be noted that there is variation from one sensor to another as well as from one Beacon to another. A calibration routine to compensate for these differences is highly recommended when using the Beacon intensity for determining distance to Beacon.
How do I run a calibration routine in Labview?

ProgramLuke 19-03-2010 08:23

Re: [FTC]: [FTC]: [FTC]: Infared
 
oops sorry 2 threads

JesseK 19-03-2010 08:29

Re: [FTC]: [FTC]: [FTC]: Infared
 
I'm not sure about Labview semantics, yet here's a general structure. You'll want two constant global variables assigned to the intensities at the two extremes of distances -- i.e. one variable is the intensity at (e.g.) your starting position and the other is the intensity right up next to the center zone wall. From there it's a simple linear interpolation of intensity to range.

The problem we've found is that it's difficult to do that on the fly at the start of every match; there's barely enough time to avoid the defensive autonomouses as it is. So rather than pursue a calibration avenue, our autonomouses use the encoders and an intricate mapping routing to tell the distance to target. The IR sensor still serves the purpose of lining us up to fire.


All times are GMT -5. The time now is 18:44.

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