ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

openni and Xtion

asked 2014-05-02 05:34:15 -0500

Maya gravatar image

updated 2014-05-11 08:17:45 -0500

Hellow,

I'm tying to use Openni with my Xtion on fedora but until now no luck.

Fedora

UPDATE

I though it was time to update this topic concerning Fedora. I reinstalled my ros system from the stable repository given by @cottsay (Thanks a lot !) (and I hope I didn't install it wrong :S) and now I have the same issu for Openni and Openni 2.

Here is the error message when using roslaunch openni_launch openni_launch (or openni2_launch)

core service [/rosout] found
process[camera/camera_nodelet_manager-1]: started with pid [5425]
[ INFO] [1399810166.488640310]: Initializing nodelet with 4 worker threads.
process[camera/driver-2]: started with pid [5446]
[ERROR] [1399810166.563107584]: Failed to load nodelet [/camera/driver] of type [openni_camera/driver]: According to the loaded plugin descriptions the class openni_camera/driver with base class type nodelet::Nodelet does not exist. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus pcl/BAGReader pcl/ExtractIndices pcl/NodeletDEMUX pcl/NodeletMUX pcl/PCDReader pcl/PCDWriter pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/ProjectInliers pcl/StatisticalOutlierRemoval pcl/VoxelGrid stereo_image_proc/disparity stereo_image_proc/point_cloud stereo_image_proc/point_cloud2
[FATAL] [1399810166.563287813]: Service call failed!
process[camera/debayer-3]: started with pid [5460]
process[camera/rectify_mono-4]: started with pid [5473]
process[camera/rectify_color-5]: started with pid [5492]
process[camera/rectify_ir-6]: started with pid [5505]
[camera/driver-2] process has died [pid 5446, exit code 255, cmd /opt/ros/hydro/lib/nodelet/nodelet load openni_camera/driver camera_nodelet_manager --no-bond ir:=ir rgb:=rgb depth:=depth depth_registered:=depth_registered projector:=projector __name:=driver __log:=/home/malcolm/.ros/log/ef2267be-d904-11e3-9dd7-dc85de5a9ca4/camera-driver-2.log].
log file: /home/malcolm/.ros/log/ef2267be-d904-11e3-9dd7-dc85de5a9ca4/camera-driver-2*.log
process[camera/depth_rectify_depth-7]: started with pid [5525]

Here are my installed packages :

openni.x86_64                         1.3.2.1-9.fc20             @updates          
openni-devel.x86_64                   1.3.2.1-9.fc20             @updates          
openni-examples.x86_64                1.3.2.1-9.fc20             @updates          
openni-nite.x86_64                    1.4.1.2-4.fc19             @rpmfusion-nonfree
openni-nite-devel.x86_64              1.4.1.2-4.fc19             @rpmfusion-nonfree
openni-primesense.x86_64              5.0.3.3-7.fc20             @fedora           
openni2.x86_64                        2.2.0.33-4.fc20            @smd-ros-staging  
openni2-devel.x86_64                  2.2.0.33-4.fc20            @smd-ros-staging

my lsusb :

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 13d3:5165 IMC Networks 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 1d27:0601 ASUS 
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and my dmesg :

[ 7247.390501] usb 3-3: New USB device strings: Mfr=5, Product=4, SerialNumber=0
[ 7247.390503] usb 3-3: Product: PrimeSense Device
[ 7247.390504] usb 3-3: Manufacturer: PrimeSense
[ 7247.602073] ALSA sound/usb/mixer ...
(more)
edit retag flag offensive close merge delete

Comments

Did you try the sample of openni? Does that sample work?

Hansg91 gravatar image Hansg91  ( 2014-05-02 05:53:46 -0500 )edit

No I didn't... Where are they ?

Maya gravatar image Maya  ( 2014-05-02 08:04:01 -0500 )edit
1

For me they are at openni2/Samples/Bin ;)

Hansg91 gravatar image Hansg91  ( 2014-05-02 08:50:22 -0500 )edit

Hum... I installed openni through apt-get (or yum on my fedora) and I'm not able to find that folder you said -_-... What is the path to that folder when installed that way ? I'm sorry it's such a stupid question but I couldn't find it. I found something and updated y question =)

Maya gravatar image Maya  ( 2014-05-02 21:49:28 -0500 )edit

Seems it doesn't get connected through usb. What do you see in dmesg when you connect the xtion? Also the samples can be downloaded from openni.org (they are in the SDK).

Hansg91 gravatar image Hansg91  ( 2014-05-03 01:30:27 -0500 )edit

I'll try to put dmesg in Fedora as soon as I can (I use Ubuntu at work and Fedora at home). The openni website is always down for me :/ I put every information asked =D

Maya gravatar image Maya  ( 2014-05-04 20:50:53 -0500 )edit

Sorry, can't help any further :) no idea..

Hansg91 gravatar image Hansg91  ( 2014-05-05 11:44:10 -0500 )edit

Arf thanks anyway =P

Maya gravatar image Maya  ( 2014-05-05 21:31:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-11 07:11:30 -0500

This may seem like a silly question, but are you sure you have ros-hydro-openni-camera and ros-hydro-openni2-camera installed? It really acts like they're missing...

edit flag offensive delete link more

Comments

Not so silly since I reinstalled everything. =) See new update.

Maya gravatar image Maya  ( 2014-05-11 08:10:44 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-05-02 05:34:15 -0500

Seen: 1,493 times

Last updated: May 11 '14