|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: [FTC]: IR Block for Block Party
Zone 5 is the biggest zone...
|
|
#2
|
|||
|
|||
|
Re: [FTC]: IR Block for Block Party
Looking back, you're right, I meant zone 4 or zone 6
|
|
#3
|
|||
|
|||
|
Re: [FTC]: IR Block for Block Party
I got this error when compiling the IR sensor
**Error**:Undefined procedure 'HTIRS2readACDir'. Any thoughts? Am I missing something with sensor driver? Thanks, Matt, The Things 5926 |
|
#4
|
||||
|
||||
|
Re: [FTC]: IR Block for Block Party
Did you include Xander's IR sensor driver? HTIRS2readACDir is a function in his driver.
|
|
#5
|
||||
|
||||
|
Re: [FTC]: IR Block for Block Party
Note that if your robot is driving parallel to the pendulum and if you mount the IR seeker pointing directly ahead, the zones to detect the IR beacon will become 2 if it is on the left side and 8 if it is on the right side. Both zone 2 and 8 are very narrow. Mounting this way will make your robot capable of detecting the IR beacon on both the left and the right side.
|
|
#6
|
||||
|
||||
|
Re: [FTC]: IR Block for Block Party
I'm not a programming mentor (more CAD, strategy, and design), so I can't speak for the specifics of what the teams I've been working with are actually doing in the source code, but I can tell you that more than 1/2 of our teams have a very nearly 100% IR autonomous with just a straight-on IR sensor and a little servo-powered "flicker arm," which behaves almost exactly as you've described.
Even our teams that have dedicated floor pickup use this method, and they've been pretty successful at competition. There's something to be said for just keeping it as simple as possible... I'll grab some pictures when I'm in the shop tonight of our setups. |
|
#7
|
|||
|
|||
|
Re: [FTC]: IR Block for Block Party
You can also get the raw values of each of the five sensors in the IRSeeker. Visit the sensor website for information of the ports http://www.hitechnic.com/cgi-bin/com...on&key=NSK1042. The sensor could look straight and you can read sensors 2 and 4. Keep going until they are equal values. Sensor 2 is in the direction of zone 3. Sensor 4 is in the direction of zone 7.
Colton Mehlhoff HiTechnic |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|