View Single Post
  #248   Spotlight this post!  
Unread 06-03-2012, 11:35
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,387
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
Ah, I must have messed up my project settings. I changed its directory on my computer so I could get it in source control, and I must have forgotten to move something else or change a setting.

Edit: Whoops, I'm so used to developing on VS2008 I forgot I've moved to 2010 at home. Ok, so you need these runtimes: http://www.microsoft.com/download/en...s.aspx?id=5555
Quote:
Originally Posted by dodar View Post
It says i cant run because im missing the MSVCP100.dll and I cant find that .dll
Dodar,
First, follow the link in Bongle's message above and add the Visual 2010 runtimes. Then download and run his v.20 and you should find it works again.

Quote:
Originally Posted by Bongle View Post
Here's the bat file I used for the week 1 regionals:
Code:
oprnet gg 2012 bridge r q > allopr-bridge.txt
oprnet stx 2012 bridge r q >> allopr-bridge.txt
oprnet sdc 2012 bridge r q >> allopr-bridge.txt
oprnet nh 2012 bridge r q >> allopr-bridge.txt
oprnet kc 2012 bridge r q >> allopr-bridge.txt
oprnet tn 2012 bridge r q >> allopr-bridge.txt
oprnet migl 2012 bridge r q >> allopr-bridge.txt
oprnet pah 2012 bridge r q >> allopr-bridge.txt

oprnet gg 2012 teleop r q > allopr-teleop.txt
oprnet stx 2012 teleop r q >> allopr-teleop.txt
oprnet sdc 2012 teleop r q >> allopr-teleop.txt
oprnet nh 2012 teleop r q >> allopr-teleop.txt
oprnet kc 2012 teleop r q >> allopr-teleop.txt
oprnet tn 2012 teleop r q >> allopr-teleop.txt
oprnet migl 2012 teleop r q >> allopr-teleop.txt
oprnet pah 2012 teleop r q >> allopr-teleop.txt

oprnet gg 2012 hybrid r q > allopr-hybrid.txt
oprnet stx 2012 hybrid r q >> allopr-hybrid.txt
oprnet sdc 2012 hybrid r q >> allopr-hybrid.txt
oprnet nh 2012 hybrid r q >> allopr-hybrid.txt
oprnet kc 2012 hybrid r q >> allopr-hybrid.txt
oprnet tn 2012 hybrid r q >> allopr-hybrid.txt
oprnet migl 2012 hybrid r q >> allopr-hybrid.txt
oprnet pah 2012 hybrid r q >> allopr-hybrid.txt
Let's take one line:
"oprnet nh 2012 hybrid r q >> allopr-hybrid.txt"

Broken down:
oprnet - you need this part to start the program
nh - indicates you care about the new hampshire regional
2012 - indicates you want results for 2012
hybrid - indicates the statistic you want to print (other options for 2012: opr, teleop, hybrid, bridge)
r - sort teams by ranking (as opposed to 't', which sorts them by team number)
q - quiet mode: makes it not print out status data. Also changes the output format so it's easier to copy/paste into excel. If you want loud mode from the command line for whatever reason, just omit the q.
>> - tells DOS to append all output from oprnet to a text file. The single greater-than ('>') tells it to clear out the file and start over.
allopr-hybrid.txt - which file you want to output to.

The q is optional, and the ">> blah.txt", being a DOS command, is also optional. If you don't have the ">> blah.txt", it'll just spit to your command-line window.

Note that because I'm lazy and because I doubt there's that much use nowadays of the more esoteric parameters like SAA, PM, or DPR, I don't really support them and if the app crashes when you try to use one, I am not that bothered. In 2013, I'm likely to not care very much if the bridge/teleop/hybrid feature gets broken as well.
Bongle,
As always, you have exceeded my expectations. Thanks for getting exactly what I am looking for spelled out so quickly!!
__________________
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