|
Re: Choosing an Encoder for the Drive-train
There's a lot of great information here. Thanks a lot.
I'm trying to determine the maximum number of encoder pulses.
If I have a robot with an 8" wheel, the maximum speed being 10 ft/s and 128 Encoder Counts/Revolution. For this example let's pretend the encoder is connected to the same shaft as the wheel.The maximum number of pulses the encoder could generate would be 611. Is my math correct?
How would this be programmed? As a counter in the fast loop or as an interupt? Can the controller handle this many interupts per second?
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
|