Go to Post There's a fine line between cockiness and confidence. Confidence is one of the major keys to success and happiness in life. As long as one can carefully stay on the right side of the line, staying connfident while remaining humble, and ego can be quite beneficial. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 23-03-2013, 13:50
Negative 9 Negative 9 is offline
Registered User
FRC #0611
 
Join Date: Dec 2012
Location: Mclean, VA
Posts: 46
Negative 9 is an unknown quantity at this point
Getting DS to show camera feed

I'm using an 8 slot cRIO and an M1013 AxisCamera. I ran the AxisCamera configuration utility from the Driver Station and it said the username and password were both successfully changed to FRC.

My code was compiling fine before, but since I added the camera code I haven't been able to compile. The compilation just stalls at
Code:
[cRIO] FPGA Hardware GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] FPGA Software GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
The code I added was just constructing it and the compilation just stalls. If I remove the code it works just fine.
Code:
import edu.wpi.first.wpilibj.camera.AxisCamera;
Code:
AxisCamera camera;
Code:
camera = AxisCamera.getInstance();
When I connect the cRIO to the DriverStation and go to the Diagnostic tabs I get repeated error messages saying:
Code:
ERROR: S_errno_EHOSTDOWN(0x00000043): Failed to connect to the camera ...in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457
and at sparse intervals it gives this error message as well...
Code:
ERROR: S_errno_EINPROGRESS(0x00000044): Failed to connect to the camera ...in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457
Any ideas? Also, what code actually sends the DriverStation the image from the camera? I looked through last year's code and there's nothing that looks like it does. Will it automatically display the image if configured correctly regardless of what's in the code?
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 08:38.

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