I am a teacher and struggling with “ghosts in the machine”. When my students run a code through blockly e.g. to travel straight (for 85cm) the robots are doing random spins, not travelling straight.
It seems the motors have different efforts.
Then sometimes the robot work and other times just spins, with the same code.
Its so frustrating as the students are programming correctly and they are feeling very disheartened.
Is there a way to reboot everything to factory settings? Or some other way of fixing this issue?
What can I do when the XRP Robot after a few goes of operating correctly using the blockly code, decides to run some random program that doesn’t match what is programmed in the editor?
Hopefully you can view video in link below. The XRP has brand new batteries and you can see that the motors have two different efforts so XRP cannot travel straight. Not sure why motors have differences…
I think most of the issues are stemming from calibration problems - I’d try either calibrating with 'effort, adjusting left and right (increase left for now) with just a ‘straight’ function until the xrp is driving evenly, the re-test
You can also use the ‘speed’ function which is encoder-based and should adjust effort in the background for ya; see the blue link a few posts above