Thread: Velocity???
View Single Post
  #6   Spotlight this post!  
Unread 30-01-2006, 16:01
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Velocity???

You can use either banner sensors with reflective tape or the photoswitches from this year's kit to do it in code. Put them across the exit point of your shooting mechanism.

Start a timer when the interrupt from the beam being broken occurs, get its value when it sees the other side again, and do some math (since the ball is 7" in diameter).

If a ball is going 12m/s, it will take about 14.8ms between these events, well within the capabilities of the RC's timer resolution (see www.kevin.org/frc for how to use timers).