|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Number of sensors in the IR
Hello,
Our team is working on the IR but only with two sensors. The kevin.org code works with 4 and i dont know how to change it to two??? or is there a better way Rokie team needs help plz |
|
#2
|
||||
|
||||
|
Can you post some of the code that you want to change? Then I might be able to help you.
|
|
#3
|
|||
|
|||
|
Re: Number of sensors in the IR
#define LEFT_TRACKER_LEFT_SENSOR 0 // entry 0 of Sensor_Stats[] will provide this beacon data
#define LEFT_TRACKER_RIGHT_SENSOR 1 // entry 1 of Sensor_Stats[] will provide this beacon data #define RIGHT_TRACKER_LEFT_SENSOR 2 // entry 2 of Sensor_Stats[] will provide this beacon data #define RIGHT_TRACKER_RIGHT_SENSOR 3 all the kevin code is based on the left and right sensors of the tracker, but we only have one sensors per tracker ?? i dont know where should i earase and where not?? Rockie team |
|
#4
|
||||
|
||||
|
Re: Number of sensors in the IR
The reason for the two sensors per tracker is so that one sensor can see to the left and one to the right, so you always know which way to move the tracker. You could change the design to one sensor per tracker, so long as you restrict it's "sight" to a few degrees ... though the code will not work as well, and you'll have to change some logic. Or you could just put the sensors stationary and use an alternative method.
Judging by Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting Fancy with Sensors | FadyS. | Programming | 30 | 10-03-2004 15:02 |
| Why not analog sensors?? | gnormhurst | Programming | 16 | 07-03-2004 16:14 |
| wiring diagram for light sensors??? | pagemauck | Control System | 1 | 21-01-2004 16:32 |
| what type of sensors are good and convenient | magical hands | Programming | 7 | 04-01-2004 23:04 |
| WASH scouting fields | Mike Soukup | Scouting | 0 | 04-02-2002 02:39 |