|
Re: Encoder Oscillation Issues
You should take a look at the output of your sensors. We've seen that happen if one of the sensor channels is lost or the connection becomes loose. Add some prints to the encoder code to view the input and turn the encoder slowly to see that the output is consistent. Most likely what's happening is that the encoder is missing a transition and the encoder code thinks that it started turning the opposite direction.
|