Thread: Ball Tracking
View Single Post
  #1   Spotlight this post!  
Unread 08-02-2014, 13:06
Potatoes's Avatar
Potatoes Potatoes is offline
Registered User
AKA: Eric Wittmann
FRC #5136 (Mecha Pirates)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Santa Ynez, CA
Posts: 17
Potatoes is an unknown quantity at this point
Question Ball Tracking

It's our first year as a rookie team and we have some questions about using a servo-mounted camera for ball tracking.

-Can we just use the example "2014 Ball Detection" code provided by FRC, and if so, how do we implement it into our own code?

-How would we calculate the trajectory of a ball mid-air? We could do the calculations and come up with the functions ourselves but it seems like a safer bet to use someone else's tried-and-tested code.

-Is there anything else I'm overlooking in terms of necessary pieces of code for using the camera to track ball movement?

Thanks in advance for the help!
Reply With Quote