Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Timing out after StartCompetition()? (http://www.chiefdelphi.com/forums/showthread.php?t=82264)

TPNigl 09-02-2010 16:20

Timing out after StartCompetition()?
 
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

Re: Timing out after StartCompetition()?
 
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

Re: Timing out after StartCompetition()?
 
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!


All times are GMT -5. The time now is 02:06.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi