View unanswered posts | View active topics It is currently Fri Oct 24, 2014 6:32 am






Reply to topic  [ 2 posts ] 
IR Beacon Question 
Author Message
Novice

Joined: Mon Oct 18, 2010 9:31 pm
Posts: 86
Post IR Beacon Question
Alright, is it possible at all to use the IR beacon as a chooser to a program. Say that I have three different programs for this years competition that either go to the A column, B Column, Or C Column. Is there a way to make it so when the IR beacon is on say Column B, That it will run the program to Column B. Then say its on Column C, then it will run there.

I dont want to be using the IR Beacon to get all the way there, but use it as a quick scan at the beginning to find what column the Beacon is on. Then use my other programming to get there, as it is more accurate.

Sort of like.
IrBeacon = 5, runs to Column B.
IrBeacon < 5, runs to Column A.
IrBeacon > 5, runs to Column C.

Any ideas?


Sun Sep 09, 2012 2:26 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: IR Beacon Question
No, you can't use the IRSeeker to choose a program. However, you can use the IRSeeker reading to guide your robot to approach the IR beacon. That was the intention of the game to use the IRSeeker sensor to locate the IR beacon and navigate the robot there. This is no different than last year's Bowled Over game where you used the IRSeeker to guide your robot to the corner zone for the bowling ball. It is also very similar to using a gyro to guide your robot heading. In this case, your PID setpoint is zone 5. If the IRSeeker reading is less than 5, your robot turns left. If the IRSeeker reading is greater than 5, your robot turns right. However, zone 5 is a very wide zone. You may have difficulties using zone 5 to approach the target. Refer to this post.
viewtopic.php?f=52&t=2780&hilit=inaccuracy


Sun Sep 09, 2012 4:03 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.