View Single Post
  #1   Spotlight this post!  
Unread 19-01-2010, 17:24
bronxbomber92 bronxbomber92 is offline
Registered User
FRC #1551 (Grapes of Wrath)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Naples
Posts: 75
bronxbomber92 is an unknown quantity at this point
NIVision EllipseMatch Problems

There are several fields in EllipseMatch struct that seems less than useful (though, they shouldn't be).

First are the majorRadius and minorRadius fields. They are almost useless because no information is given on which axis they lie on. Is there someway to tell what axis each lie on (either accounting for rotation of ellipse or not)? If the NIVision library provided the axis that each were on it would be very easy to tell if ellipse matches were concentric.

My other problems pertain to the score field. Is a low score or high score good? If a high score is good, how large can this value be? Also, in the example code given for this year they're calculating their own score value, but it's not obviously clear what exactly they're doing means. Can anyone shed some light on this?

Thanks!