View Single Post
  #2   Spotlight this post!  
Unread 01-03-2014, 19:09
Jeffy's Avatar
Jeffy Jeffy is offline
Retired, for now
AKA: Jeff Gier
FRC #2410 (Metal Mustang Robotics) #159 (Alpine Robotics)
Team Role: College Student
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Fort Collins
Posts: 523
Jeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant future
Re: Variable thrower

Quote:
Originally Posted by bbradf44 View Post
We have a motor driven thrower arm driven by a 2 cim gearbox on jags. We are trying to make it so a camera of some sort reads the distance and adjusts the power of the thrower accordingly. How would we go about doing that in both electrical and programing?
We have an axis camera, kinect, rasbery pi(were not entirely sure how to legally use it so instructions for that would be helpful as well) and an encoder on the gearbox running the thrower
My understanding of how a camera distance sensing works:
1. Use a light to light up the retro reflective material.
2. Use camera and software to detect and measure the size of the retro reflective material
3. use this data to triangulate your distance

OR I suggest you use an ultrasonic sensor
The process
1. mount sensor high
2. read voltage from signal
3. use calibration factor to know how far you are.
These sensors are pretty darn accurate.
I would find another supplier than robotmarketplace because of ship time, but other than that, this is a great sensor.

OR
Create a mechanism with the so called "sweet-spot" so that you can use the same power, but score from many locations with the same exact shot pattern.
__________________
Metal Mustang Robotics 2410 (2008-2011)
2008 STL Rookie All-Star
2010 GKC Finalists
2010 OKC Champions
Alpine Robotics 159 (2012-)
2012 CO Finalists

700 miles from home, 2 miles from FRC. Life is good.