|
Re: Brainstorm - The Blue Alliance v4
Several people have asked for information on raw match scores, penalties, and so forth. This year, that's a relative piece of cake, thanks to the FRCFMS twitter feed. This year, it contains the number of balls scored for each alliance, the number of bonus points, and the number of penalties. From this, it isn't hard to calculate the QPs for each team (except in the rare cases when a team is disqualified and receives 0 QPs) and generate the match rankings. With the scores and penalties available, it should also be pretty simple to calculate OPR and CCWM in real-time.
I've written a little Python script which grabs data from past tweets using the Twitter API. It doesn't do anything with the results yet, but the concept is workable. It's trivial to port to PHP if that's better for integration with TBA. I'd love to see TBA have a listing of world OPR/CCWM rankings, and show it on each team's page.
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics
2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...
|