Going out of code

We downloaded our code but whenever we run it it goes into the code and then 5 seconds later it goes out of it and it does this every time. And suggestions on what it might be. At this point we cannot run our bot at all

IQ or V5 ?
post you code here.

1 Like

do you have a good connection between the radio and controller. So when you start the program does the controller disconnect from the robot. If its a connection issue you can try move the radio and check to make sure the firmware is up to date

Do you have a forever loop?