Go to Post Honestly, just when I thought FIRST had finally created an FRC game without any near universally-hated rules, they went ahead and made one in TM 1. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 19-01-2012, 00:25
nonamedude nonamedude is offline
Registered User
FRC #1815
 
Join Date: Nov 2011
Location: Canada
Posts: 10
nonamedude is an unknown quantity at this point
Question Need help with the Axis 206 Camera

Hey guys.

Our team has never really used image processing to its fullest extent, but this year we hope to achieve that. However, we cant seem to get the camera to work with the crio.

We tried running the default code and some of our own code but we always seem to get this error.

Failed to connect to the camera ...in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457
[cRIO] Too much error data!

The code that we are trying to run is the CircleTrackerDemo. We tried some of ;
camera = AxisCamera.getInstance();
camera.writeResolution(AxisCamera.ResolutionT.k320 x240);
camera.writeBrightness(0);
---
DriverStationLCD.getInstance().updateLCD();

but we still get the same error.

These are all the cases I have tried

Connect the camera to the crio (using a crossover cable, in port 2) with an ip of 192.168.90. Outcome = same error

Connect the camera to the crio with an ip of 10.18.15.11. Outcome = same error

Connect the camera to our computer with an ip of 10.18.15.11. Outcome = The video is displayed on the dashboard.

I have no idea of what to do from now.

Thanks for the help guys!
EDIT : We are using Java

Last edited by nonamedude : 19-01-2012 at 00:31. Reason: Extra info
 


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 15:20.

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