Quote:
Originally Posted by j_johnson
We are using Windriver, but were able to set up a task (indirectly through the PIDController) that retrieved the encoder count every so often (about 20 ms for us), and dividing the difference in encoder counts by the time between checking. If you are using Labview, I believe it has a timed loop that you could use for something similar.
|
Doh, I was obsessing about the FPGA bug and didn't consider that distance was correct and I could get delta times to compute the speed in LV.
Thanks for reminding me.