Go to Post So measure not by the masses, but by the sparks that you generate. - Kims Robot [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 16-02-2004, 14:19
alexrobotics alexrobotics is offline
Registered User
#0874
 
Join Date: Dec 2003
Location: Alexander, ND
Posts: 9
alexrobotics is an unknown quantity at this point
Automonous Competition

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.
  #2   Spotlight this post!  
Unread 16-02-2004, 14:56
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Automonous Competition

i havent looked at that code, but it seems it is calling the autonomous mode function with a trigger. On the operator interface, there is a pin in the competetion port that controls "autonomous mode" really what that means is in the default code, when the pin in question goes high, it calls the autonomous mode function. This can be located in user_routines_fast.c. This is how auto mode will be initiated at competitions. You could leave the trigger mapped to start it, but i wouldnt because it may be hit during a match and start up an unwanted auto mode
  #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,856
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
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
Autonomous mini-robots competition tchescow Off-Season Events 8 19-07-2003 00:28
Looking from a different point at "Fixing" punarhero General Forum 27 18-03-2003 18:41
How well did the regional competition help preparing? archiver 2001 3 24-06-2002 02:33
Thoughts on this years competition... archiver 2001 3 24-06-2002 01:11


All times are GMT -5. The time now is 00:01.

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