View Single Post
  #14   Spotlight this post!  
Unread 08-11-2014, 02:25 PM
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Aerial Camera for FIRST matches

Quote:
Originally Posted by Greg McKaskle View Post
The remaining steps are to isolate and track robots. Estimate their heading and velocity. Do the same for game objects. Perhaps superimpose your own graphic robot on top of the image showing how your AI would move your robot.
All it'd take is a simple background subtraction. Take a calibration image with nothing on the field. Then you grab an image during a match, and delete your calibration image from the image you just grabbed. As for velocity, you simply record the position of your object(s) , find the distance it traveled between frames and divide by frame time.

We do a background subtraction for depth tracking with the kinect (and asus xtion) and it works perfectly.

I don't think knowing the velocity (speed and heading) of another robot would be that useful considering most robots can turn on a dime, and some don't even hsbe to turn to go in a different direction. For game pieces it'd be somewhat useful, but I feel that having a camera above your intake would be more beneficial, but that's just me.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
Reply With Quote