View Single Post
  #8   Spotlight this post!  
Unread 16-02-2016, 18:02
mehnadnerd mehnadnerd is offline
Registered User
AKA: Brendan
FRC #1458 (Red Tie Robotics)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2009
Location: Danville
Posts: 5
mehnadnerd is an unknown quantity at this point
Re: Vision for frc 2016

Our team found success through looking at four values:
  1. The area as compared to convex area
  2. The perimeter as compared to the convex perimeter
  3. The plenimeter (Perimeter squared over area)
  4. The convex area compared to bounding box area
You can calculate what the ideal values should be, or they can be found by looking at our code at https://github.com/FRC1458/turtleshe...eAnalyser.java. The first three help to ensure that the right shape is being recognised, and the final parameter work to make sure we are looking at a rectangle roughly, so the correct target will be identified.
Reply With Quote