View Single Post
  #7   Spotlight this post!  
Unread 13-01-2007, 19:22
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: tracking multi targets question

Quote:
Originally Posted by JakeC View Post
Quote:
The camera's hardware is only capable of tracking one target at a time. But if there are two targets in its field of view, it will perform the equivalent of drawing a "box" around both of the targets and tracking the center of that "box". The robot can determine the number of targets it is tracking based on the size of that "box."

Basically, you can tell how many targets there is by the number of pixels your camera counts, distance also affects this factor.
True, but distance would affect height and width of the box, whereas I believe two targets only primarily affects the width, so I think you could probably compensate for it fairly effectively with some basic math.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)