I initially thought that I had a hardware problem because a function from the Find a Hole Example was not doing what I expected.
line 42: enc_tgt(0,1,pulse)
change to: enc_tgt(1,0,pulse)
--------------- Original post:
I just built the GoPiGo and I believe I might have an issue. The right motor doesn’t stop while using “right_deg(30)” from the Find a Hole example.
Im using a raspberry 2. I enabled I2C.
Using control.py from Find a Hole example:
>>> from gopigo import *
>>> from control import *
left motor turns 30 degrees.
right motor turns endlessly.
I have not removed the paper from the encoder wheels. How can I verify if this is a hardware issue?
volts() currently returns 10.2
Thanks in advance for any info given !