View Single Post
  #190   Spotlight this post!  
Unread 13-04-2008, 13:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Galileo Division 2008

Quote:
Originally Posted by Karthik View Post
I don't want to rain on your "porade", but I have a slight feeling that Joe may be familiar with how to round numbers...
I rounded to the nearest whole number. I did not round to the nearest multiple of two, mainly because I was lazy and didn't want to write a function to do that. Since the errors in the OPRs are much higher then the error caused by not rounding to a multiple of two, I don't think it makes much difference. Another big error is that 103, 469, and 121 could probably not all score their OPR, since there are only 2 balls to go around.

Without rounding, Red's score was 126.71 and Blue's score was 127.901. If rounded to a multiple of 2, Blue would still win 128 to 126.