Log in

View Full Version : Could code cause a communications error?


gyroscopeRaptor
12-02-2011, 18:30
We had an issue today of communication. The robot would disconnect after a few seconds no matter what. We updated and used the defaut myRobot file and it is fixed. The cause is believed to be jointly a corrupted v27 update and possibly an error in our program, which is here. (http://pastebin.com/2GhMFjJ4)

Is it possible for a program to create an issue like this, and if so, is our program at fault? The program is a work in progress, but if you see any other mistakes please point them out.

basicxman
12-02-2011, 18:43
Your code looks fine, and while code can frequently fail to run (which can be mistaken for a No Robot Code error) or cause watchdog timeouts - I don't think code can cause a communication error.

I would highly recommend reimaging.