[OpenNI-dev] ROS OpenNI troubleshooting

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[OpenNI-dev] ROS OpenNI troubleshooting

Juan Fernando Herrera J.
Hi. While trying to execute roslaunch openni_camera
openni_kinect.launch I get the following error:

[ros.openni_camera] [ERROR] [OpenNIDriver] Got a timeout while waiting
for a network command to complete!

The log is:

[roscpp_internal] [DEBUG] UDPROS server listening on port [37622]
[roscpp_internal] [DEBUG] Started node [/openni_camera], pid [338],
bound on [ubuntu-vm], xmlrpc port [52463], tcpros port [40887],
logging to [/home/juanfhj/.ros/log/b28a40d0-03e5-11e0-8ead-000c29704d54/openni_camera-2.log],
using [real] time
[roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
(-1): [Parameter [/openni_camera/max_range] is not set]
[roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
(-1): [Parameter [/openni_camera/color_format] is not set]
[roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
(-1): [Parameter [/openni_camera/led] is not set]
[roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
(-1): [Parameter [/openni_camera/tilt] is not set]
[ros.openni_camera] [INFO] [OpenNIDriver] Initialization successful.
[ros.openni_camera] [INFO] [OpenNIDriver] Calibration URLs:
        RGB: file:///home/juanfhj/ni/ni/openni_camera/info/calibration_rgb.yaml
        Depth: file:///home/juanfhj/ni/ni/openni_camera/info/calibration_depth.yaml
[ros.camera_info_manager] [INFO] camera calibration URL:
file:///home/juanfhj/ni/ni/openni_camera/info/calibration_rgb.yaml
[ros.camera_info_manager] [WARN] [camera] does not match name openni
in file /home/juanfhj/ni/ni/openni_camera/info/calibration_rgb.yaml
[roscpp_internal] [DEBUG] Accepted connection on socket [10], new socket [14]
[roscpp_internal] [thread 0xb6811b70]: [DEBUG] TCPROS received a
connection from [127.0.0.1:56077]
[roscpp_internal] [thread 0xb6811b70]: [DEBUG] Connection: Creating
TransportSubscriberLink for topic [/rosout] connected to
[callerid=[/rosout] address=[TCPROS connection to [127.0.0.1:56077 on
socket 14]]]
[ros.camera_info_manager] [INFO] camera calibration URL:
file:///home/juanfhj/ni/ni/openni_camera/info/calibration_depth.yaml
[ros.camera_info_manager] [WARN] [camera] does not match name openni
in file /home/juanfhj/ni/ni/openni_camera/info/calibration_depth.yaml
[roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
(-1): [Parameter [/openni_camera/depth_rgb_rotation] is not set]
[ros.openni_camera] [WARN] Transform between depth and RGB cameras is
not calibrated
[ros.openni_camera] [ERROR] [OpenNIDriver] Got a timeout while waiting
for a network command to complete!
[roscpp_internal] [DEBUG] shutting down service [/openni_camera/set_parameters]
[roscpp_internal] [DEBUG] shutting down service [/camera/depth/set_camera_info]
[roscpp_internal] [DEBUG] shutting down service [/camera/rgb/set_camera_info]
[roscpp_internal] [DEBUG] Shutting down roscpp
[roscpp_internal] [DEBUG] Shutting down topics...
[roscpp_internal] [DEBUG]   shutting down publishers
[roscpp_internal] [DEBUG] Connection to subscriber [callerid=[/rosout]
address=[TCPROS connection to [127.0.0.1:56077 on socket 14]]] to
topic [/rosout] dropped
[roscpp_internal] [DEBUG] TCP socket [14] closed
[roscpp_internal] [DEBUG]   shutting down subscribers
[roscpp_internal] [DEBUG] ServiceManager::shutdown(): unregistering
our advertised services
[roscpp_internal] [DEBUG] UDP socket [11] closed
[roscpp_internal] [DEBUG] TCP socket [10] closed
[roscpp_internal] [DEBUG] Shutdown finished

Thanks, JH

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

rusu
Administrator
Were the openni and ps_engine packages correctly compiled?

Can you please double check and let us know whether you're running the latest git version (git pull) and also the output
of the following commands:

$ ldd `rospack find ps_engine`/bin
$ ldd `rospack find ps_engine`/lib
$ ldd `rospack find openni`/bin
$ ldd `rospack find openni`/lib


Cheers,
Radu.
--
http://pointclouds.org

On 12/09/2010 02:58 PM, Juan Fernando Herrera J. wrote:

> Hi. While trying to execute roslaunch openni_camera
> openni_kinect.launch I get the following error:
>
> [ros.openni_camera] [ERROR] [OpenNIDriver] Got a timeout while waiting
> for a network command to complete!
>
> The log is:
>
> [roscpp_internal] [DEBUG] UDPROS server listening on port [37622]
> [roscpp_internal] [DEBUG] Started node [/openni_camera], pid [338],
> bound on [ubuntu-vm], xmlrpc port [52463], tcpros port [40887],
> logging to [/home/juanfhj/.ros/log/b28a40d0-03e5-11e0-8ead-000c29704d54/openni_camera-2.log],
> using [real] time
> [roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
> (-1): [Parameter [/openni_camera/max_range] is not set]
> [roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
> (-1): [Parameter [/openni_camera/color_format] is not set]
> [roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
> (-1): [Parameter [/openni_camera/led] is not set]
> [roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
> (-1): [Parameter [/openni_camera/tilt] is not set]
> [ros.openni_camera] [INFO] [OpenNIDriver] Initialization successful.
> [ros.openni_camera] [INFO] [OpenNIDriver] Calibration URLs:
> RGB: file:///home/juanfhj/ni/ni/openni_camera/info/calibration_rgb.yaml
> Depth: file:///home/juanfhj/ni/ni/openni_camera/info/calibration_depth.yaml
> [ros.camera_info_manager] [INFO] camera calibration URL:
> file:///home/juanfhj/ni/ni/openni_camera/info/calibration_rgb.yaml
> [ros.camera_info_manager] [WARN] [camera] does not match name openni
> in file /home/juanfhj/ni/ni/openni_camera/info/calibration_rgb.yaml
> [roscpp_internal] [DEBUG] Accepted connection on socket [10], new socket [14]
> [roscpp_internal] [thread 0xb6811b70]: [DEBUG] TCPROS received a
> connection from [127.0.0.1:56077]
> [roscpp_internal] [thread 0xb6811b70]: [DEBUG] Connection: Creating
> TransportSubscriberLink for topic [/rosout] connected to
> [callerid=[/rosout] address=[TCPROS connection to [127.0.0.1:56077 on
> socket 14]]]
> [ros.camera_info_manager] [INFO] camera calibration URL:
> file:///home/juanfhj/ni/ni/openni_camera/info/calibration_depth.yaml
> [ros.camera_info_manager] [WARN] [camera] does not match name openni
> in file /home/juanfhj/ni/ni/openni_camera/info/calibration_depth.yaml
> [roscpp_internal] [DEBUG] XML-RPC call [getParam] returned an error
> (-1): [Parameter [/openni_camera/depth_rgb_rotation] is not set]
> [ros.openni_camera] [WARN] Transform between depth and RGB cameras is
> not calibrated
> [ros.openni_camera] [ERROR] [OpenNIDriver] Got a timeout while waiting
> for a network command to complete!
> [roscpp_internal] [DEBUG] shutting down service [/openni_camera/set_parameters]
> [roscpp_internal] [DEBUG] shutting down service [/camera/depth/set_camera_info]
> [roscpp_internal] [DEBUG] shutting down service [/camera/rgb/set_camera_info]
> [roscpp_internal] [DEBUG] Shutting down roscpp
> [roscpp_internal] [DEBUG] Shutting down topics...
> [roscpp_internal] [DEBUG]   shutting down publishers
> [roscpp_internal] [DEBUG] Connection to subscriber [callerid=[/rosout]
> address=[TCPROS connection to [127.0.0.1:56077 on socket 14]]] to
> topic [/rosout] dropped
> [roscpp_internal] [DEBUG] TCP socket [14] closed
> [roscpp_internal] [DEBUG]   shutting down subscribers
> [roscpp_internal] [DEBUG] ServiceManager::shutdown(): unregistering
> our advertised services
> [roscpp_internal] [DEBUG] UDP socket [11] closed
> [roscpp_internal] [DEBUG] TCP socket [10] closed
> [roscpp_internal] [DEBUG] Shutdown finished
>
> Thanks, JH
>

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

Juan Fernando Herrera J.
The outputs are like these:


juanfhj@ubuntu-vm:~/Desktop/ros-kinect$ ldd `rospack find ps_engine`/bin/*
/home/juanfhj/ni/ni/ps_engine/bin/Log:
ldd: /home/juanfhj/ni/ni/ps_engine/bin/Log: not regular file
/home/juanfhj/ni/ni/ps_engine/bin/XnSensorServer:
        linux-gate.so.1 =>  (0x00b8c000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00822000)
        libXnCore.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnCore.so (0x00dec000)
        libXnFormats.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnFormats.so
(0x00795000)
        libXnDDK.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnDDK.so (0x001a1000)
        libXnDeviceSensorV2.so =>
/home/juanfhj/ni/ni/ps_engine/lib/libXnDeviceSensorV2.so (0x009fd000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001f7000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00cb9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00bd8000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002ed000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00f09000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0075c000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0092c000)
        /lib/ld-linux.so.2 (0x00ac9000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00110000)


juanfhj@ubuntu-vm:~/Desktop/ros-kinect$ ldd `rospack find ps_engine`/lib/*
/home/juanfhj/ni/ni/ps_engine/lib/GlobalDefaults.ini:
        not a dynamic executable
/home/juanfhj/ni/ni/ps_engine/lib/libXnCore.so:
        linux-gate.so.1 =>  (0x003f2000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00164000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x003fa000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00a3b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x005ba000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x001ca000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00110000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00cb2000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00d68000)
        /lib/ld-linux.so.2 (0x00ce1000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00a85000)
/home/juanfhj/ni/ni/ps_engine/lib/libXnDDK.so:
        linux-gate.so.1 =>  (0x0092a000)
        libXnCore.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnCore.so (0x00d43000)
        libXnFormats.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnFormats.so
(0x00c15000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00628000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00206000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0022c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0024b000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00d79000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00df7000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x003a5000)
        /lib/ld-linux.so.2 (0x00419000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00479000)
/home/juanfhj/ni/ni/ps_engine/lib/libXnDeviceFile.so:
        linux-gate.so.1 =>  (0x00190000)
        libXnCore.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnCore.so (0x006ea000)
        libXnFormats.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnFormats.so
(0x00b1e000)
        libXnDDK.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnDDK.so (0x00e99000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x0050f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00799000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00919000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0015a000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00253000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00110000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0011d000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00782000)
        /lib/ld-linux.so.2 (0x0043a000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00121000)
/home/juanfhj/ni/ni/ps_engine/lib/libXnDeviceSensorV2.so:
        linux-gate.so.1 =>  (0x00c26000)
        libXnCore.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnCore.so (0x007fe000)
        libXnFormats.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnFormats.so
(0x00474000)
        libXnDDK.so => /home/juanfhj/ni/ni/ps_engine/lib/libXnDDK.so (0x00110000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00af1000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00166000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00a51000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0060e000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0062d000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x0025c000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0051e000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0036d000)
        /lib/ld-linux.so.2 (0x0039a000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00269000)
/home/juanfhj/ni/ni/ps_engine/lib/libXnFormats.so:
        linux-gate.so.1 =>  (0x0099e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x009f9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00fa1000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00d88000)
        /lib/ld-linux.so.2 (0x009af000)


juanfhj@ubuntu-vm:~/Desktop/ros-kinect$ ldd `rospack find openni`/bin/*
/home/juanfhj/ni/ni/openni/bin/libSample-NiSampleModule.so:
        linux-gate.so.1 =>  (0x00d84000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00a8a000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00365000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0055c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00c9c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x001cd000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00110000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0011d000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00e63000)
        /lib/ld-linux.so.2 (0x00791000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0093c000)
/home/juanfhj/ni/ni/openni/bin/niLicense:
        linux-gate.so.1 =>  (0x00839000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00cec000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0038c000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00f9c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00228000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00482000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00110000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00bbb000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x002df000)
        /lib/ld-linux.so.2 (0x00be3000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0011d000)
/home/juanfhj/ni/ni/openni/bin/niReg:
        linux-gate.so.1 =>  (0x00c2a000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00d80000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00206000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0022c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00623000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x0047b000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00f98000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x003fd000)
        /lib/ld-linux.so.2 (0x007e3000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00300000)
/home/juanfhj/ni/ni/openni/bin/NiViewer:
        linux-gate.so.1 =>  (0x006b3000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00bdc000)
        libglut.so.3 => /usr/lib/libglut.so.3 (0x00798000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00370000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0043f000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00a12000)
        libGL.so.1 => /usr/lib/mesa/libGL.so.1 (0x00516000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x002c0000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0058d000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0078c000)
        /lib/ld-linux.so.2 (0x005da000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x0099f000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x007ce000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00e77000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00ef5000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00206000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00fbd000)
        libdrm.so.2 => /lib/libdrm.so.2 (0x0020a000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x003f5000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00711000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00215000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0061b000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiAudioSample:
        linux-gate.so.1 =>  (0x00f4f000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x007cc000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001d9000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00168000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00c6c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x008fb000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x008eb000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00453000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00aae000)
        /lib/ld-linux.so.2 (0x00569000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x004bf000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiBackRecorder:
        linux-gate.so.1 =>  (0x0022e000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00c13000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x007fc000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00b2d000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00a1c000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0022f000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00110000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0019a000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0011d000)
        /lib/ld-linux.so.2 (0x004c8000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00164000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiConvertXToONI:
        linux-gate.so.1 =>  (0x00e1a000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00c49000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0023f000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00fc3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00ef9000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x007e4000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00944000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0052b000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00baf000)
        /lib/ld-linux.so.2 (0x00be9000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00110000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiCRead:
        linux-gate.so.1 =>  (0x0049d000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x0058c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0084e000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x009e0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00df8000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x0026a000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x006f1000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00557000)
        /lib/ld-linux.so.2 (0x00961000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00761000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiRecordSynthetic:
        linux-gate.so.1 =>  (0x004a3000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00c78000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00ed5000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00a00000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0067d000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00161000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00776000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x005d1000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00fd5000)
        /lib/ld-linux.so.2 (0x00144000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00110000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiSimpleCreate:
        linux-gate.so.1 =>  (0x00b93000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00e17000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00770000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00110000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00709000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00c49000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00a9c000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00136000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0044c000)
        /lib/ld-linux.so.2 (0x00488000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0098c000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiSimpleRead:
        linux-gate.so.1 =>  (0x00b2c000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00c34000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0094e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0041f000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00486000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00206000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00cd4000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0088f000)
        /lib/ld-linux.so.2 (0x00ce8000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00e78000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiSimpleViewer:
        linux-gate.so.1 =>  (0x00401000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00570000)
        libglut.so.3 => /usr/lib/libglut.so.3 (0x00270000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00913000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00e31000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00110000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002a6000)
        libGL.so.1 => /usr/lib/mesa/libGL.so.1 (0x0040a000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x007e9000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0012f000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00133000)
        /lib/ld-linux.so.2 (0x00dfa000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x0013c000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x0014c000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x008c9000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00d08000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x0082e000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00eaf000)
        libdrm.so.2 => /lib/libdrm.so.2 (0x004ac000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0086b000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00b9c000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00aa4000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0090c000)
/home/juanfhj/ni/ni/openni/bin/Sample-NiUserTracker:
        linux-gate.so.1 =>  (0x00159000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00c91000)
        libglut.so.3 => /usr/lib/libglut.so.3 (0x00df7000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00b7e000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0033c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00725000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0015a000)
        libGL.so.1 => /usr/lib/mesa/libGL.so.1 (0x00ead000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00110000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x006b9000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0011d000)
        /lib/ld-linux.so.2 (0x00572000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00126000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00362000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00981000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00a2a000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00136000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x0013a000)
        libdrm.so.2 => /lib/libdrm.so.2 (0x00a4d000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00140000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x002b4000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x002ce000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x004ce000)



juanfhj@ubuntu-vm:~/Desktop/ros-kinect$ ldd `rospack find openni`/lib/*
/home/juanfhj/ni/ni/openni/lib/libnimCodecs.so:
        linux-gate.so.1 =>  (0x00c8a000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x007fa000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0038d000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0017c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x001a2000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x001c1000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00ae9000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x009ad000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00db1000)
        /lib/ld-linux.so.2 (0x00897000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00f1b000)
/home/juanfhj/ni/ni/openni/lib/libnimMockNodes.so:
        linux-gate.so.1 =>  (0x00605000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00c8b000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00e56000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00811000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b1b000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002a1000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00553000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0088e000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00110000)
        /lib/ld-linux.so.2 (0x00a61000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00119000)
/home/juanfhj/ni/ni/openni/lib/libnimRecorder.so:
        linux-gate.so.1 =>  (0x00f1d000)
        libOpenNI.so => /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00b30000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0088d000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x006a1000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00206000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00360000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00749000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00cd2000)
        /lib/ld-linux.so.2 (0x00a37000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00d00000)
/home/juanfhj/ni/ni/openni/lib/libOpenNI.so:
        linux-gate.so.1 =>  (0x00c93000)
        libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0x00958000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0014d000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00ab4000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00151000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x002d9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0052d000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x002ff000)
        /lib/ld-linux.so.2 (0x00488000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00e48000)
/home/juanfhj/ni/ni/openni/lib/licenses.xml:
        not a dynamic executable
/home/juanfhj/ni/ni/openni/lib/modules.xml:
        not a dynamic executable
/home/juanfhj/ni/ni/openni/lib/SamplesConfig.xml:
        not a dynamic executable

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

rusu
Administrator
This looks good. What about?

$ ls -lsaR /dev/bus/usb/*



Cheers,
Radu.
--
http://pointclouds.org

On 12/09/2010 03:26 PM, Juan Fernando Herrera J. wrote:
> -gate.so.1 =>   (0x00b8c000)
> libOpenNI.so =>  /home/juanfhj/ni/ni/openni/lib/libOpenNI.so (0x00822000)
> libXnCore.so =>  /home/juanfhj/ni/ni/ps_engine/lib/libXnCore.so (0x00dec000)
> libXnFormats.so =>  /home/juanfhj/ni/ni/ps_engine/lib/libXnFormats.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

Juan Fernando Herrera J.
It is:

juanfhj@ubuntu-vm:~/Desktop/ros-kinect$ ls -lsaR /dev/bus/usb/*
/dev/bus/usb/001:
total 0
0 drwxr-xr-x 2 root root      120 2010-12-09 18:41 .
0 drwxr-xr-x 4 root root       80 2010-12-09 16:55 ..
0 crw-rw-r-- 1 root root  189,  0 2010-12-09 16:55 001
0 crw-rw-rw- 1 root users 189, 30 2010-12-09 18:41 031
0 crw-rw-rw- 1 root users 189, 31 2010-12-09 18:41 032
0 crw-rw-r-- 1 root root  189, 32 2010-12-09 18:41 033

/dev/bus/usb/002:
total 0
0 drwxr-xr-x 2 root root       100 2010-12-09 18:41 .
0 drwxr-xr-x 4 root root        80 2010-12-09 16:55 ..
0 crw-rw-r-- 1 root root  189, 128 2010-12-09 16:55 001
0 crw-rw-r-- 1 root root  189, 129 2010-12-09 16:55 002
0 crw-rw-rw- 1 root users 189, 142 2010-12-09 18:41 015

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

rusu
Administrator
Got it.


On 12/09/2010 03:43 PM, Juan Fernando Herrera J. wrote:

> It is:
>
> juanfhj@ubuntu-vm:~/Desktop/ros-kinect$ ls -lsaR /dev/bus/usb/*
> /dev/bus/usb/001:
> total 0
> 0 drwxr-xr-x 2 root root      120 2010-12-09 18:41 .
> 0 drwxr-xr-x 4 root root       80 2010-12-09 16:55 ..
> 0 crw-rw-r-- 1 root root  189,  0 2010-12-09 16:55 001
> 0 crw-rw-rw- 1 root users 189, 30 2010-12-09 18:41 031
> 0 crw-rw-rw- 1 root users 189, 31 2010-12-09 18:41 032
> 0 crw-rw-r-- 1 root root  189, 32 2010-12-09 18:41 033
>
> /dev/bus/usb/002:
> total 0
> 0 drwxr-xr-x 2 root root       100 2010-12-09 18:41 .
> 0 drwxr-xr-x 4 root root        80 2010-12-09 16:55 ..
> 0 crw-rw-r-- 1 root root  189, 128 2010-12-09 16:55 001
> 0 crw-rw-r-- 1 root root  189, 129 2010-12-09 16:55 002

This is the error. Your sensor is most likely allocated a device in /dev/bus/usb/002/*, but your user has no write
access to it, so OpenNI fails. The correct solution is to set a udev rule as shown on www.ros.org/wiki/ni. Alternatively
you can just sudo chmod a+rw everytime, but that's a pain. Or give your user uid or gid 0 (uh oh, I did not just say
that :) ).

> 0 crw-rw-rw- 1 root users 189, 142 2010-12-09 18:41 015
>

Cheers,
Radu.
--
http://pointclouds.org

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

Juan Fernando Herrera J.
Prior to attaching the kinect the permissions look like

juanfhj@ubuntu-vm:/etc$ ls -lsaR /dev/bus/usb/*
/dev/bus/usb/001:
total 0
0 drwxr-xr-x 2 root root     60 2010-12-09 19:23 .
0 drwxr-xr-x 4 root root     80 2010-12-09 19:09 ..
0 crw-rw-r-- 1 root root 189, 0 2010-12-09 19:09 001

/dev/bus/usb/002:
total 0
0 drwxr-xr-x 2 root root       80 2010-12-09 19:22 .
0 drwxr-xr-x 4 root root       80 2010-12-09 19:09 ..
0 crw-rw-r-- 1 root root 189, 128 2010-12-09 19:09 001
0 crw-rw-r-- 1 root root 189, 129 2010-12-09 19:09 002

After connecting, it's

juanfhj@ubuntu-vm:/etc$ ls -lsaR /dev/bus/usb/*
/dev/bus/usb/001:
total 0
0 drwxr-xr-x 2 root root      100 2010-12-09 19:25 .
0 drwxr-xr-x 4 root root       80 2010-12-09 19:09 ..
0 crw-rw-r-- 1 root root  189,  0 2010-12-09 19:09 001
0 crw-rw-rw- 1 root users 189, 11 2010-12-09 19:25 012
0 crw-rw-rw- 1 root users 189, 12 2010-12-09 19:25 013

/dev/bus/usb/002:
total 0
0 drwxr-xr-x 2 root root       100 2010-12-09 19:25 .
0 drwxr-xr-x 4 root root        80 2010-12-09 19:09 ..
0 crw-rw-r-- 1 root root  189, 128 2010-12-09 19:09 001
0 crw-rw-r-- 1 root root  189, 129 2010-12-09 19:09 002
0 crw-rw-rw- 1 root users 189, 132 2010-12-09 19:25 005

Is it ok that way?

Also, after install I'm trying to look at the point cloud using the
Add button, then adding Point Cloud and Point Cloud 2. Is that ok?
Thanks

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

Juan Fernando Herrera J.
Sometimes I get another error. The output is

Transform matrix:
526.4 0 -175.5 1.728e+04
0 526.4 0 2.366e+04
0 0 0 585.1

[ INFO] [1291941880.481044940]: [OpenNIDriver] Pixel size: 0.1042
[ INFO] [1291941880.481366547]: [OpenNIDriver] Virtual plane distance: 120
[ INFO] [1291941880.481437323]: [OpenNIDriver] Base line: 7.5
[ INFO] [1291941880.482616392]: [OpenNIDriver] FPS: 30
[ERROR] [1291941910.561967760]: [OpenNIDriver::start] Error in start
(): Xiron OS got an event timeout!

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|

Re: [OpenNI-dev] ROS OpenNI troubleshooting

rusu
Administrator
Git pull, remake openni_camera, and make sure that your /dev/bus/* permissions are set correctly.

http://www.ros.org/wiki/ni#USB_Setup

Cheers,
Radu.
--
http://pointclouds.org

On 12/09/2010 04:47 PM, Juan Fernando Herrera J. wrote:

> Sometimes I get another error. The output is
>
> Transform matrix:
> 526.4 0 -175.5 1.728e+04
> 0 526.4 0 2.366e+04
> 0 0 0 585.1
>
> [ INFO] [1291941880.481044940]: [OpenNIDriver] Pixel size: 0.1042
> [ INFO] [1291941880.481366547]: [OpenNIDriver] Virtual plane distance: 120
> [ INFO] [1291941880.481437323]: [OpenNIDriver] Base line: 7.5
> [ INFO] [1291941880.482616392]: [OpenNIDriver] FPS: 30
> [ERROR] [1291941910.561967760]: [OpenNIDriver::start] Error in start
> (): Xiron OS got an event timeout!
>

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.