[JdeRobot] new problemas with openniServer

rsaezd rebeca.92.saez at gmail.com
Tue Apr 28 22:04:15 CEST 2015


Hello,

I'm trying to move forward with my project. For this, I use Openni1Server,
but when I run it I have the following error:

/rebeca en toshiba-rebeca:~/instalacion/trunk/src/stable/components/openni1Server$
openni1Server --Ice.Config=openni1Server.cfg
Error opening file for reading: Permission denied
-! 04/28/15 22:05:48.392 warning: found unknown properties for object
adapter `openni1Server':
       openni1Server.CameraDEPTH
       openni1Server.CameraDEPTH.Format
       openni1Server.CameraDEPTH.Name
       openni1Server.CameraDEPTH.fps
       openni1Server.CameraRGB
       openni1Server.CameraRGB.Format
       openni1Server.CameraRGB.Name
       openni1Server.CameraRGB.fps
       openni1Server.Fps
       openni1Server.Height
       openni1Server.KinectLedsActive
       openni1Server.NCameras
       openni1Server.PlayerDetection
       openni1Server.Pose3DMotorsActive
       openni1Server.Width
       openni1Server.calibration
       openni1Server.deviceId
       openni1Server.pointCloud.Fps
       openni1Server.pointCloudActive
Selected device: 0
NCAMERAS = 2
Number of detected devices: 0
Enumerate failed: Can't create any node of the requested type!
Creating camera cameraA
openni1Server.CameraRGB.PlayerDetection
Starting thread for camera: cameraA
              -------- openni1Server: Component: CameraRGB created
successfully   --------
Creating camera cameraB
Starting thread for camera: cameraB
              -------- openni1Server: Component: CameraDEPTH created
successfully   --------
Creating pointcloud1 pointcloud1
              -------- openni1Server: Component: PointCloud created
successfully   --------
CREADO
------------------------------------------------------
Camera 

     Position: (X,Y,Z,H)=(1895.0,4983.0,857.0,1.0)
     Focus of Attention: (x,y,z,h)=(4633.0,642.0,1088.0,1.0)

     Focus DistanceX(vertical): 515.0 mm
     Focus DistanceY(horizontal): 515.0 mm
     Skew: 0.00000 
     Optical Center: (x,y)=(219.0,323.0)

     K Matrix: | 515.0 0.0 219.0 0.0 |
               | 0.0 515.0 323.0 0.0 |
               | 0.0 0.0 1.0 0.0 |

	 R&T Matrix: | -0.0 0.0 1.0 -1000.2 |
	             | -0.8 -0.5 0.0 4261.1 |
	             | 0.5 -0.8 0.0 3162.0 |
	             | 0.0 0.0 0.0 1.0 |

------------------------------------------------------
RGB FPS: 10
WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for
new data!
WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for
new data!/


the last time I usded it I had no problem. I haven't changed the .cfg, but
attached it in case I have an error there:

/#without registry
openni1Server.Endpoints=default -h 0.0.0.0 -p 9998
#with registry
#cameras configuration
openni1Server.NCameras=1
openni1Server.PlayerDetection=1
openni1Server.Width=640
openni1Server.Height=480
openni1Server.Fps=25

#camera 1
openni1Server.deviceId=0
openni1Server.CameraRGB.Name=cameraA
openni1Server.CameraRGB.Format=RGB8
openni1Server.CameraRGB.fps=10

openni1Server.calibration=./config/camRGB
openni1Server.CameraDEPTH.Name=cameraB
openni1Server.CameraDEPTH.Format=RGB8
openni1Server.CameraDEPTH.fps=10


#Other components
openni1Server.CameraRGB=1
openni1Server.CameraDEPTH=1
openni1Server.pointCloudActive=1
openni1Server.pointCloud.Fps=10
openni1Server.Pose3DMotorsActive=0
openni1Server.KinectLedsActive=0/


I tried different examples of Nite and OpenNI as NiViewer and they working
properly.

I saw that if I disconnect my Xtion, I get the same error. It seems that
Openni1Server is not detecting the camera.
I've also tried OpenniServer. If I don't connect the camera detects that
there is nothing and if I connect it, I have a similar error:

/rebeca en toshiba-rebeca:~/instalacion/trunk/src/stable/components/openniServer$
openniServer --Ice.Config=openniServer.cfg
Error opening file for reading: Permission denied
[WARNING] You didn't set log file!
You didn't set *.Log.File.Level key!
You didn't set *.Log.Screen.Level key!
[INFO] Logger:: screenLevel= logLevel= LogFile=
-! 04/28/15 22:16:30.664 warning: found unknown properties for object
adapter `openniServer':
       openniServer.CameraDEPTH
       openniServer.CameraDEPTH.Format
       openniServer.CameraDEPTH.Mirror
       openniServer.CameraDEPTH.Name
       openniServer.CameraDEPTH.PlayerDetection
       openniServer.CameraDEPTH.fps
       openniServer.CameraIR
       openniServer.CameraRGB
       openniServer.CameraRGB.Format
       openniServer.CameraRGB.Mirror
       openniServer.CameraRGB.Name
       openniServer.CameraRGB.PlayerDetection
       openniServer.CameraRGB.fps
       openniServer.Debug
       openniServer.ExtraCalibration
       openniServer.Fps
       openniServer.ImageRegistration
       openniServer.KinectLedsActive
       openniServer.Mode
       openniServer.PlayerDetection
       openniServer.PointCloud.Name
       openniServer.Pose3DMotorsActive
       openniServer.deviceId
       openniServer.pointCloud.Fps
       openniServer.pointCloudActive
OpenniServer: Selected device: 
Warning: USB events thread - failed to set priority. This might cause loss
of data...
OpenniServer: depth modes
fps: 30x: 320y 240
fps: 30x: 320y 240
fps: 60x: 320y 240
fps: 60x: 320y 240
fps: 30x: 640y 480
fps: 30x: 640y 480
fps: 30x: 160y 120
fps: 30x: 160y 120
OpenniServer color modes:
fps: 30x: 320y 240
fps: 30x: 320y 240
fps: 60x: 320y 240
fps: 60x: 320y 240
fps: 30x: 640y 480
fps: 30x: 640y 480
fps: 30x: 1280y 1024
fps: 30x: 1280y 1024
fps: 30x: 1280y 1024
fps: 30x: 1280y 720
fps: 30x: 1280y 720
COLOR: fps:30w320h240
DEPTH: fps:30w320h240
Starting device pre-heating .... 
[WARNING] Wait failed! (timeout is 2000ms) 	waitForStreams: timeout reached

[INFO] End device pre-heating
OpenniServer initialized
Creating camera cameraA
Starting thread for camera: cameraA
              -------- openniServer: Component: CameraRGB created
successfully(default -h 0.0.0.0 -p 9999 en cameraA
Creating camera cameraB
Starting thread for camera: cameraB
              -------- openniServer: Component: CameraDEPTH created
successfully(default -h 0.0.0.0 -p 9999 en cameraB
Creating pointcloud1 pointcloud1
              -------- openniServer: Component: PointCloud created
successfully(default -h 0.0.0.0 -p 9999 en pointcloud1
Loading camera: 0
Setting standard calibration

----------------------- PROGEO C++ ---------------------
Camera 

     Position: (X,Y,Z,H)=(0.0,0.0,0.0,1.0)
     Focus of Attention: (x,y,z,h)=(0.0,1.0,0.0,1.0)

     Focus DistanceX(vertical): 511.0 mm
     Focus DistanceY(horizontal): 511.0 mm
     Skew: 0.00000 
     Optical Center: (x,y)=(160.0,120.0)

K Matrix: 
511   0 160
  0 511 120
  0   0   1
 R&T Matrix:
0 0 1 0
1 0 0 0
0 1 0 0
0 0 0 1
------------------------------------------------------
-------- openniServer: POINTCLOUD openni timeout-
-------- openniServer: POINTCLOUD openni timeout-/

I'm reviewing it but I can not think what could be the problem.
Can anybody help me?

Thanks and regarads




--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/new-problemas-with-openniServer-tp4642646.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list