<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hola buenas noches,<br>
<br>
en referencia&nbsp; este tema pero del componente cameraserver, yo también estoy encontrando problemas, en mi caso si funciona el componente pero de forma errónea.<br>
he revisado <font color="black" face="Tahoma" size="2"><span style="font-size:10pt;" dir="ltr">cap.isOpened</span></font> en las lineas que comentas de cameraserver.cpp :<br>
<font color="black" face="Tahoma" size="2"><span style="font-size:10pt;" dir="ltr"><br>
std::cout &lt;&lt; &quot;cap.isOpened&quot;&lt;&lt; cap.isOpened() &lt;&lt; std::endl; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(cap.isOpened()){<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; replyTask = new ReplyTask(this);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; replyTask-&gt;start(); // my own thread<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }else{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit(-1);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></font><br>
Y es necesario que cap.isOpened sea distinto de 0 para que entre dentro de la condición if y continúe ejecutando.<br>
Mi problema es que cuando lanzo mi componente para trabajar con&nbsp; cameraserver se actualiza la imagen cada mucho tiempo:<br>
./cameraserver --Ice.Config=cameraserver.cfg<br>
Constructor CameraI -&gt; CameraSrv.Camera.0.<br>
URI: 0<br>
HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP<br>
cap.isOpened1<br>
safeThread<br>
33<br>
<br>
Y me da este error : HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP, este problema ¿puede ser&nbsp; algo que ocurre con Ice,?<br>
<br>
Un saludo y gracias,<br>
<br>
Ildefonso González Sánchez<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF536584"><font color="#000000" face="Tahoma" size="2"><b>De:</b> jde-developers-bounces@gsyc.es [jde-developers-bounces@gsyc.es] en nombre de Juan Navarro Bosgos [jnbosgos@gmail.com]<br>
<b>Enviado:</b> lunes, 28 de octubre de 2013 16:43<br>
<b>Para:</b> Desarrolladores Jderobot<br>
<b>Asunto:</b> Re: [Jderobot] Problemas al ejecutar diversos componentes de la rama stable<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hola,
<div><br>
</div>
<div>revisando esta incidencia que comenté, he observado algunos cambios:</div>
<div><br>
</div>
<div>cameraserver ya no me lanza una &quot;Violación de segmento&quot;, pero al ejecutarlo se me cierra ofreciendo la siguiente salida:</div>
<div><br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/cameraserver$ ./cameraserver --Ice.Config=cameraserver.cfg&nbsp;</div>
<div>Constructor CameraI -&gt; CameraSrv.Camera.0.</div>
<div>URI: 0</div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/cameraserver$</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>revisando el código de cameraserver.cpp he observado que el problema parecía ser que la condición de la línea 101 de dicha clase: &quot;if(cap.isOpened())&quot; devolvía cero; para comprobarlo he impreso el estado por pantalla antes de que entrase a la condición
 y tras sus asignación en las líneas 96 a 99, mediante &quot;std::cout &lt;&lt; &quot;cap.isOpened: &quot; &lt;&lt; cap.isOpened() &lt;&lt; std::endl;&quot;, obteniendo:&nbsp;</div>
<div><br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>cap.isOpened: 0<br>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>el fichero de configuración utilizado es el que está en el repositorio; en el portátil que lo ejecuto hay una webcam integrada, y en versiones anteriores de jderobot el componente me funcionaba utilizando como Uri '/dev/video0' (si utilizo dicha uri ahora
 me salta la Violación de segmento), se supone que el '0' que aparece en el fichero de configuración hace referencia a dicha ruta; entonces no sé cómo solucionarlo para que abra el capturador de video y no se termine la ejecución.</div>
<div><br>
</div>
<div><br>
</div>
<div>Luego con respecto a openniServer, como utilizo Kinect como sensor RGBD, no me podía funcionar ya que OpenNI2 no lo soporta; así que debía utilizar openni1Server. Utilizando un kinect real, openni1Server lo detecta pero se produce un fallo por TimeOut
 mientras espera datos nuevos, y la mayoría de las veces termina la ejecución inesperadamente con una Violación de segmento, otras pocas se queda ejecutando pero lanzando avisos de timeouts de las distintas cámaras:</div>
<div><br>
</div>
<div>Sin violación de segmento:</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/openni1Server$ ./openni1Server --Ice.Config=openni1Server.cfg&nbsp;</div>
<div>-! 10/28/13 17:29:17.519 warning: found unknown properties for object adapter `openni1Server':</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraDEPTH</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraDEPTH.Format</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openni1Server.CameraDEPTH.Name" target="_blank">openni1Server.CameraDEPTH.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraDEPTH.fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraRGB</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraRGB.Format</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openni1Server.CameraRGB.Name" target="_blank">openni1Server.CameraRGB.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraRGB.fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Height</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.KinectLedsActive</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.NCameras</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.PlayerDetection</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Pose3DMotorsActive</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Width</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.calibration</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.deviceId</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.pointCloud.Fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.pointCloudActive</div>
<div>Selected device: 0</div>
<div>NCAMERAS = 2</div>
<div>Found device: vendor PrimeSense name SensorKinect</div>
<div>Number of detected devices: 1</div>
<div>[Device 0] PrimeSense, SensorKinect, serial=A00365905701052A</div>
<div>Creating camera cameraA</div>
<div>openni1Server.CameraRGB.PlayerDetection</div>
<div>Starting thread for camera: cameraA</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------- openni1Server: Component: CameraRGB created successfully &nbsp; --------</div>
<div>Creating camera cameraB</div>
<div>Starting thread for camera: cameraB</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------- openni1Server: Component: CameraDEPTH created successfully &nbsp; --------</div>
<div>Creating pointcloud1 pointcloud1</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------- openni1Server: Component: PointCloud created successfully &nbsp; --------</div>
<div>CREADO</div>
<div>FPS: 10</div>
<div>------------------------------------------------------</div>
<div>Camera&nbsp;</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;Position: (X,Y,Z,H)=(1895.0,4983.0,857.0,1.0)</div>
<div>&nbsp; &nbsp; &nbsp;Focus of Attention: (x,y,z,h)=(4633.0,642.0,1088.0,1.0)</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;Focus DistanceX(vertical): 515.0 mm</div>
<div>&nbsp; &nbsp; &nbsp;Focus DistanceY(horizontal): 515.0 mm</div>
<div>&nbsp; &nbsp; &nbsp;Skew: 0.00000&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp;Optical Center: (x,y)=(219.0,323.0)</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;K Matrix: | 515.0 0.0 219.0 0.0 |</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.0 515.0 323.0 0.0 |</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.0 0.0 1.0 0.0 |</div>
<div><br>
</div>
<div><span class="" style="white-space:pre"></span>R&amp;T Matrix: | -0.0 0.0 1.0 -1000.2 |</div>
<div><span class="" style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | -0.8 -0.5 0.0 4261.1 |</div>
<div><span class="" style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 0.5 -0.8 0.0 3162.0 |</div>
<div><span class="" style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 0.0 0.0 0.0 1.0 |</div>
<div><br>
</div>
<div>------------------------------------------------------</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>-------- openni1Server: WARNING- DEPTH timeout-</div>
<div>-------- openni1Server: WARNING- POINTCLOUD timeout-</div>
<div>-------- openni1Server: WARNING- RGB timeout-</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>-------- openni1Server: WARNING- POINTCLOUD timeout-</div>
<div>-------- openni1Server: WARNING- DEPTH timeout-</div>
<div>-------- openni1Server: WARNING- RGB timeout-</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>-------- openni1Server: WARNING- POINTCLOUD timeout-</div>
<div>-------- openni1Server: WARNING- DEPTH timeout-</div>
<div>-------- openni1Server: WARNING- RGB timeout-</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>-------- openni1Server: WARNING- POINTCLOUD timeout-</div>
<div>-------- openni1Server: WARNING- DEPTH timeout-</div>
<div>-------- openni1Server: WARNING- RGB timeout-</div>
<div>-------- openni1Server: WARNING- RGB timeout-</div>
<div>-------- openni1Server: WARNING- POINTCLOUD timeout-</div>
<div>-------- openni1Server: WARNING- DEPTH timeout-</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>-------- openni1Server: WARNING- POINTCLOUD timeout-</div>
<div>-------- openni1Server: WARNING- DEPTH timeout-</div>
<div>-------- openni1Server: WARNING- RGB timeout-</div>
<div>^C<br>
</div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/openni1Server$</div>
</blockquote>
</div>
<div><br>
</div>
<div>Con violación de segmento:</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/openni1Server$ ./openni1Server --Ice.Config=openni1Server.cfg&nbsp;</div>
<div>-! 10/28/13 17:31:16.425 warning: found unknown properties for object adapter `openni1Server':</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraDEPTH</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraDEPTH.Format</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openni1Server.CameraDEPTH.Name" target="_blank">openni1Server.CameraDEPTH.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraDEPTH.fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraRGB</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraRGB.Format</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openni1Server.CameraRGB.Name" target="_blank">openni1Server.CameraRGB.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.CameraRGB.fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Height</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.KinectLedsActive</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.NCameras</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.PlayerDetection</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Pose3DMotorsActive</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.Width</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.calibration</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.deviceId</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.pointCloud.Fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openni1Server.pointCloudActive</div>
<div>Selected device: 0</div>
<div>NCAMERAS = 2</div>
<div>Found device: vendor PrimeSense name SensorKinect</div>
<div>Number of detected devices: 1</div>
<div>[Device 0] PrimeSense, SensorKinect, serial=A00365905701052A</div>
<div>Creating camera cameraA</div>
<div>openni1Server.CameraRGB.PlayerDetection</div>
<div>Starting thread for camera: cameraA</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------- openni1Server: Component: CameraRGB created successfully &nbsp; --------</div>
<div>Creating camera cameraB</div>
<div>Starting thread for camera: cameraB</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------- openni1Server: Component: CameraDEPTH created successfully &nbsp; --------</div>
<div>Creating pointcloud1 pointcloud1</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -------- openni1Server: Component: PointCloud created successfully &nbsp; --------</div>
<div>FPS: 10</div>
<div>CREADO</div>
<div>------------------------------------------------------</div>
<div>Camera&nbsp;</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;Position: (X,Y,Z,H)=(1895.0,4983.0,857.0,1.0)</div>
<div>&nbsp; &nbsp; &nbsp;Focus of Attention: (x,y,z,h)=(4633.0,642.0,1088.0,1.0)</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;Focus DistanceX(vertical): 515.0 mm</div>
<div>&nbsp; &nbsp; &nbsp;Focus DistanceY(horizontal): 515.0 mm</div>
<div>&nbsp; &nbsp; &nbsp;Skew: 0.00000&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp;Optical Center: (x,y)=(219.0,323.0)</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;K Matrix: | 515.0 0.0 219.0 0.0 |</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.0 515.0 323.0 0.0 |</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 0.0 0.0 1.0 0.0 |</div>
<div><br>
</div>
<div><span class="" style="white-space:pre"></span>R&amp;T Matrix: | -0.0 0.0 1.0 -1000.2 |</div>
<div><span class="" style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | -0.8 -0.5 0.0 4261.1 |</div>
<div><span class="" style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 0.5 -0.8 0.0 3162.0 |</div>
<div><span class="" style="white-space:pre"></span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 0.0 0.0 0.0 1.0 |</div>
<div><br>
</div>
<div>------------------------------------------------------</div>
<div>WaitAnyUpdateAll() failed failed: A timeout has occurred when waiting for new data!</div>
<div>Violación de segmento (`core' generado)</div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/openni1Server$</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Si alguno sabéis como solucionar alguno de los 2 problemas, o por dónde puede estar el fallo, os lo agradecería.</div>
<div><br>
</div>
<div>Saludos,</div>
<div>Juan</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/10/8 Juan Navarro Bosgos <span dir="ltr">&lt;<a href="mailto:jnbosgos@gmail.com" target="_blank">jnbosgos@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Hola,
<div><br>
</div>
<div>tras el problema con basic_component al compilar todo jderobot [1], he utilizado el método de compilación por componentes para compilar todos menos ese (basic_component) y el make ha resultado bien.</div>
<div><br>
</div>
<div>Ahora el problema lo tengo al ejecutar los componentes, al menos los que he probado; y tras pegarme con ficheros de configuración, la wiki y mirar los códigos de los componentes, he decidido comentarlo a ver si alguien sabe por dónde puede estar el problema.</div>
<div>El único que consigo hacer funcionar es el plugin de kinect en gazebo 1.7.3. Los problemas los tengo con (los ficheros de las salidas en general son los del repositorio, aunque modificándolos obtengo los mismos resultados):</div>
<div><br>
</div>
<div>cameraserver probado conectado a la webcam del portatil (también he probado con un video dándole la ruta, con los mismos resultados) :<br>
</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/cameraserver$ ./cameraserver --Ice.Config=cameraserver.cfg&nbsp;</div>
<div>Constructor CameraI -&gt; CameraSrv.Camera.0.</div>
<div>URI: v4l2:///dev/video0</div>
<div>Violación de segmento (`core' generado)</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>openniServer con un kinect real:</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/openniServer$ ./openniServer --Ice.Config=openniServer.cfg&nbsp;</div>
<div>-! 10/08/13 21:59:39.670 warning: found unknown properties for object adapter `openniServer':</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraDEPTH</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraDEPTH.Format</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraDEPTH.Mirror</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openniServer.CameraDEPTH.Name" target="_blank">openniServer.CameraDEPTH.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraDEPTH.PlayerDetection</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraDEPTH.fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraIR</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraRGB</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraRGB.Format</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraRGB.Mirror</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openniServer.CameraRGB.Name" target="_blank">openniServer.CameraRGB.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraRGB.PlayerDetection</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.CameraRGB.fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.ImageRegistration</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.KinectLedsActive</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.Mode</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.NCameras</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.PlayerDetection</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;<a href="http://openniServer.PointCloud.Name" target="_blank">openniServer.PointCloud.Name</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.Pose3DMotorsActive</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.deviceId</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.pointCloud.Fps</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;openniServer.pointCloudActive</div>
<div>Selected device: 0</div>
<div>NCAMERAS = 2</div>
<div>Missing devices</div>
<div>0 : Couldn't open device ����1: <span style="white-space:pre-wrap"></span>DeviceOpen: Couldn't open device '����1'</div>
<div><br>
</div>
<div>Violación de segmento (`core' generado)</div>
</blockquote>
</div>
<div><br>
</div>
<div>recorder conectado a gazebo con el plugin de kinect:</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/recorder$ ./recorder --Ice.Config=simulatedKinect.cfg</div>
<div>Outgoing.cpp:424: Ice::ObjectNotExistException:</div>
<div>object does not exist:</div>
<div>identity: `CameraI'</div>
<div>facet:&nbsp;</div>
<div>operation: ice_isA</div>
<div>0</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>kinectViewer conectado a gazebo con plugin de kinect:</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/kinectViewer$ ./kinectViewer --Ice.Config=kinectViewer.cfg</div>
<div>Outgoing.cpp:424: Ice::ObjectNotExistException:</div>
<div>object does not exist:</div>
<div>identity: `CameraI'</div>
<div>facet:&nbsp;</div>
<div>operation: ice_isA</div>
<div>terminate called after throwing an instance of 'IceUtil::NullHandleException'</div>
<div>&nbsp; what(): &nbsp;/usr/include/IceUtil/Handle.h:46: IceUtil::NullHandleException</div>
<div>Abortado (`core' generado)</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div><br>
</div>
<div>La salida de la ejecución de gazebo con el plugin de kinect al que conecto algunos de los componentes anteriores, por si puede ser de utilidad, es:</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>jnbosgos@teleko:~/pfc/jderobot/trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect$ gazebo kinect.world&nbsp;</div>
<div>Gazebo multi-robot simulator, version 1.7.3</div>
<div>Copyright (C) 2013 Open Source Robotics Foundation.</div>
<div>Released under the Apache 2 License.</div>
<div><a href="http://gazebosim.org" target="_blank">http://gazebosim.org</a></div>
<div><br>
</div>
<div>Gazebo multi-robot simulator, version 1.7.3</div>
<div>Copyright (C) 2013 Open Source Robotics Foundation.</div>
<div>Released under the Apache 2 License.</div>
<div><a href="http://gazebosim.org" target="_blank">http://gazebosim.org</a></div>
<div><br>
</div>
<div>Msg Waiting for master.Warning [parser.cc:361] Converting a deprecated SDF source[/home/jnbosgos/pfc/jderobot/trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/kinect.world].</div>
<div>Warning [Converter.cc:58] &nbsp; Version[1.0] to Version[1.4]</div>
<div>&nbsp; Please use the gzsdf tool to update your SDF files.</div>
<div>&nbsp; &nbsp; $ gzsdf convert [sdf_file]</div>
<div>Warning [parser.cc:361] Converting a deprecated SDF source[/home/jnbosgos/.gazebo/models/ground_plane/model.sdf].</div>
<div>Warning [Converter.cc:58] &nbsp; Version[1.2] to Version[1.4]</div>
<div>&nbsp; Please use the gzsdf tool to update your SDF files.</div>
<div>&nbsp; &nbsp; $ gzsdf convert [sdf_file]</div>
<div>Warning [parser.cc:361] Converting a deprecated SDF source[/home/jnbosgos/.gazebo/models/sun/model.sdf].</div>
<div>Warning [Converter.cc:58] &nbsp; Version[1.2] to Version[1.4]</div>
<div>&nbsp; Please use the gzsdf tool to update your SDF files.</div>
<div>&nbsp; &nbsp; $ gzsdf convert [sdf_file]</div>
<div>Msg Waiting for master</div>
<div>Msg Connected to gazebo master @ <a href="http://127.0.0.1:11345" target="_blank">
http://127.0.0.1:11345</a></div>
<div>Msg Publicized address: 192.168.1.108</div>
<div><br>
</div>
<div>Msg Connected to gazebo master @ <a href="http://127.0.0.1:11345" target="_blank">
http://127.0.0.1:11345</a></div>
<div>Msg Publicized address: 192.168.1.108</div>
<div>Kinect Endpoints &gt; default -h localhost -p 9998</div>
<div>Constructor CameraI</div>
<div>safeThread</div>
<div>Constructor CameraDepth</div>
<div>safeThread</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; adapter-&gt;add(object, ic-&gt;stringToIdentity(Kinect));</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>&nbsp;y el fichero de configuración de recorder 'simulatedKinect.cfg':</div>
<div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>Recorder.FileName=datos.jde</div>
<div>Recorder.nCameras=1</div>
<div>Recorder.nDethSensors=1</div>
<div>Recorder.nLasers=0</div>
<div>Recorder.DepthSensor1.Proxy=CameraDepth:tcp -h localhost -p 9998</div>
<div>Recorder.Camera1.Proxy=CameraI:tcp -h localhost -p 9998</div>
<div>Recorder.GUI=1</div>
<div><br>
</div>
<div>Recorder.Hostname=localhost</div>
<div>Recorder.Port=9990</div>
<div>Recorder.Format=png</div>
<div>Recorder.PngCompression=0</div>
<div>#from 0 to 9. A higher value means a smaller size</div>
<div>Recorder.JpgQuality=80</div>
<div># from 0 to 100 (the higher is the better)</div>
<div>Recorder.Laser.Samples=180</div>
<div>Recorder.Hz=10</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>Un saludo,</div>
<div>Juan</div>
<div><br>
</div>
<div>[1]&nbsp;<a href="http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-Problema-con-openniServer-al-hacer-el-make-tp4641664.html" target="_blank">[Jderobot] Problema con openniServer al hacer el make</a></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>