To "integrate" a signal, just keep adding it to an accumulator on a regular basis. Use a timed loop (there's one provided for you in the Basic robot template) with a shift register to hold the accumulated value.
Quote:
Originally Posted by SL8
I'm not looking for actual position so much as just knowing the actual distance traveled.
|
That's basically the same thing, isn't it?
If your wheels don't slip, encoders on the axle or gearbox give a much easier way to measure distance traveled. That's not a good assumption with acetal wheels on FRP, though.