Log in

View Full Version : Timing out after StartCompetition()?


TPNigl
09-02-2010, 16:20
Our code that worked before is now suddenly timing out, but we don't know why. It just keeps saying connect: S_errno_ETIMEDOUT. Then we get a fatal error and then it stops.

Any suggestions?

ErichKeane
09-02-2010, 16:22
We had that problem earlier in the week, and it had something to do with a bit in the robot_init function taking too long.

For us, it was calling the Camera.GetInstance without the camera plugged in! GetInstance will block until the camera is detected.

TPNigl
10-02-2010, 18:25
Haha, we figured that out too yesterday. It was the exact same problem. We didn't have our camera plugged in, but the getInstance was still in the code. Thanks!