Go to Post DEKA is right next to the river, and when i got there this morning they wouldn't let us into the building, but apparently there is and standing water on the first floor. The ironic thing is that i work on the water project and we can't deal with a bit of water on the floor - Greg Needel [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 11-01-2007, 16:13
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Question about autonomous mode

In the autonomous mode I am going to program the robot to keep track after the green light and then put the tube on one of the plates. My question is: how can I make this be effective without interrupting my alliances' robots? I mean, how can I make sure that my robot puts a tube in another plate then my ally? My team is a rookie team and so am I, so please explain in detail.
  #2   Spotlight this post!  
Unread 11-01-2007, 16:27
JSonntag JSonntag is offline
Registered User
FRC #0486 (Positronic Panthers)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: United States
Posts: 16
JSonntag is on a distinguished road
Send a message via AIM to JSonntag
Re: Question about autonomous mode

That is something you have to go over with your teammates at the competition. If you are able to, you can program multiple autonomous modes so that you have more flexibility during the competition.
  #3   Spotlight this post!  
Unread 11-01-2007, 16:28
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 949
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31
Re: Question about autonomous mode

An easy way would be to ask you alliance partners which ones they are going for before each match and change it that way.
  #4   Spotlight this post!  
Unread 11-01-2007, 16:32
robbekid robbekid is offline
Registered User
FRC #0056
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: NJ
Posts: 28
robbekid is on a distinguished road
Re: Question about autonomous mode

as chris said and this means that you require the ability to score in more than one position and more than likely want to have the possibility two levels of spider leg.
__________________
07 - NY, FL and ATL
  #5   Spotlight this post!  
Unread 11-01-2007, 16:32
mgurgol mgurgol is offline
Registered User
FRC #1094
 
Join Date: Jan 2006
Location: St Louis MO
Posts: 76
mgurgol is just really nicemgurgol is just really nicemgurgol is just really nicemgurgol is just really nicemgurgol is just really nice
Re: Question about autonomous mode

Have 3 different auto modes written. By modifying the calculations, you should be able to place your robot either at the green light (like you described), or to the plate either to the left or the right of the green light, by offsetting the calculation, and calculating the necessary angles.
If you are able to do this, meet with your alliance members before the match to determine what postion you are going to start from, and which arm you are going after.

Since they will spin the rack before the match, you won't be guaranteed that it will be a straight line to the light anyway, just play with the math a little and you should be able to geometrically determine where you are on the playing field (with respect to the light) and where you want to go. The arms on either side of the light are at 45 degrees from center of arm.
  #6   Spotlight this post!  
Unread 11-01-2007, 17:15
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: Question about autonomous mode

Well, I could do this this way: first of all the robots scans for light, if it gets 2 lights it sums up the tilt it made for each light. According to this I can calculate the angle my robot is from both of the lights, and know the angles of the triangle between light #1, light #2 and the robot (according to each tilt with the servo tracking). Then I can know exactly where I am according to the lights and eventually according to the spider legs.
If there is only 1 light straight ahead then the sum of the tilt would be zero, and my robot will have to go straight ahead.
Tell me if you think this idea is good
  #7   Spotlight this post!  
Unread 11-01-2007, 19:20
lopz056's Avatar
lopz056 lopz056 is offline
Chris Lopez
AKA: chris lopez
FRC #1388 (Eagle Robotics)
Team Role: Leadership
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Arroyo Grande
Posts: 47
lopz056 is an unknown quantity at this point
Re: Question about autonomous mode

well, i cant say much considering that this is also my first year, but i would have to tell you first of all to ask your alliance members which way/direction that they are going. and as mentioned before, offset your calculations to get your robot to place a keeper to the left or the right of the green light, even though it might be a slight difficult to offset it just the right ammount, but good luck either way
  #8   Spotlight this post!  
Unread 11-01-2007, 21:35
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: Question about autonomous mode

Quote:
Originally Posted by itsme View Post
Well, I could do this this way: first of all the robots scans for light, if it gets 2 lights it sums up the tilt it made for each light. According to this I can calculate the angle my robot is from both of the lights, and know the angles of the triangle between light #1, light #2 and the robot (according to each tilt with the servo tracking). Then I can know exactly where I am according to the lights and eventually according to the spider legs.
If there is only 1 light straight ahead then the sum of the tilt would be zero, and my robot will have to go straight ahead.
Tell me if you think this idea is good
Ahhhh, young grasshoper, you are on the right path. As lead coder of our team, I reaaaaalllly should start working on the code.
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #9   Spotlight this post!  
Unread 11-01-2007, 21:40
Dominicano0519's Avatar
Dominicano0519 Dominicano0519 is offline
My team is not competing this year
AKA: Demolition Man
FRC #0381 (Tornadoes)
Team Role: College Student
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Trenton
Posts: 165
Dominicano0519 will become famous soon enough
Send a message via MSN to Dominicano0519 Send a message via Yahoo to Dominicano0519
Re: Question about autonomous mode

have a switch on your robot (like a thumbwheel) that has different combinations
i.e
123
1st level, 2nd collum, 3rd starting position to the right

like everyone else said it's just a matter of finding atleast three different paths because your partners are each going to have one path so all you need is a third path and you should be ok
__________________
Favorite Phrases:
1. I like your robot, no-homo
2. "It depends how you define alone" ( Bill Clinton when being questioned about Monica Lewinsky)
  #10   Spotlight this post!  
Unread 11-01-2007, 21:58
bobmonkey836's Avatar
bobmonkey836 bobmonkey836 is offline
BobMonkey07
AKA: Jeff Powers
FRC #0836 (Robobees)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2005
Location: maryland
Posts: 39
bobmonkey836 is on a distinguished road
Re: Question about autonomous mode

another option. from what i've seen, there are green lights on the quarters of the rack. have the robot (by dead reconing) move next to the rack, rotate until it sees a light, and place a tube accordingly.
__________________
Solution to life's problems: "CTRL", "ALT", "DELETE".
"CTRL"+"Z" Saved my life.
Approximately Normal
2007 Annapolis Regional at USNA!!

Management is doing things right; leadership is doing the right things.
- Peter Drucker
  #11   Spotlight this post!  
Unread 11-01-2007, 22:24
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: Question about autonomous mode

Quote:
Originally Posted by bobmonkey836 View Post
another option. from what i've seen, there are green lights on the quarters of the rack. have the robot (by dead reconing) move next to the rack, rotate until it sees a light, and place a tube accordingly.
Dead reckoning will only get you a hang-over and a bad case of herpes. Same thing for you bot.
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #12   Spotlight this post!  
Unread 11-01-2007, 22:56
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Question about autonomous mode

To have a quality auto mode. You should make an autonomous modes that are capable of the following.

1.) The Option to Run No Autonomous Mode. Incase yours goes wrong,
your partners have a stronger auto mode then you do, or causes your robot to break. You can cover this with No.2

2.) The ability to add a delay, usually a POT with a 1-15 second setting. This allows your partners to get out of the way if they also have an auto mode.

3.) The ablity to select to score on at least 2 diffrent spider legs. If you can score on all 3 in a row thats a plus. Being able score on any additional side is a major bonus.

4.) When and if your robot can score, once its done get out of the way. If you can select the direction it will run away in thats even better. This give your partners time to score.

5.) If your robot can take the abuse, a defensive auto mode is a great thing!

Bottom line flexablity is key and usually little addons to a program make all the diffrence.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #13   Spotlight this post!  
Unread 12-01-2007, 13:20
Redneck's Avatar
Redneck Redneck is offline
Hacker Hick
AKA: Jamie (2.0) Moran
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Aug 2004
Rookie Year: 2004
Location: California
Posts: 90
Redneck is just really niceRedneck is just really niceRedneck is just really niceRedneck is just really nice
Send a message via AIM to Redneck
Re: Question about autonomous mode

Quote:
Originally Posted by Kingofl337 View Post
2.) The ability to add a delay, usually a POT with a 1-15 second setting. This allows your partners to get out of the way if they also have an auto mode.
Sir, I enjoy your ideas and wish to subscribe to your newsletter.
I feel somewhat embarrassed that's never occurred to me (the part about using a Pot to set the delay). I've always just hard-coded in a delay and changed it between rounds when necessary. Being able to select the time on the fly, though... that's dash cunning.
__________________


Which badges can you claim?
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
I have a quistion about stopping the autonomous mode... razer Programming 25 11-01-2007 15:43
Question about switching autonomous modes DemonYawgmoth Programming 2 23-03-2005 17:02
a simple autonomous mode question chippermonky Programming 3 18-02-2005 01:54
A little question about the autonomous mode Anton Programming 4 18-01-2005 14:08
question about autonomous timing zainali Programming 6 23-02-2004 22:58


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

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