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

freenect_launch with Kinect

asked 2015-04-22 14:54:24 -0600

sony gravatar image

i follow this answer:http://answers.ros.org/question/196455/kinect-installation-and-setup-on-ros-updated/ I understand Openni_launch does not work anymore under Indigo for Kinect so I install freenect_launch already it seems to connect the Kinect but not work correctly process[camera_base_link1-20]: started with pid [11928] process[camera_base_link2-21]: started with pid [11973] thank you for help!

edit retag flag offensive close merge delete

Comments

Can you give more information about "but not work correctly" ?
What doesnt work ?
Do you receive images?
Be aware that by default freenect_launch does not enable depth_registration, you can emable it either by modifying the launchfile or using the GUI rqt_reconfigure

marguedas gravatar image marguedas  ( 2015-04-22 20:18:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-04-23 03:05:06 -0600

felixwatzlawik gravatar image

Openni provides a driver that works. this is an out of the box solution! just type in your console

Sudo apt-get install ros-indigo-openni-camera
Sudo apt-get install ros-indigo-openni-launch

then u have to change something at the driver: download this driver:https://github.com/avin2/SensorKinect/zipball/unstable

and input the following commands:

cd ~/Downloads
unzip avin2-SensorKinect-v0.93-5.1.2.1-0-g15f1975.zip 
cd avin2-SensorKinect-15f1975/Bin
tar -xjf SensorKinect093-Bin-Linux-x64-v5.1.2.1.tar.bz2
cd Sensor-Bin-Linux-x64-v5.1.2.1
sudo ./install.sh

after that it will work, for a live test of kinect open rviz and add a topic or type in:

roslaunch openni_launch openni.launch

open a new terminal and type in:

rosrun image_view image_view image:=/camera/rgb/image_color
edit flag offensive delete link more

Comments

Dear felixwatzlawik, thank you so much that I installed openni successfully but I ran the command roslaunch openni_launch openni.launch it shows [openni.launch] is neither a launch file in package [openni_launch] nor is [openni_launch] a launch file name The traceback for the exception was written

sony gravatar image sony  ( 2015-06-07 04:35:46 -0600 )edit

to the log file. if i intalled worng position?

sony gravatar image sony  ( 2015-06-07 04:36:30 -0600 )edit

something must have gone wrong with your installation, the line with roslaunch works for me..

felixwatzlawik gravatar image felixwatzlawik  ( 2015-06-08 02:01:17 -0600 )edit

I`ll try again. thank you so much^^

sony gravatar image sony  ( 2015-06-08 03:32:03 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-22 14:54:24 -0600

Seen: 4,785 times

Last updated: Apr 23 '15