Go to Post I'm sure there aren't a bunch of rule makers sitting in a board room discussing "What rule can we change now to mess with the teams' heads?" Lets all just sit back and enjoy the regionals! - Rick [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 28-04-2016, 16:38
FlamingSpork FlamingSpork is offline
Eating Utensil
FRC #3003 (Tan[X])
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Canandaigua, NY
Posts: 63
FlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really nice
Blue Alliance API OPR

Does the Blue Alliance API provide teams' OPR values, or will I need to calculate them myself?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 28-04-2016, 16:39
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Blue Alliance API OPR

It appears to be provided. See event stats.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
Reply With Quote
  #3   Spotlight this post!  
Unread 28-04-2016, 16:39
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Blue Alliance API OPR

It's all there for you!

Take a look at the "Event Stats Request" section of http://www.thebluealliance.com/apidocs
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #4   Spotlight this post!  
Unread 28-04-2016, 16:50
Eric Scheuing's Avatar
Eric Scheuing Eric Scheuing is online now
Registered User
FRC #0999 (MechaRAMS)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Cheshire, CT
Posts: 385
Eric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud of
Re: Blue Alliance API OPR

It appears to be a little funky on Archimedes at least. Earlier it was listing my team's OPR as 115.something.
__________________




2005-2007: Bobcat Robotics 177
2015-20XX: MechaRAMS 999
Reply With Quote
  #5   Spotlight this post!  
Unread 28-04-2016, 16:59
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,377
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Blue Alliance API OPR

Quote:
Originally Posted by Eric Scheuing View Post
It appears to be a little funky on Archimedes at least. Earlier it was listing my team's OPR as 115.something.
You generally need to play at least 6 matches before OPR has any meaning. Before then it is a garbage value.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
Reply With Quote
  #6   Spotlight this post!  
Unread 28-04-2016, 17:10
FlamingSpork FlamingSpork is offline
Eating Utensil
FRC #3003 (Tan[X])
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Canandaigua, NY
Posts: 63
FlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really niceFlamingSpork is just really nice
Re: Blue Alliance API OPR

Quote:
Originally Posted by plnyyanks View Post
It's all there for you!
Thanks! I should have looked harder.
Reply With Quote
  #7   Spotlight this post!  
Unread 28-04-2016, 17:27
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,924
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: Blue Alliance API OPR

Quote:
Originally Posted by efoote868 View Post
You generally need to play at least 6 matches before OPR has any meaning. Before then it is a garbage value.
Not a bad rule of thumb, but it depends on the size of the event. With larger events, each team needs to play more matches before getting the same level of accuracy.
__________________
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
  #8   Spotlight this post!  
Unread 28-04-2016, 17:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
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: Blue Alliance API OPR

Quote:
Originally Posted by efoote868 View Post
You generally need to play at least 6 matches before OPR has any meaning. Before then it is a garbage value.
Quote:
Originally Posted by Basel A View Post
Not a bad rule of thumb, but it depends on the size of the event. With larger events, each team needs to play more matches before getting the same level of accuracy.
http://www.chiefdelphi.com/forums/sh...3&postcount=21

Reply With Quote
  #9   Spotlight this post!  
Unread 28-04-2016, 22:07
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,377
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Blue Alliance API OPR

Quote:
Originally Posted by Ether View Post
On each of those pretty graphs, where would you estimate the point OPR stabilized? I'd eyeball around 5-6 matches per team, although some sort bound on the delta opr / match might give a more accurate answer. Maybe it is stable once all OPRs don't change more than 2-5% after a match?
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
Reply With Quote
  #10   Spotlight this post!  
Unread 28-04-2016, 22:21
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
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: Blue Alliance API OPR


Since each match generates 2 OPR equations (one for red alliance and one for blue alliance), you need at least T/2 matches to be played (where T is the number of teams) to get an overdetermined system of equations. As you can see from the graphs, it takes a bit more than T/2 to settle down.

But... did you look at the rest of that thread? Eugene Fang came up with a clever idea for getting around this limitation so that a stable OPR can be introduced right at the start of the event... and as matches are played the new data is used to refine the OPR. That new algorithm is used for the match predictions at the TBA site.


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 09:46.

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