![]() |
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 :confused: Rokie team needs help plz |
Re: Number of sensors in the IR
Can you post some of the code that you want to change? Then I might be able to help you.
|
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?? :confused: Rockie team |
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:
|
| All times are GMT -5. The time now is 02:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi