View Single Post
  #9   Spotlight this post!  
Unread 15-01-2013, 00:43
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Keep the engine speed

Quote:
Originally Posted by Ether View Post
Did you ask the FPGA for the spoke count and then divide the change in spoke count by the elapsed time,

or

Did you ask the FPGA for the elapsed time (using the microtimer) between the last two counts ?
The latter (via GetPeriod()). The issue was that the FPGA declared the motor stalled below certain speeds. We considered the other method for a bit, but decided that it wasn't really necessary to implement since the problematic speeds were so slow that the ball wouldn't even get out of the shooter.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"