View Single Post
  #3   Spotlight this post!  
Unread 28-01-2014, 12:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 2014 Vision Processing

There is an enum in the TargetInfo>>Scores that indicates that a horizontal and vertical are the right distance and orientation to be a hot goal. The data in the cluster is pretty complete, and you can dissect and use any portion of it.

If you decide to use only the horizontal segment's score, your tradeoff is that a horizontal particle from a fluorescent light or window or other reflection may pass that test. Requiring the horizontal and vertical gives a bit more confidence in the interpretation, but it also requires that both are visible. Perhaps an even better solution would be to calculate a hot-score. Some points are awarded for the presence of the H piece. Other points are awarded for the V piece in the correct location. You can then decide assign your score threshold based on your strategy.

Greg McKaskle
Reply With Quote