Ask Your Question
0

error: communicator not destroyed during global destruction

asked 2018-01-04 05:47:06 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am new to Jderobot . After installing the packages in ubuntu and when trying to run the very first example from the jderobot page . the code snippet :

cameraserver cameraserver.cfg

am getting an error:

yoogie@Yoogie:~$ cameraserver cameraserver.cfg [Info] loaded Ice.Config file: /opt/jderobot/share/jderobot/conf/cameraserver.cfg URI: 0 !! 01/04/18 16:51:28.403 error: communicator not destroyed during global destruction

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-01-04 11:36:05 -0500

jmplaza gravatar image

updated 2018-01-04 11:38:35 -0500

Hi Ram, are you running cameraserver in a Docker container or in a native Ubuntu 16.04 linux?

In case of running inside a docker container maybe there are problems with the physical access to the camera on the host machine (perhaps Microsoft). One way to circumvent that problem and run the example is launching cameraserver to serve images from a video file...

Put these lines in a file, replace the video path (in Uri line) for a right one on your machine and launch cameraserver with that configuration file as an argument:

CameraSrv.DefaultMode=1
CameraSrv.TopicManager=IceStorm/TopicManager:default -t 5000 -p 10000
CameraSrv.Endpoints=default -h 0.0.0.0 -p 9999:ws -h 0.0.0.0 -p 11000
CameraSrv.NCameras=1
CameraSrv.Camera.0.Name=cameraA
CameraSrv.Camera.0.Uri= /home/jmplaza/video.mp4
CameraSrv.Camera.0.Mirror=1
edit flag offensive delete link more

Comments

I am using ubuntu 16.04 . You want me to create an cfg file say mynew.cfg and paste these lines and change the video path and run cameraserver mynew.cfg is that right ?

Ram Yoogesh gravatar imageRam Yoogesh ( 2018-01-05 00:49:57 -0500 )edit

Yes, I suggest you to do so. And then launch any client that connects to that server. For instance, launch: "cameraview cameraview.yml" or launch "colorTuner colorTuner_py.yml"

jmplaza gravatar imagejmplaza ( 2018-01-05 01:47:12 -0500 )edit

I got it right . Thanks buddy :)

Ram Yoogesh gravatar imageRam Yoogesh ( 2018-01-05 06:22:32 -0500 )edit
0

answered 2018-01-05 00:49:45 -0500

Ram Yoogesh gravatar image

I am using ubuntu 16.04 . You want me to create an cfg file say mynew.cfg and paste these lines and change the video path and run

cameraserver mynew.cfg

is that right ?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-04 05:47:06 -0500

Seen: 60 times

Last updated: Jan 05