Go to Post We may not have any Paris Hiltons around here (though I've heard Paul Copioli is a great kisser) - AndyB [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-03-2004, 22:03
Pattyta Pattyta is offline
Registered User
#1300
 
Join Date: Mar 2004
Location: oakville,canada
Posts: 8
Pattyta is on a distinguished road
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   Spotlight this post!  
Unread 25-03-2004, 09:07
CrashZero's Avatar
CrashZero CrashZero is offline
Computer Nerd
#1352 (Huskie Robotics)
Team Role: Programmer
 
Join Date: Mar 2004
Location: Stratford Northwestern
Posts: 44
CrashZero will become famous soon enoughCrashZero will become famous soon enough
Question 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.
__________________
This is our world now... the world of the electron and the switch, the beauty of the baud. We make use of a service already existing without paying for what could be dirt-cheap if it wasn't run by profiteering gluttons, and you call us criminals. We explore... and you call us criminals. We seek after knowledge... and you call us criminals. We exist without skin color, without nationality, without religious bias... and you call us criminals. You build atomic bombs, you wage wars, you murder, cheat, and lie to us and try to make us believe it's for our own good, yet we're the criminals. Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for. I am a hacker, and this is my manifesto. You may stop me, but you can't stop us all...

quote from:

+++ The Mentor +++
  #3   Spotlight this post!  
Unread 25-03-2004, 17:22
Pattyta Pattyta is offline
Registered User
#1300
 
Join Date: Mar 2004
Location: oakville,canada
Posts: 8
Pattyta is on a distinguished road
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   Spotlight this post!  
Unread 25-03-2004, 18:00
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
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:
i dont know where should i earase and where not??
I assume you're not an expert C programmer, well-versed in the code at kevin.org. So editing it a great deal might not be a good idea. In that case, you might want to stick with the setup he has. I don't really understand why you only have one sensor per tracker; is it that you only have two sensors, or that you only use two sensors (you should have received more in the kit and can purchase others if need be).
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 02:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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