ros-drivers / freenect_stack

libfreenect based ROS driver
http://ros.org/wiki/freenect_stack
35 stars 52 forks source link

no data received with kinect v1 #32

Open arpit15 opened 8 years ago

arpit15 commented 8 years ago

I am able to see the depth and rgb image with libfreenect library. I am trying to use this package with ros kinetic, ubuntu 16.04 and kinect v1 with the following command. roslaunch freenect_launch freenect.launch However I am getting the errors messages. Please let me know if I am using the correct commands or is there any other problem.

Update I am able to see some executables in the /opt/ros/kinetic/bin folder like freenect-glview, freenect-hiview etc which I think are related to freenect. I can see the depth image and rgb image using these executables. However I am not able to see any topic publish in ros workspace. Please let me know if I can somehow use these executables to get point cloud published in ros workspace.

vfdev-5 commented 8 years ago

Looking at your "errors" messages, you do not have any errors. The message "Stopping device RGB and Depth stream flush." can be also related with that there are no subscribers listening to the topic. Check with rostopic hz /camera/rgb/image_color whether you receive messages. What do you have when you call rostopic list ?

arpit15 commented 8 years ago

Output of rostopic hz /camera/rgb/image_color subscribed to [/camera/rgb/image_color] no new messages no new messages no new messages

Output of rostopic list rostopics

vfdev-5 commented 8 years ago

What is your kinect v1 model 1414 or 1417 ? Did you install libfreenect using apt-get or you have only ros-kinetic-libfreenect, what do you have on locate libfreenect ? Can you also show the full log of roslaunch freenect_launch freenect.launch

arpit15 commented 8 years ago

Kinect is v1 1414. I installed both. The output for locate libfreenect output full log of roslaunch freenect_launch freenect.launch log

vfdev-5 commented 8 years ago

Right, this can be the problem if you have multiple drivers of different versions. In my case I had a similar issue few weeks ago. Solution was to remove all libfreenect drivers from the system /usr/lib, /usr/local/lib etc. And install only ros-kinetic-freenect-stack which has ros-kinetic-libfreenect as dependency. The latter is a libfreenect driver version 0.5.1. HTH

sowrabhnayak commented 7 years ago

I have connected Kinect V2 on my Ubuntu 14.04 which has got Indigo. I have a different problem.... I'm not getting any errors but the system is not detecting the connected kinect. some of the statements on running the command is

could anyone of u please explain what the problem is...

And how do I make use of this data in the program in code that I write in Python. Please explain me the procedures as well....

Thank you