|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||||
|
|||||
|
Re: Automonous Competition
Quote:
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |