Quote:
Originally Posted by PhilBot
Once such strategy is NOT to reset the encoders. If you never reset them, that problem goes away.
|
Phil,
We have been trying code that uses this strategy based on the examples in your paper. We read the encoder, add the number to it that we want to go to, run the constant speed vi until the encode reads the new number and stop.
Most of the time this is working really well. It definitely has gotten rid of the jerky motion that won't die without killing the power.
But sometimes either the encoders don't read or the loop processes to slowly and the robot goes way past where it is supposed to stop. It is somewhat random as it will work one run and not the next. It is frustrating and time consuming.
Have you seen this? Do you have any ideas how to fix it?
Thanks,