Go to Post You might even learn something! - Tom Bottiglieri [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 18-02-2012, 13:09
nubie nubie is offline
Registered User
FRC #2734
 
Join Date: Feb 2012
Location: Illinois
Posts: 4
nubie is an unknown quantity at this point
Java-Cannot get camera images on dashboard

We are trying to use the camera to track the target, but we cannot get an image on the dashboard. Netbeans and the Driver Station output the following errors:

"ERROR: S_errno_EINPROGRESS(0x000000044): Failed to connect to the camera ...in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457".

We are not using WindRiver anymore, but we used to. We never successfully used a camera with WindRiver, but we did try before switching to Java. We've gone through all of the camera configuration and know that it is getting power. We are plugging the camera into port 2 of the 8-slot cRio.

Does anyone have any suggestions? Any help would be *greatly* appreciated. Thanks!
  #2   Spotlight this post!  
Unread 19-02-2012, 09:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Java-Cannot get camera images on dashboard

Plug the camera into the D-Link DAP instead (after configuring it appropriately). The default Dashboard wants to connect directly to the camera without going through the cRIO.
  #3   Spotlight this post!  
Unread 19-02-2012, 09:41
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Re: Java-Cannot get camera images on dashboard

Also, make sure you use a regular patch cable if you go to the router from the camera.
__________________
"No, you can't use the Kinect to do pelvic thrusts."
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


All times are GMT -5. The time now is 00:48.

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