View Single Post
  #3   Spotlight this post!  
Unread 16-02-2004, 15:00
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Automonous Competition

Quote:
Originally Posted by alexrobotics
Hello, We are wondering how auto. mode will be started at the regionals because people are using the code on kevin.org and to start all of that you need to push the trigger. So if I could get a little knowledge from you guys that would be great. We have a robot that can track IR. Now were are wondering about the beacon switch part of the robot? Is the beacon switch a hardware devise or is it something we define in the program like beacon type 0 or beacon type 1?
Thanks for your help.
Look in main.c and you will see a check on autonomous_mode. This is set by the arena controllers at competition, and is your signal to start your autonomous mode. You can imitate this startup yourself with a competition box. See IFI for directions on making one.

The navigate code must be modified to be called from your User_Autonomous_Code() and eliminated the push button start.
See some details here http://www.chiefdelphi.com/forums/showthread.php?t=25094

You need a standard on/off switch to tell your program which beacon to look for. It can be connected to digital input pin 7 signal and ground pins (don't use the +5v middle pin). rc_dig_in07 is then used by the tracker code to tell which beacon to look for.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle