View Single Post
  #70   Spotlight this post!  
Unread 09-03-2010, 17:59
Tom Saxton's Avatar
Tom Saxton Tom Saxton is offline
Registered User
no team (Issaquah Robotics Society)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2003
Location: Sammamish, WA
Posts: 98
Tom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud of
Re: iPhone App Released - FRC Tracker

Here's the scoop on the twitter feed error from the folks at FIRST:

Quote:
The string format for the feed on week one was the following:
#FRC{0} TY {1} MC {2} RF {9} BF {10} RE {3} {4} {5} BL {6} {7} {8} RB {11} BB {12} RP {13} BP {13} RG {14} BG {15} RGP {16} BGP {17}

Everything was fine up to RP {13}. Starting at BP {13} everything was shifted off by 1 (i.e. BP {13} should have been BP {14})

So the feed should have been the following:
#FRC{0} TY {1} MC {2} RF {9} BF {10} RE {3} {4} {5} BL {6} {7} {8} RB {11} BB {12} RP {13} BP {14} RG {15} BG {16} RGP {17} BGP {18}
So, one value was duplicated, four near the end were shifted to the right, and the last field (Blue Alliance Goal Penalty) was lost. The good news is that you can calculate the BGP from the other values by using the equation:

BF = BG + BB - BP - BGP

If you shift the values and use the above equation to solve for BGP, consistent score details can be recovered for all but 43 of the 1,210 matches tweeted during week one. There were a number of matches that didn't get tweeted and some matches which got changed after the tweet went out (so you have to check against the official first match results pages).

In case you're wondering about the details, here's my understanding of the various fields:

RF = "final" score for red (unless it gets changed later by appeals to the head referee, etc)
RG = red goals
RB = red bonus for elevated/suspended robots
RGP = DOGMA (pdf) penalty accessed by the field
RP = penalties accessed by the referees

Likewise for blue.
__________________
Tom Saxton
http://www.idleloop.com/

Last edited by Tom Saxton : 09-03-2010 at 18:17. Reason: hit the submit button too soon, added more information
Reply With Quote