Go to Post They're just dots. You can get them back. - Brandon Martus [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-10-2008, 15:38
Rick's Avatar
Rick Rick is offline
Ready to STRIKE!
AKA: Rick Blight
FRC #0078 (AIR STRIKE)
Team Role: Coach
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Tiverton, RI, USA
Posts: 634
Rick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond repute
Cool FIRST Ranking Software

Has anyone duplicated in excel or other database program, the way FIRST ranks teams during competition? With full QP and RP support? A search returned nothing. I am looking for a way to dynamically rank in the stands and to also simulate "what if" situations for various teams during competition. Any help would be greatly appreciated.
__________________
Like Aquidneck Island Robotics on Facebook!
Reply With Quote
  #2   Spotlight this post!  
Unread 14-10-2008, 17:09
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: FIRST Ranking Software

If you know some excel, creating a program where you simply put in the info about matches (team numbers, scores) and it would tally QP and RP then sort them, wouldn't be too difficult.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-10-2008, 17:16
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: FIRST Ranking Software

I did something similar years ago. Check it out: http://www.chiefdelphi.com/media/papers/1603

Modify it, cannibalize it, I don't really care.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-10-2008, 18:08
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,720
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: FIRST Ranking Software

I'm with Adam. It took me about an hour, and half of that was trying to cram 3 "if" statements into one formula. (I gave up and put them in three.)

A little more time and knowhow,and I'd have a fully-functioning one, complete with interface to make things automatic (which I currently don't know how to do, hence the "more knowhow"). Right now, you'd need a lot of sheets.

If anyone wants it, email me.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

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

Reply With Quote
  #5   Spotlight this post!  
Unread 14-10-2008, 18:11
Scott L.'s Avatar
Scott L. Scott L. is offline
Registered User
FRC #0222 (Tigertrons)
Team Role: Engineer
 
Join Date: Sep 2003
Rookie Year: 1998
Location: Tunkhannock PA
Posts: 290
Scott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really nice
Send a message via AIM to Scott L.
Talking Re: FIRST Ranking Software

I believe I am very close to getting a system working in SQL to do rankings. I f anyone knows how to find the minimum score between two colums it would be done.
__________________
You can do anything, if you put your mind to it!!!
http://asp.shinraikon.com
Reply With Quote
  #6   Spotlight this post!  
Unread 14-10-2008, 18:34
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: FIRST Ranking Software

Why don't you just find the minimum of each column individually, then compare the results?
Reply With Quote
  #7   Spotlight this post!  
Unread 14-10-2008, 19:31
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: FIRST Ranking Software

Here's a few:

http://www.chiefdelphi.com/media/papers/1513
http://www.chiefdelphi.com/media/papers/1656
http://www.chiefdelphi.com/media/papers/1661
Reply With Quote
  #8   Spotlight this post!  
Unread 15-10-2008, 00:28
Scott L.'s Avatar
Scott L. Scott L. is offline
Registered User
FRC #0222 (Tigertrons)
Team Role: Engineer
 
Join Date: Sep 2003
Rookie Year: 1998
Location: Tunkhannock PA
Posts: 290
Scott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really nice
Send a message via AIM to Scott L.
Talking Re: FIRST Ranking Software

I got my database(SQL) working, might organize wrong, but thats easily fixed by changing the order in which the 'Order By' statement is formed.
__________________
You can do anything, if you put your mind to it!!!
http://asp.shinraikon.com
Reply With Quote
  #9   Spotlight this post!  
Unread 15-10-2008, 08:59
Rick's Avatar
Rick Rick is offline
Ready to STRIKE!
AKA: Rick Blight
FRC #0078 (AIR STRIKE)
Team Role: Coach
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Tiverton, RI, USA
Posts: 634
Rick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond reputeRick has a reputation beyond repute
Re: FIRST Ranking Software

Thanks for the help everyone!
__________________
Like Aquidneck Island Robotics on Facebook!
Reply With Quote
  #10   Spotlight this post!  
Unread 15-10-2008, 20:37
ATannahill ATannahill is online now
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,242
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: FIRST Ranking Software

Scott, can I see a copy of it?
Reply With Quote
  #11   Spotlight this post!  
Unread 15-10-2008, 21:52
Scott L.'s Avatar
Scott L. Scott L. is offline
Registered User
FRC #0222 (Tigertrons)
Team Role: Engineer
 
Join Date: Sep 2003
Rookie Year: 1998
Location: Tunkhannock PA
Posts: 290
Scott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really nice
Send a message via AIM to Scott L.
Talking Re: FIRST Ranking Software

Quote:
Originally Posted by rtfgnow View Post
Scott, can I see a copy of it?
http://asp.shinraikon.com/duelvii/rank.aspx Here is the database in use.
__________________
You can do anything, if you put your mind to it!!!
http://asp.shinraikon.com
Reply With Quote
  #12   Spotlight this post!  
Unread 18-10-2008, 02:40
Nibbles Nibbles is offline
Interstellar Hitchhiker
AKA: Austin Wright
FRC #0498 (Cobra Commanders)
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Arizona
Posts: 103
Nibbles is just really niceNibbles is just really niceNibbles is just really niceNibbles is just really niceNibbles is just really nice
Re: FIRST Ranking Software

Five table SQL join. Fun. (Four is all you need, actually, and it would be six if I only knew $eventid but not $season) This database is structured such that a table can contain data for multiple seasons and events, $eventid and $season are substituted for the database-specific event ID and year, respectively. It what I use for my scouting program to update team rankings.

The IF function is specific to MySQL, any other database will need to replace it with a standard IF/ELSE or CASE statment.

Code:
SELECT
 t.teamnum,
 SUM(IF(a.score>o.score,1,0)) AS won,
 SUM(IF(a.score<o.score,1,0)) AS loss,
 SUM(IF(a.score=o.score,1,0)) AS tie,
 SUM(CASE
   WHEN a.score>o.score THEN 2
   WHEN a.score=o.score THEN 1
   WHEN a.score<o.score THEN 0
 END) AS qualify,
 SUM(CASE
   WHEN a.score>=o.score THEN a.points
   WHEN a.score<o.score THEN o.score
 END)/SUM(1) AS ranking,
 SUM(1) AS matches
FROM
 team t LEFT OUTER JOIN team_event u ON t.teamnum=u.teamnum,
 team_match m, alliance a, alliance o
WHERE m.surrogate=0 AND m.disqualified=0
 AND t.teamnum=m.teamnum
 AND a.matchid=m.matchid
 AND o.matchid=m.matchid
 AND a.alliance=m.alliance
 AND o.alliance!=m.alliance
 AND t.season=$season
 AND u.eventid=$eventid
 AND m.eventid=u.eventid
 AND a.eventid=u.eventid
 AND o.eventid=u.eventid
GROUP BY t.teamnum
__________________
Help standardize match data! Use the XML interchange format. (Specification page)
AAA_awright on Freenode IRC chat. (Join us at ##FRC on chat.freenode.net, or in your browser)
Reply With Quote
Reply


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
The FIRST Software Repository roboticsguy1988 Programming 0 30-03-2008 23:08
**FIRST EMAIL**/FIRST Announces PTC Collaboration Software Sponsorship! Mark McLeod FIRST E-Mail Blast Archive 29 19-12-2007 16:58
FIRST: Fwd: SolidWorks Software support for US First Teams chris31 FIRST E-Mail Blast Archive 8 24-04-2007 15:09
FIRST Software Repository - updated roboticsguy1988 Technical Discussion 0 04-11-2006 22:54


All times are GMT -5. The time now is 15:47.

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