Go to Post I'm here to unintentionally offer insightful quotes. - Jeff Waegelin [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-02-2012, 17:51
Youarefunny Youarefunny is offline
Registered User
FRC #0854
 
Join Date: Jan 2010
Location: Toronto
Posts: 7
Youarefunny is an unknown quantity at this point
WPILib AxisCamera Problems

We have recently been experiencing problems with our camera. We are using the following code in order to initialize the camera and get an image. Our problem has been that the after we upload this code, the next upload takes an extremely long time to upload. We have determined that this problem is due to the marked line. We don't know why this is happening. We were wondering if any other teams had been experiencing this or know why this is occurring.

Code:
sleep(20);
AxisCamera &c = AxisCamera::GetInstance();
ColorImage ci(IMAQ_IMAGE_RGB);
c.GetImage(&ci); // This line causes the slowness.
Thanks for your help.
Reply With Quote
 


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


All times are GMT -5. The time now is 17:36.

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