Go to Post A Guru teaching batteries at Exide: "Do not draw your power from up here, by your terminals. You must reach down deep into your plates and pull the energy from your entire being! You must prove yourself worthy to be FIRST power cells!" - KenWittlief [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

 
View Poll Results: Was this useful?
Yes, it was! It helped point out diamonds in the rough 109 70.32%
No, its numbers generally did not correspond to robot's actual on-field performance 46 29.68%
Voters: 155. You may not vote on this poll

Reply
Thread Tools Rating: Thread Rating: 32 votes, 4.88 average. Display Modes
  #16   Spotlight this post!  
Unread 27-02-2009, 22:50
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

This is pretty cool. I'm debating whether or not to use this or the matrix system I spent the last couple weeks setting up. I guess depending on the delay, doing it by hand is probably faster though, even if it is a pain. Anyway, seems to work fine on my vista system, and I didn't have to compile it with the SDK or anything. One question, though. Is it supposed to close after you enter a command after it gives you the requested stats?
Reply With Quote
  #17   Spotlight this post!  
Unread 27-02-2009, 23:54
engunneer's Avatar
engunneer engunneer is online now
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 860
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

yes

you're supposed to run it from a terminal, so the window doesn't close.

if you run it from a command line, then you can give it the parameters all at once as well.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
Reply With Quote
  #18   Spotlight this post!  
Unread 28-02-2009, 06:38
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Zholl View Post
This is pretty cool. I'm debating whether or not to use this or the matrix system I spent the last couple weeks setting up. I guess depending on the delay, doing it by hand is probably faster though, even if it is a pain. Anyway, seems to work fine on my vista system, and I didn't have to compile it with the SDK or anything. One question, though. Is it supposed to close after you enter a command after it gives you the requested stats?
I wanted it to pause at the end if the user double-clicked on it. I couldn't remember the "press any key to continue" API call, so I did it in the poor man's way:
if(!fRunWithoutCommandLineParameters)
{
int a;
cin>>a;
}
Reply With Quote
  #19   Spotlight this post!  
Unread 28-02-2009, 19:04
DMetalKong's Avatar
DMetalKong DMetalKong is offline
Registered User
AKA: David K.
no team
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Bridgewater
Posts: 144
DMetalKong is a jewel in the roughDMetalKong is a jewel in the roughDMetalKong is a jewel in the rough
Send a message via AIM to DMetalKong
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

My friend and I were talking, and if you use the match points from the opposing alliance in the calculation, you can find the approximate number of points scored ON a robot during matches. Could be useful this year.
Reply With Quote
  #20   Spotlight this post!  
Unread 28-02-2009, 19:05
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by DMetalKong View Post
My friend and I were talking, and if you use the match points from the opposing alliance in the calculation, you can find the approximate number of points scored ON a robot during matches. Could be useful this year.
That's the DPR calculation. It can be phrased as "DPR is the average number of points that a team's presence adds to its opponent's score." aka, DPR is the average number of points scored in a robots trailer. It should be lower for highly mobile robots, and very high for no-shows or robots whose strategies or drivetrain tend to get them scored on.
Reply With Quote
  #21   Spotlight this post!  
Unread 01-03-2009, 06:11
Samuel H. Samuel H. is offline
Registered User
no team
 
Join Date: Dec 2005
Rookie Year: 1000
Location: World
Posts: 40
Samuel H. has a spectacular aura aboutSamuel H. has a spectacular aura about
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Hello,

Using v3 worked for me earlier, but I now have a new problem. Running
Quote:
OPRNet.exe kc 2009 opr
downloads the match data, but fails when parsing with the error:

Quote:
Parsing!
No matches found. This regional may not have run yet, or may have HTML output that the parser does not recognize.
Failure to parse XML. Code: -2147467259
I've attached temp.tmp

Thank you,
- Sam
Attached Files
File Type: txt temp.tmp.txt (33.6 KB, 69 views)
__________________
Team 931 Alumni
Freshman
South Dakota School of Mines and Technology
Reply With Quote
  #22   Spotlight this post!  
Unread 01-03-2009, 09:55
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Samuel H. View Post
Hello,

Using v3 worked for me earlier, but I now have a new problem. Running downloads the match data, but fails when parsing with the error:



I've attached temp.tmp

Thank you,
- Sam
Hmmm... the temp.tmp (which is simply the match results HTML page) simply doesn't have any match data. If you look at the KC results page, you can see that the qualifying matches are no longer up. This looks like a FIRST problem.

Thanks for the bug report though!
Reply With Quote
  #23   Spotlight this post!  
Unread 01-03-2009, 11:16
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,359
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

I'm currently "evaluating" this app for it's effectiveness with some very positive findings. The one thing that I would really like to do is to "export" the output into an Excel spreadsheet for ease of viewing offline. If I am not mistaken, the results are only sent to the screen. Is there a way to have them go to a ".csv" file, or some other format that can easily be opened in Excel?
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #24   Spotlight this post!  
Unread 01-03-2009, 12:08
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by billbo911 View Post
I'm currently "evaluating" this app for it's effectiveness with some very positive findings. The one thing that I would really like to do is to "export" the output into an Excel spreadsheet for ease of viewing offline. If I am not mistaken, the results are only sent to the screen. Is there a way to have them go to a ".csv" file, or some other format that can easily be opened in Excel?
In a command line:
Code:
oprnet (regional code) (year) (stat) > blah.csv
This uses the DOS redirect operator to send it to a text file. The stats are are tab-seperated so that you should be able to copy/paste it into excel and have all the cells line up properly.
Reply With Quote
  #25   Spotlight this post!  
Unread 01-03-2009, 12:14
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,359
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Bongle View Post
In a command line:
Code:
oprnet (regional code) (year) (stat) > blah.csv
This uses the DOS redirect operator to send it to a text file. The stats are are tab-seperated so that you should be able to copy/paste it into excel and have all the cells line up properly.
Yep, that'll do it!! (Good ol' DOS, it still has some life left in it )

By the way. I am currently running this on a Vista x64, quad core system with 8GB of ram. It absolutely rips! No mods were needed what so ever to get this running. THX!!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #26   Spotlight this post!  
Unread 01-03-2009, 12:55
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by billbo911 View Post
Yep, that'll do it!! (Good ol' DOS, it still has some life left in it )

By the way. I am currently running this on a Vista x64, quad core system with 8GB of ram. It absolutely rips! No mods were needed what so ever to get this running. THX!!
Well, it's only solving a TeamCount x TeamCount matrix. Crazier stuff I've done in the past was post-season analysis involving every single team (1300x1300 matrix, or so), and that ends up taking a long time.

Also, v4 is done.

Changes:
-DPR is now called SAA for 'scores against average' to make its name more line up with its values
-You can now choose to sort by team. Command-line looks like this:
Code:
oprnet il 2009 opr t
. If you don't want to sort by team, just put an 'r' there, or leave the parameter off entirely.
-Command-line users can now append a 'q' to completely suppress all non-error messages. For example, this:
Code:
oprnet il 2009 opr r q
will only print out the OPR values (or errors if there were any)
-Sorting for SAA/DPR is now reversed, so that the 'best' values come first.
Attached Files
File Type: zip OPRNet - v4.zip (21.3 KB, 76 views)
File Type: zip OprDpr Source v4.zip (8.7 KB, 46 views)
Reply With Quote
  #27   Spotlight this post!  
Unread 01-03-2009, 18:37
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

This just keeps getting better and better.

It looks like the SAA/DPR still sorts with the highest number on top (which ismost points scored against, right?)
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #28   Spotlight this post!  
Unread 01-03-2009, 19:26
Michael Corsetto's Avatar
Michael Corsetto Michael Corsetto is offline
Breathe in... Breathe out...
FRC #1678 (Citrus Circuits)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2002
Location: Davis, CA
Posts: 1,130
Michael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

I'm running on a mac, is there any way that someone could run the app with the numbers from this week's regionals, export to Excel, and post the results on CD? I loved the OPR last year and it was very useful IMO. Thanks Bongle for making it even better this year!
__________________
Team 1678: Citrus Circuits - Lead Technical Mentor, Drive Coach **Like Us On Facebook!**
Reply With Quote
  #29   Spotlight this post!  
Unread 01-03-2009, 19:31
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Michael Corsetto View Post
I'm running on a mac, is there any way that someone could run the app with the numbers from this week's regionals, export to Excel, and post the results on CD? I loved the OPR last year and it was very useful IMO. Thanks Bongle for making it even better this year!
Match results seem to have disappeared for a number of events. I'll try and remember to check over the next few days and do this when the results reappear.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #30   Spotlight this post!  
Unread 01-03-2009, 20:13
engunneer's Avatar
engunneer engunneer is online now
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 860
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Here are OPR for the events that do have match results posted; a zip file of Team, OPR, SAA, and +/- (tab delimited for easy excel import).

each event is a separate text file.

I wrote a script that will generate these txt files on the fly in autohotkey. I can post (more or less uncommented) code if anyone wants.

This was made using v4 of OPRNet (yay for the new 'quiet' feature.)
Attached Files
File Type: zip DC IL NJ OK OPRdata.zip (3.8 KB, 96 views)
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
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
Offensive Power Ranking Calculations Greg Marra General Forum 4 18-03-2009 22:03
Offensive Power Rankings for 2008 Bongle General Forum 166 18-05-2008 15:05
Offensive+Defensive Power Rankings BornaE General Forum 4 05-04-2008 01:33
2006 Offensive Power Ratings sw293 General Forum 16 10-05-2006 17:04
(CURIE) Let's make this Easy for all of us. [scouting] 157#1Driver Championship Event 13 22-04-2002 08:56


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

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