Hello,
We are doing a project with the bittle dog, we are running a little script on a Raspberry Pi sending commands through the serial interface and receiving ultrasonic distance with the code on the Github.
We are trying to send serial commands from a Raspberry Pi to Arduino through UART but after a certain number of commands the robots stops moving. We saw that in io.h on line 34 there was a comment about overflow after too many iterations, maybe this is what is causing our issue?
Is there anyway to fix this? 😄
What's the frequency you send the serial command? And how many times before it stops?
The code takes a lot of memory. You may disable unnecessary codes to save space and increase the stability. For example, uncommenting line 4 #define IR_PIN 4 in OpenCat.h will disable the infrared receiver code since you will make it automatic by the Pi.