Go to Post The very fact that parts are rumored to be being re-used may be sufficient reason for the rule-makers to change a rule to prevent the re-use of that very part (not that they would ever be that devious!) - dlavery [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

 
Reply
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 16-02-2012, 18:58
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: WPILib AxisCamera Problems

Is your camera connected to Ethernet port 2 of the cRIO? They have changed it this year. You should connect it to the Wireless router and configure the camera to 10.te.am.11 and you need to do the following in code:
Code:
AxisCamera &c = AxisCamera::GetInstance("10.te.am.11");
__________________
Reply With Quote
Reply


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 12:30.

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