|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
[FTC]: [FTC]: [FTC]: Infared
Quote:
|
|
#2
|
||||
|
||||
|
Re: [FTC]: [FTC]: [FTC]: Infared
oops sorry 2 threads
|
|
#3
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: Infared | ProgramLuke | FIRST Tech Challenge | 1 | 21-03-2010 12:44 |
| [FTC]: FTC Futures Forum at FTC World Championship | gdo | FIRST Tech Challenge | 0 | 08-04-2009 18:46 |
| [FTC]: Rookie Team Needs Help With Tetrix FTC Kit! | rjustice4 | FIRST Tech Challenge | 8 | 05-10-2008 09:44 |
| [FTC]: FTC]: FTC Champ Tournament - Ontario (Scoring Breakdown) | Mr. Lim | FIRST Tech Challenge | 2 | 03-03-2008 11:54 |
| [FTC]: [FTC]: Ontario Provincial FTC Start/End Times | cbhl | FIRST Tech Challenge | 8 | 16-12-2007 13:37 |