View Single Post
  #43   Spotlight this post!  
Unread 01-02-2013, 14:56
MisterG's Avatar
MisterG MisterG is offline
Think twice post once.
AKA: Alan Gilgenbach
FRC #2062 (C.O.R.E. - Community of Robotics Engineers)
Team Role: Team Spirit / Cheering
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 120
MisterG is a name known to allMisterG is a name known to allMisterG is a name known to allMisterG is a name known to allMisterG is a name known to allMisterG is a name known to all
Re: Best way to measure period between pulses? Counters and FPGA

Quote:
Originally Posted by sst.thad
The is a function you can use to set what the FPGA sees as stopped. its the setMinRate function.
Quote:
Originally Posted by Joe Ross View Post
In the Encoder class it's called setMinRate, in the Counter class it's called setMaxPeriod.
Sounds like the answer to our problems.

I imagine that we don't want to use the stalled feature at all. Is there a downside to setting the max period to a high value? e.g. 6 seconds period is equivalent to 10 RPM. This would seem safe at any reasonably low speeds. Is there any functionality trade off to setting a high max period?
__________________
Alan Gilgenbach
C.O.R.E 2062