View Single Post
  #1   Spotlight this post!  
Unread 27-02-2009, 17:09
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
Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

5:42 EST (v2): Updated with more DLLs in the binary zip which will hopefully allow it to work.
6:27 EST (v3): Updated with sorting and a reduction in verbosity.

I've spent a bit of time recently cleaning up my offensive power rating code and adding a few new features that I felt would be useful this year. The application is attached, as is the source code.

Features:
1) Automatically downloads current results from usfirst.org, parses them, and outputs the results, with only 3 parameters from the user (which regional, which year, and which statistic you want)
2) Three statistics: Offensive Power Rating, Defensive Power Rating, and Estimated +/-. The +/- is simply the OPR minus the DPR. It may or may not actually be useful (or correct!).
3) Easy to use, by my standards. Just double click, enter the parameters it asks for, and it'll download match results itself. Can also be run from a script with command-line parameters for people that want their statistics automated.
4) The parsing code is written so it can be used before a regional is complete. Obviously this reduces the accuracy of the outputted stats, and it doesn't even work before each team has played 2-3 matches. But this can be useful for the friday-evening scouting meeting to pick out diamonds in the rough.

Disclaimers:
1) There are people that don't believe OPR will be useful this year. I disagree with them, but keep that in mind.
2) OPR does not indicate just a robot's performance, but a whole team's performance. If a team has a weak robot but a stellar human player, they might still have a high OPR.
3) Having a high OPR in this game means very little without also having a low DPR. If you score 80 points in a match but always give away 100, you are not useful to your alliance.
4) I don't know how accurate the +/- stuff is, it is a result of me playing around. Hopefully some teams out at regionals right now can compare with their scouting data and give feedback.


Interpretations:
A high OPR might indicate:
-A robot that is very effective at getting balls into enemy trailers
-A HP that is very effective at getting balls into enemy trailers
-A robot that does the grunt-work at supplying empty cells so that its alliance can always score a couple super-cells
-Any robot that just 'greases the wheels' of its alliance, resulting in higher scores

A low OPR (yes, it can even be negative) might indicate:
-An otherwise good robot that takes a lot of penalties
-A robot that simply doesn't score much
-A robot impedes its alliance-partner's progress at scoring

A high DPR might indicate:
-No-shows or broken robots that spend whole matches with a stopped trailer, thus getting filled up
-Robots that tend to get into positions where they get scored on
-Robots that tend to get their alliance partners into positions where they get scored on
-Robots with no auto mode
-Generally, high DPR means low mobility. It is a robot that gets scored on a lot.

A low DPR might indicate:
-A mobile robot that can effectively keep its trailer out of trouble
-A lucky robot

Really, I should have called DPR something else, because a high DPR actually means you're very bad at defending your trailer.

Without further adieau, the attachments:
Attached Files
File Type: zip OPRNet Source.zip (9.3 KB, 488 views)
File Type: zip OPRNet - v3.zip (765.8 KB, 876 views)
File Type: zip OPRNet Source v3.zip (9.5 KB, 335 views)

Last edited by Bongle : 27-02-2009 at 20:59.
Reply With Quote