Good day,
On several of the XRPs at our summer camp we are experience a occasional oscillation on turns.
The robot will appear to complete its turn and then vibrate back and forth until given an nudge. It then it continues its program.
I have seen two other reports of the same behavior on other forms.
https://xrp.discourse.group/t/does-the- … work/370/7
Here is the code to reproduce the behavior :
from XRPLib.defaults import *
import time
# drive back and forth to trigger incomplete turn erratic behavior
board.wait_for_button()
# Drive back and forth
for count in range(20):
time.sleep(1)
drivetrain.straight(25, 0.8)
time.sleep(1)
drivetrain.turn(180,0.8)
You might have to run it more than once to see the behavior.
I saw it twice the last time I ran it.
We are also finding it impossible to update our MicroPython code.
Any ideas or help will be much appreciated.
Thank you.