Go to Post This has to be the hardest, most complicated game I've ever seen the GDC develop - that's what makes it so much fun! - SteveGPage [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 01-02-2011, 01:19
2733Programming 2733Programming is offline
Registered User
FRC #2733 (Pigmice)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Portland, OR
Posts: 6
2733Programming is an unknown quantity at this point
Odd error when trying to use camera: No content-length token found in packet

We've recently been trying to get the camera to work with Java. We're using the standard KoP camera plugged into port #2 on the cRIO with all of the correct settings as stated in the setting up your camera PDF. Based on what we read in this section of the forums, only a single line of code was actually required to make the camera send back an image to the stock dashboard (which is all we are trying to do). We added that line:

Code:
AxisCamera camera = AxisCamera.getInstance();
to the main class's constructor and everything compiled fine, but once we begin running teleop on the robot, we get this odd error:

"AxisCamera: No content-length token found in packet: S_errno_ECONNREFUSED"

It comes up every few seconds in the netbeans output window, and no video is displayed on the dashboard.

Anyone know why this is happening or what we can do to fix it? We've looked around, but haven't seen anyone posting about this problem anywhere else. Your help would be much appreciated! Thanks.
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 09:45.

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