View Single Post
  #3   Spotlight this post!  
Unread 04-03-2013, 23:04
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Optical Tachometer

Quote:
Originally Posted by THE DYNAMO View Post
After first trying to measure our tacos we figured out that we would probably get better success by measuring how fast one of our motors is going for our shooter.

However, because it is going 12k RPM the java code we use isn't able to measure the difference between it sensing on and off. Does anyone know of a way to measure time at smaller intervals in java than the regular timer class, which measures in milliseconds.
The FPGA has hardware counters that can read that fast. You can access them using the counter class.
Reply With Quote