Go to Post Coopertition™ can take many forms. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2010, 16:20
TPNigl TPNigl is offline
Registered User
FRC #0069 (Team HYPER)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Quincy, MA
Posts: 94
TPNigl is an unknown quantity at this point
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?
__________________


2011 Pit Crew:
2011 CT Xerox Creativity Award

HYPER Alumni
  #2   Spotlight this post!  
Unread 09-02-2010, 16:22
ErichKeane ErichKeane is offline
Registered User
FRC #3210
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2004
Location: Hillsboro, OR
Posts: 113
ErichKeane is just really niceErichKeane is just really niceErichKeane is just really niceErichKeane is just really niceErichKeane is just really nice
Send a message via AIM to ErichKeane
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.
  #3   Spotlight this post!  
Unread 10-02-2010, 18:25
TPNigl TPNigl is offline
Registered User
FRC #0069 (Team HYPER)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Quincy, MA
Posts: 94
TPNigl is an unknown quantity at this point
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!
__________________


2011 Pit Crew:
2011 CT Xerox Creativity Award

HYPER Alumni
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get a .out file after build. Josh987 C/C++ 2 21-01-2010 11:10
How to end an auto mode after gyro gets out of deadband kiettyyyy Programming 17 20-04-2006 07:59
pic: Out of Service after Summer Frenzy. CD47-Bot Extra Discussion 12 23-08-2004 17:38
Distance timing out bludstayne Programming 5 05-03-2004 13:47
Robot motion after the time has run out. Randy Ai Rules/Strategy 1 06-01-2003 17:17


All times are GMT -5. The time now is 10:08.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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