Go to Post No, we will not call you a "stupid freshman", we attribute your hasty remark due to lack of expirence, but you will gain that in time. - Mr. Ivey [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
  #256   Spotlight this post!  
Unread 07-03-2012, 19:20
RogerR's Avatar
RogerR RogerR is offline
its spelled *ya'll*, not *y'all*
AKA: Roger Riquelme
FRC #3844 (Wildbots)
Team Role: Teacher
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Somerset, KY
Posts: 913
RogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond repute
Send a message via AIM to RogerR Send a message via MSN to RogerR
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Bongle View Post
If you rename the temporary files to .html and try to view them in a browser, they should just be the FIRST results pages. If they aren't, or they look stylistically different than this one, then the parser that extracts the scores might be having trouble.


I believe that's the technique the matrix solving library I use (JAMA) uses. I don't know too many details about it.
Sorry, should have specified.

It doesn't ever return any results. After a second of thinking, it just shuts down, though I did notice it creating those two temp files.
__________________
"But to say that the race is a metaphor for life is to miss the point. The race is everything. It obliterates whatever isn't racing. Life is a metaphor for the race." -- Donald Antrim
Reply With Quote
  #257   Spotlight this post!  
Unread 07-03-2012, 19:48
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 RogerR View Post
Sorry, should have specified.

It doesn't ever return any results. After a second of thinking, it just shuts down, though I did notice it creating those two temp files.
Here's v21: The only new feature is that it won't instantly shut down when it has an error. This should help debug your problem. If you run the current one from a command line that'd help too.
Attached Files
File Type: zip OPRNet - v21.zip (41.8 KB, 40 views)
Reply With Quote
  #258   Spotlight this post!  
Unread 07-03-2012, 21:29
BlacksmithWoods's Avatar
BlacksmithWoods BlacksmithWoods is offline
Mechanics / CAD
AKA: Brendan Woods
FRC #0806 (The Brooklyn Blacksmiths)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Brooklyn, New York
Posts: 67
BlacksmithWoods is on a distinguished road
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

What does this mean? I keep getting:

Code:
 Failure to download results. Code -2147024809
Thanks!

Edit: Is this because I'm using v21 and I'm checking years prior to 2012?
__________________
2002 - Present FRC (806)

Keeping It Stupidly Simple since 2002
"You are done with designing something, not when there's nothing more to add, but when there's nothing left to remove." - EricH
NYC FRC STLA (2011- 2014) Practice Field / Alumni Relations

Last edited by BlacksmithWoods : 07-03-2012 at 21:33.
Reply With Quote
  #259   Spotlight this post!  
Unread 07-03-2012, 22:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,104
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther 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
I believe that's the technique the matrix solving library I use (JAMA) uses. I don't know too many details about it.
For coefficient matrices associated with processing data from single events one at a time (even large events), LU is probably fine. But if you ever want to do computations for, say, an entire year's worth of data in one matrix (simultaneous solution using data from all events in the year), you might want to consider using Cholesky instead. It's twice as fast. The JAMA library you are using supports Cholesky.


Reply With Quote
  #260   Spotlight this post!  
Unread 08-03-2012, 06:43
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

v22 - should fix the problems with downloading past-years results.

Ether, thanks for the tip.
Attached Files
File Type: zip OPRNet - v22.zip (41.8 KB, 63 views)
Reply With Quote
  #261   Spotlight this post!  
Unread 08-03-2012, 09:27
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,712
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Bongle, in the post-season I may assist you with some refactoring if you'd like. Extension of legacy code well after its expected end of life cycle is what I do best at work. Do you have the code up on a repository?
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote
  #262   Spotlight this post!  
Unread 08-03-2012, 09:38
Clinton Bolinger's Avatar
Clinton Bolinger Clinton Bolinger is offline
FF - PureMichigan
FRC #2337 (EngiNERDs)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 2001
Location: Grand Blanc, MI
Posts: 476
Clinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger has a reputation beyond reputeClinton Bolinger 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
Here's v20. I made it so the overall OPR is also given the coopertition adjustment (coopertition points * 5, assuming that CPs are points you could have gotten if your alliance assigned you to a different bridge), and did a clean-and-build to attempt to fix the 0xc000007b errors people are getting.
Why wouldn't we want to have the Coopertition Points to time 10 instead of 5?

The Coop Bridge is the same maneuver as a 2-bot balance which is equal to 20 points. Also for bridge OPR I would use the BP + (CP*10) = Total Bridge Points.

This will assist team that are looking for good Bridge balancers.

-Clinton-
__________________
Reply With Quote
  #263   Spotlight this post!  
Unread 08-03-2012, 10:44
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 Clinton Bolinger View Post
Why wouldn't we want to have the Coopertition Points to time 10 instead of 5?

-Clinton-
But CPs are handed out to both alliances and require both alliances to participate.

2-bot balance = 20 points granted to the 3-robot alliance that scored it = 60 robot-points.

co-op balance = 2 CPs granted to all 6 robots on the field = 12 robot-CPs. If we want it to be equivalent, then I think we should say it was 5 fake points per CP.

I could take the adjustment out entirely and make a 4th stat that just shows how many CPs a team is expected to achieve, then teams could apply their own adjustment if they felt like it.

Quote:
Bongle, in the post-season I may assist you with some refactoring if you'd like. Extension of legacy code well after its expected end of life cycle is what I do best at work. Do you have the code up on a repository?
I've got it on a local perforce server in my house, but nowhere else other than my intermittent source posts on CD. Since I'm unlikely to touch the code at all post-CMP, you could take the last source post I make, make the changes, then post it back on CD (or set up an actual repository).
Reply With Quote
  #264   Spotlight this post!  
Unread 08-03-2012, 10:50
RogerR's Avatar
RogerR RogerR is offline
its spelled *ya'll*, not *y'all*
AKA: Roger Riquelme
FRC #3844 (Wildbots)
Team Role: Teacher
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Somerset, KY
Posts: 913
RogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond reputeRogerR has a reputation beyond repute
Send a message via AIM to RogerR Send a message via MSN to RogerR
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Bongle View Post
v22 - should fix the problems with downloading past-years results.

Ether, thanks for the tip.
I'm getting a message that says it can't download the results; does that have something to do with the firewall here at the school where I teach?
__________________
"But to say that the race is a metaphor for life is to miss the point. The race is everything. It obliterates whatever isn't racing. Life is a metaphor for the race." -- Donald Antrim
Reply With Quote
  #265   Spotlight this post!  
Unread 08-03-2012, 10:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,104
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by RogerR View Post
I'm getting a message that says it can't download the results; does that have something to do with the firewall here at the school where I teach?
Click on the link in this post:

http://www.chiefdelphi.com/forums/sh...&postcount=255

... and see if you have permission to download the data.


Reply With Quote
  #266   Spotlight this post!  
Unread 11-03-2012, 20:06
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Quote:
Originally Posted by Ether View Post
Click on the link in this post:

http://www.chiefdelphi.com/forums/sh...&postcount=255

... and see if you have permission to download the data.


I'm getting the same message, saying that I can not download the results. I tried clicking on the link in that post and it worked fine. Any other suggestions? If it helps the error code is: -2147024891, and I am using v22.
__________________
www.sharkattack744.com
Reply With Quote
  #267   Spotlight this post!  
Unread 11-03-2012, 20:11
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 AlexD744 View Post
I'm getting the same message, saying that I can not download the results. I tried clicking on the link in that post and it worked fine. Any other suggestions? If it helps the error code is: -2147024891, and I am using v22.
I actually had a similar problem earlier today - are you trying to run it from inside the zip file? I found that windows wouldn't permit the temporary file to be created if you ran it inside the zip file. Try copying OPRNet.exe to your desktop or something, then running it.
Reply With Quote
  #268   Spotlight this post!  
Unread 11-03-2012, 20:13
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 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
I actually had a similar problem earlier today - are you trying to run it from inside the zip file? I found that windows wouldn't permit the temporary file to be created if you ran it inside the zip file. Try copying OPRNet.exe to your desktop or something, then running it.
Works perfectly now, thank you!
__________________
www.sharkattack744.com
Reply With Quote
  #269   Spotlight this post!  
Unread 11-03-2012, 20:23
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

Excellent, I confirmed it as well. Here's v23, which downloads to your windows temp folder (as reported by GetTempPath()) rather than the local folder. It also cleans up after itself when it is done, which the old version did not.

Last edited by Bongle : 11-03-2012 at 22:05.
Reply With Quote
  #270   Spotlight this post!  
Unread 11-03-2012, 21:34
dodar's Avatar
dodar dodar is offline
Registered User
FRC #1592 (Bionic Tigers)
Team Role: Alumni
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Cocoa, Florida
Posts: 2,928
dodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond reputedodar has a reputation beyond repute
Re: Easy to use Offensive Power Rankings (OPR) program for mid-regional scouting

Its saying that the file is invalid or corrupted.
__________________
1592(Student and Mentor) 2007-Present

Blue Banners: 2008 Colorado, 2012 Orlando, 2012 South Florida, 2014 Orlando, 2015 Buckeye

Mechanical Engineering - University of Central Florida(Class of 2016)
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 23:12.

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