Go to Post Scouting wins championships folks...not draft orders. - Andy Grady [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 06-01-2003, 00:03
Skabana159's Avatar
Skabana159 Skabana159 is offline
Robotics and Field Hockey
AKA: Jesse C. Owens
#0159 (Alpine Robotics)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2000
Location: Ft. Collins, CO
Posts: 92
Skabana159 is on a distinguished road
Send a message via AIM to Skabana159
Autonomous Initilization

I am curious. If we wanted to have several different options for our autonomous 15 seconds, could there be switches on the OI for choosing between them, or would the switches have to be on the RC? I think that, to run, the OI will have to be in communication with the RC anyways.
__________________
"What most people do not understand is that the Buddha, the Godhead, resides just as comfortably in gears and circuits as in hills and trees. To believe otherwise is to dilute the Godhead."
-Robert Pirsig, Zen and the Art of Motorcycle Maintenance
  #2   Spotlight this post!  
Unread 06-01-2003, 00:08
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
The OI needs to be in contact with the RC, but nothing it sends gets input into your code.

Basically, all the axes are set to 127 and all switches are set to off. Thus, the switches would need to be on the RC.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 06-01-2003, 22:17
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
during autonomous mode, does the reset switch still work? if so, does it reset the RC, or just the OI?
  #4   Spotlight this post!  
Unread 06-01-2003, 22:48
Wayfare Wayfare is offline
Registered User
#0600
 
Join Date: Jan 2003
Location: Lynchburg, VA
Posts: 1
Wayfare is an unknown quantity at this point
Send a message via AIM to Wayfare
So how exactly will the autonomous mode be switched off? This may have been answered before, I haven't checked through all the threads yet.
  #5   Spotlight this post!  
Unread 06-01-2003, 23:02
iscrc2 iscrc2 is offline
Registered User
#0568 (Nerds of the North)
 
Join Date: Jan 2002
Location: Anchorage, Alaska
Posts: 28
iscrc2 is an unknown quantity at this point
There is a bit that you test in code that tells you when the game is in auton mode. If you don't test for it it basically looks to your code like your OI is idle. The innovation first manuals describe how to test for it in code.
http://www.innovationfirst.com/first...ence_Guide.pdf
  #6   Spotlight this post!  
Unread 06-01-2003, 23:50
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Quote:
Originally posted by Wayfare
So how exactly will the autonomous mode be switched off? This may have been answered before, I haven't checked through all the threads yet.
Considering that the only way we have control over the autonomous mode is to change the team number, which can obviously not be done at competition, I'm guessing that the competition port/arena controller will be sending the signal to the OI as to whether to run in autonomous or user-controlled mode...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
  #7   Spotlight this post!  
Unread 06-01-2003, 23:51
Morgan Jones Morgan Jones is offline
Registered User
no team
 
Join Date: Jan 2002
Location: Fairport, NY
Posts: 29
Morgan Jones is an unknown quantity at this point
Quote:
Originally posted by VanWEric
during autonomous mode, does the reset switch still work? if so, does it reset the RC, or just the OI?
I'm working from memory, here, but I think the reset button on the OI resets the RC (as I think that's the only thing that would ever need resetting). I would assume that the reset button would work during autonomous mode because its not an input your program would read. It is a command intercepted by some other controller in the RC that would then initiate the reset sequence.
__________________
Morgan Jones
Team 578: Fairport High School/Gleason Works
  #8   Spotlight this post!  
Unread 06-01-2003, 23:58
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
yeah, anything PLUGGED into the OI will not work. anything BUILT into the OI will work. that includes the E-Stop button for obvious reasons.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #9   Spotlight this post!  
Unread 07-01-2003, 00:06
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Morgan Jones
I'm working from memory, here, but I think the reset button on the OI resets the RC (as I think that's the only thing that would ever need resetting). I would assume that the reset button would work during autonomous mode because its not an input your program would read. It is a command intercepted by some other controller in the RC that would then initiate the reset sequence.

Half true. There's two resest buttons on the OI--one resets the OI and the other resets the RC.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #10   Spotlight this post!  
Unread 07-01-2003, 18:35
VanWEric VanWEric is offline
Registered User
#0250 (Dynamos)
 
Join Date: Feb 2002
Location: NY
Posts: 86
VanWEric is an unknown quantity at this point
then i guess we have our prog switcher right there. each time you reboot, pick a dif program. Replace the bat volt with the prog id. or something like that
  #11   Spotlight this post!  
Unread 08-01-2003, 00:08
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
there's sample code in the manual for it to automatically switch...


just look in there under the different modes...it has the EXACT code you need

if anyone has any trouble, feel free to contact me via PM or IM or e-mail


*jeremy
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #12   Spotlight this post!  
Unread 08-01-2003, 00:24
John Prather John Prather is offline
Registered User
#0234 (Cyber Blue)
 
Join Date: Jan 2002
Location: Perry Meridian
Posts: 11
John Prather is an unknown quantity at this point
Send a message via Yahoo to John Prather
First of all, you will not be able to reset the robot using the OI control because that switch is still based on radio trasmission to work. So you would also not be able to switch programs bassed on changing the batt volt to a program id because it will not transmit to the robot. To program autonomous mode you will have to use switches on your robot or just change the program before you get to the field based on the robots and teams that you are up against. You can always set the starting values of the speed controlers or the spikes though the program. This is also another way to program the autonomous mode.
__________________
John Prather
Team 234
Student/Electronics/Controls/Programs/Scouting Team
  #13   Spotlight this post!  
Unread 08-01-2003, 12:47
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
I agree...a switch or two on the "on board black box" circuit board should do the trick
__________________

Don't PANIC!
S. P. A. M.
  #14   Spotlight this post!  
Unread 08-01-2003, 14:09
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Quote:
Originally posted by John Prather
First of all, you will not be able to reset the robot using the OI control because that switch is still based on radio trasmission to work.
There will be radio communication between the OI and the robot during autonomous mode. I haven't checked yet if the reset button works in autonomous mode, but my guess is that it will, because the reset command is handled by the master processor, not the BASIC stamp. Remember, the robot won't do anything at all (autonomous or not) without a valid radio link.
  #15   Spotlight this post!  
Unread 08-01-2003, 17:19
Mike537Strategy Mike537Strategy is offline
Registered User
#0537 (Charger Robotics)
 
Join Date: Jan 2003
Location: Sussex Wisconsin
Posts: 25
Mike537Strategy is an unknown quantity at this point
What I have heard is that your controls (Joysticks and such) won't even be turned on by the judges until the 15 seconds are over. So I'm guessing all the control systems are plugged into a system that keeps them off for the 15 seconds, just like the system that activates the robots when all 4 pads are being stood on.
__________________
"Charging into the future, one game at a time." - Team 537 motto
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
A better autonomous method.. randomperson Programming 4 24-02-2004 18:02
crazy idea for autonomous Mike Ciance Programming 16 24-04-2003 21:50
autonomous location manodrum Programming 4 02-04-2003 08:05
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Autonomous Kill Switch UCGL_Guy Programming 8 15-01-2003 17:39


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

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