Go to Post When we find bugs at work, we don't ask "who wrote that section of code?" We ask "Who is the best, most knowledgeable person to work on fixing this bug?" - Jon Stratis [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
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 09-01-2010, 18:32
meastman meastman is offline
Registered User
FRC #1245
 
Join Date: Dec 2008
Location: Colorado
Posts: 46
meastman is an unknown quantity at this point
G17 Algorithm

Quote:
BALL Return Timing - BALLS must be returned to the FIELD within a specified period of time to prevent delaying the game according to the following algorithm:
Texpire = Tscore
• where T - [11 + (4 * n)]
expire
• T, is the match time, in seconds, assigned to each individual BALL, at which point the Field Management System automatically assigns a PENALTY if a BALL is not passed through the BALL RETURN COUNTER,
score
• n is the number of balls that have passed through either BALL COUNTER of the ALLIANCE, but not yet passed through the BALL RETURN COUNTER. is the remaining match time, in seconds, on the match timer when the ball enters the BALL COUNTER, and
If your alliance is in the possession of a ball with 15 seconds or less left, you have 0 seconds to place it on the ball return, thus incurring a penalty. At this point, it seems that your team should try putting balls in your opponents goal, giving them penalties. Is this a viable strategy?
  #2   Spotlight this post!  
Unread 09-01-2010, 18:37
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,259
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: G17 Algorithm

No you have until the clock reads 0 to get the ball back on the field. You are solving for the time on the clock, not the time you have to move the ball.
__________________

- Arizona North
  #3   Spotlight this post!  
Unread 09-01-2010, 18:38
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,825
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: G17 Algorithm

Incorrect.

T expire (x) = T now – { 11 + (4 * # unexpired balls currently in Station) }

T expire is the time at which the penalty is applied.

So, you put a ball in at 15 seconds left. Texpire = Tnow-{11+4*unexpired)}

Tnow is 15. We will assume an empty alliance station (unexpired = 0).

Texpire = 15-(11+4*0)=15-11=4.

They have until the timer reads 4 seconds left to put the ball back out.

For reference, the DOGMA document on the FRC website will help understand the algorithm. It is at http://usfirst.org/uploadedFiles/Com...sets/DOGMA.pdf
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #4   Spotlight this post!  
Unread 09-01-2010, 19:22
Passion Passion is offline
Jim Zhou
FRC #2198
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Toronto, Canada
Posts: 29
Passion has a spectacular aura aboutPassion has a spectacular aura aboutPassion has a spectacular aura about
Re: G17 Algorithm

Quote:
Originally Posted by EricH View Post
Incorrect.

T expire (x) = T now – { 11 + (4 * # unexpired balls currently in Station) }

T expire is the time at which the penalty is applied.

So, you put a ball in at 15 seconds left. Texpire = Tnow-{11+4*unexpired)}

Tnow is 15. We will assume an empty alliance station (unexpired = 0).

Texpire = 15-(11+4*0)=15-11=4.

They have until the timer reads 4 seconds left to put the ball back out.

For reference, the DOGMA document on the FRC website will help understand the algorithm. It is at http://usfirst.org/uploadedFiles/Com...sets/DOGMA.pdf
So the unexpired balls is any balls in the station prior to the incoming ball?
In this case, the unexpired balls would be 0, because you are assuming that there aren't any balls in the station until the ball rolls into the station.
  #5   Spotlight this post!  
Unread 09-01-2010, 19:28
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,825
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: G17 Algorithm

Quote:
Originally Posted by Passion View Post
So the unexpired balls is any balls in the station prior to the incoming ball?
In this case, the unexpired balls would be 0, because you are assuming that there aren't any balls in the station until the ball rolls into the station.
Exactly.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #6   Spotlight this post!  
Unread 11-01-2010, 10:30
johnr johnr is offline
Registered User
FRC #0910
 
Join Date: Jan 2007
Location: michigan
Posts: 567
johnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond repute
Re: G17 Algorithm

What happens if a ball is scored at 1 second? Is there some point were the system stops? I'm guessing that any ball scored after 11 seconds wouldn't need to be put back into play. Please don't show me any formulas, i'm just a dumb parent that can't figure this out.

Last edited by johnr : 11-01-2010 at 10:32.
  #7   Spotlight this post!  
Unread 11-01-2010, 10:43
T3_1565 T3_1565 is offline
Registered User
AKA: Twitch Drive Designer
FRC #1360
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Burlington, Ontario
Posts: 855
T3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant future
Send a message via MSN to T3_1565
Re: G17 Algorithm

no. Once you get down to 11 seconds you would have until 0 secs to get the ball back... and once 0 seconds is hit, you cannot receive a penalty. Therefore, the ball doesn't have to be returned.
  #8   Spotlight this post!  
Unread 11-01-2010, 14:36
GaryVoshol's Avatar
GaryVoshol GaryVoshol is offline
Cogito ergo arbitro
no team
 
Join Date: Aug 2005
Rookie Year: 2000
Location: Royal Oak, MI
Posts: 5,762
GaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond reputeGaryVoshol has a reputation beyond repute
Re: G17 Algorithm

Quote:
Originally Posted by T3_1565 View Post
no. Once you get down to 11 seconds you would have until 0 secs to get the ball back... and once 0 seconds is hit, you cannot receive a penalty. Therefore, the ball doesn't have to be returned.
That's a logical conclusion, but it should be verified with Q&A.
__________________
(since 2004)
  #9   Spotlight this post!  
Unread 11-01-2010, 20:31
karatekid's Avatar
karatekid karatekid is offline
Registered User
AKA: Cole
FRC #0662 (Rocky Mountain Robotics)
Team Role: Programmer
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Colorado Springs, Colorado
Posts: 120
karatekid has a spectacular aura aboutkaratekid has a spectacular aura aboutkaratekid has a spectacular aura about
Re: G17 Algorithm

Ok, but this is getting pretty annoying. It seems like there's about 5 threads all about G17. PLEASE look at other threads before starting a new one and add on to the other if it's related.
__________________
YOU JUST LOST THE GAME!
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
Possible Discrepency - G17 AlexD744 Rules/Strategy 14 10-01-2010 22:57
Update 4.3.4.3 <g17> Dominicano0519 Rules/Strategy 3 12-03-2006 12:01
AEC Algorithm cprogrammer Programming 4 03-10-2005 19:03
Panning algorithm jgannon Programming 6 08-03-2005 16:19
Warnock´s Algorithm sutto Computer Graphics 2 24-05-2004 14:05


All times are GMT -5. The time now is 04:57.

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