My team has been having some issues where our robot will stop during a match and restart the code from the beginning. This includes the pre-autonomous and results in us having to wait for the robot to reinitialize the gyroscope which takes a few seconds.
We don’t really know exactly what is causing this to happen, but it tends to happen when the robot is making large movements, for example, lifting stars and turning at the same time. But othertimes the robot could simply be driving forward and the same bug will appear. This has been detrimental towards our robots performance and has plagued us pretty much since the start of the season.
Any ideas?
Note. I have read the other thread called “Cortex Randomly reboots” but this issue is not related to IMEs because it occurred before we had any on the robot
If you are using old batteries or low batteries without the 9v, you can brown out if you put too much of a load on the batteries. We used to use some NiCd batteries, but they were so old they would drop in reading really bad under a load.
Your battery connection is probably bad. We had to hot glue out battery wires to the socket on the battery so they don’t come out. I will post a picture later.
Yes I use extenders for the power expander and Cortex.
But the issue isn’t the batteries because the robot never loses connection with the joystick throughout the process it just restarts the code.
It could be your 9 volt because if it is low then it will send a message to the brain that the robot is dead. Try running your robot without a 9 volt. If the problem persists then re-upload your program to both your robot and controllers.