Go to Post Is it bad when are you just sitting at home wishing KICKOFF was here. - JulieB [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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 15-08-2013, 01:09
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,925
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Thread created automatically to discuss a document in CD-Media.

py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists by Basel A

This actual file didn't attach (created new, "empty" papers instead). Not sure what the problem is, but in the meantime, you can download the executable from this link: http://www.filedropper.com/py4frc. It's about 20MB.

This is really simple. The app loops, asking two questions each time.

What do you want? - There's four options: opr, all oprs (includes sub-oprs), standings/rankings, and team list.

What event? - You can answer with any event code or (this is the fun part) any common name for an event. MSC, SVR, GTRE, Chestnut Hill, Kettering. I might be missing some, but I think I've got all the common ones. Let me know if you have any I missed.

It'll then print out what you want! In general, don't worry about capitalisation or most punctuation. I tried to make it as simple as possible.

There might be a bug or two. If you have any suggestions, feel free to send me a PM.

Last edited by Basel A : 15-08-2013 at 02:34.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-08-2013, 01:15
Woolly's Avatar
Woolly Woolly is offline
Programming Mentor
AKA: Dillon Woollums
FRC #1806 (S.W.A.T.)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Springfield, MO
Posts: 512
Woolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

It seems like there are quite a few glitches with all oprs. Weird numbers are coming up such as team 610 being shown to have a -82.44 teleop OPR and a 95.25 climb opr for Galileo, Team 2512 is showing a -14360.13 Auto OPR, 10330.71 Teleop OPR, and 4104.21 Climb OPR.
They all add up to the base OPR, but there is definitely an issues with the breakout, and it isn't limited to Galileo, Kansas City has the same issues.
__________________


Team 1806 Student: 2012-2013 | Mentor: 2013-Present
Reply With Quote
  #3   Spotlight this post!  
Unread 15-08-2013, 02:22
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,925
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Quote:
Originally Posted by Woolly View Post
It seems like there are quite a few glitches with all oprs. Weird numbers are coming up such as team 610 being shown to have a -82.44 teleop OPR and a 95.25 climb opr for Galileo, Team 2512 is showing a -14360.13 Auto OPR, 10330.71 Teleop OPR, and 4104.21 Climb OPR.
They all add up to the base OPR, but there is definitely an issues with the breakout, and it isn't limited to Galileo, Kansas City has the same issues.
Well, that's embarrassing
Fortunately it was just one bug and not a difficult fix. Re-uploaded the file and it should work properly now.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
Reply With Quote
  #4   Spotlight this post!  
Unread 15-08-2013, 09:21
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Usually CD Media freaks out when files are ~10mb or more. I usually have to go through and delete log and build files to get it to upload properly for code releases (which are ~9mb code only). This is probably your issue.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #5   Spotlight this post!  
Unread 15-08-2013, 16:39
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Quote:
Originally Posted by Basel A View Post
Well, that's embarrassing
Fortunately it was just one bug and not a difficult fix. Re-uploaded the file and it should work properly now.
Basel,

Did you check your sub-OPR numbers with my new ones? Do they all match?
__________________
Please don't call me Mr. Ed, I am not a talking horse.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-08-2013, 19:01
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,925
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

Quote:
Originally Posted by Ed Law View Post
Basel,

Did you check your sub-OPR numbers with my new ones? Do they all match?
That's actually exactly what I checked with. I checked a couple events and they were the same. The bug I had to fix was a team list sort problem; the shift was implemented correctly but was shifting the wrong sub-oprs to the right total oprs.

Palardy, thanks. That's probably the issue then. I'll have to see if I can condense the file somehow (or find a less sketchy depository than I'm currently using).
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
Reply With Quote
  #7   Spotlight this post!  
Unread 26-02-2014, 22:59
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,925
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

This has been updated for 2014 and will work live. Here's the file: http://goo.gl/89CZmp (warning: it's a 20 MB exe, it's not a virus). Calculates 4 OPRs: Auton, Assist, T&C, Foul. While total OPR probably won't be very effective, I expect Auton and T&C OPRs will be meaningful. It's difficult to test effectively, but I think I've worked out all the bugs. Let me know (PM, @BaselThe2nd, where ever) if you have any problems. It's still too large to upload to CD, but the link in the description will work, permanently. I'll be at home during Week 1 events to make any fixes that may be necessary.

The Python source code is available on GitHub. Feel free to use it as a module. I'm working on a larger project that takes the information available here, adds in a few nice features, and displays it all in a friendly format. Until I can release that, I'm simply making this available.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli

Last edited by Basel A : 27-02-2014 at 06:23.
Reply With Quote
  #8   Spotlight this post!  
Unread 28-02-2014, 13:07
Basel A's Avatar
Basel A Basel A is offline
It's pronounced Basl with a soft s
AKA: @BaselThe2nd
FRC #3322 (Eagle Imperium)
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Ann Arbor, Michigan
Posts: 1,925
Basel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond reputeBasel A has a reputation beyond repute
Re: paper: py4frc - Intuitive Desktop App for OPR, Standings, and Teamlists

New version (now with fewer bugs!) posted in the description. Couldn't edit the previous post.
__________________
Team 2337 | 2009-2012 | Student
Team 3322 | 2014-Present | College Student
“Be excellent in everything you do and the results will just happen.”
-Paul Copioli
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


All times are GMT -5. The time now is 10:07.

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