Go to Post FIRST itself is simply a mechanism, not the real goal. - msd [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 06-02-2016, 11:40
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 48
robert1356 is an unknown quantity at this point
CameraServer is holding onto the socket - GRIP can't publish video

I have a problem trying to use the robot code and SmartDashboard to configure the LifeCamHD 3000, then switch to GRIP. I originally thought it was the USBCamera connection that was causing the problem (see (http://www.chiefdelphi.com/forums/sh....php?t=143127), but now realize it is the publish connection, the IP socket used by CameraServer to publish the image.

I am getting this exception in the GRIP output:
eb 06, 2016 4:27:56 PM edu.wpi.grip.core.operations.composite.PublishVide oOperation lambda$new$17
WARNING: Address already in use
java.net.BindException: Address already in use

I don't see the red bar at the bottom of the image appear that shows that the image server has stopped.

It appears that even though I'm just using CameraServer.setImage() that once the server is started, there is no obvious way to stop it. And once the server has the socket connection, GRIP can't get it to publish it's output.

Does anyone know how to kill the CameraServer connection to the SmartDashboard? I'll be digging in, trying to figure it out.
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:41.

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