You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I expected that there might be a difference between the number of steps being taken by each motor, I did not expect up to 4x given that they are identical motors.
I am wondering if there is something I am missing.
I am new to using encoders in general and do apologise if the answer to my question is already obvious
I am primarily interested in using the library to get a robot to move in a straight line or move in angles when required.
Any help I can get would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
Yeah that's not good. I don't see anything wrong in your use of the library. I'd try slowing the PWM rate way down, and see if the issue is related to speed. You are showing nearly 1000 increments per cycle on the first motor, so about 3000 encoder steps per second, which is pretty fast. You might be running up against some interrupt rate limit.
Hi,
I am using DC motors controlled by a Raspberry Pi Model 3 running Stretch.
I adapted the code from rotary_worker_test.py to read from two of the wheels as below.
However, when I run it, I am having the following results:
While I expected that there might be a difference between the number of steps being taken by each motor, I did not expect up to 4x given that they are identical motors.
I am wondering if there is something I am missing.
I am new to using encoders in general and do apologise if the answer to my question is already obvious
I am primarily interested in using the library to get a robot to move in a straight line or move in angles when required.
Any help I can get would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: