Ask Your Question
0

kinect v1 problems

asked 2019-09-13 16:28:08 -0500

elgarbe gravatar image

updated 2019-09-14 05:25:41 -0500

gvdhoorn gravatar image

Hi, I have a kinnect v1 connected to my desktop pc running lubuntu 16.04 I've installed freenect-launch and openni-launch package.

I run

roslaunch openni_launch openni.launch depth_registration:=true

or

roslaunch freenect_launch freenect.launch depth_registration:=true

on a second terminal I run

rostopic hz /camera/rgb/image_raw

and start getting 30 hz measurement. On a third terminal I run

rostopic hz /camera/depth_registered/image

and once I get to measurement message I get "no new messages" on both, 2nd and 3rd terminal. I don't get any message on 1st terminal, but I don't get any messages. I have to close all laucnhs unplug kinnect and replug, then relaunch everything, but the same test get the same result.

Is there a way to test my kinnect cammera on linux or windows? I would like to know if it is a sensor problem or if it is a driver problem.

Thank

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-14 14:33:08 -0500

luc.ac gravatar image

First, it is recommended to use only one of the libraries/drivers, and I suggest libfreenect.

So try to use only libfreenect and view in RVIZ to test the kinect.

Launch the freenect and open the RVIZ with rviz.

After open RVIZ:

  1. Fixed Frame: camera_link
  2. Add in "add" other visualization types: axes and point cloud
  3. Set Topic = / camera / depth_registered / points
edit flag offensive delete link more

Comments

Ok, I remove all freenect and openni driver. Then just install ros-kinect-freenect-launch and try what you suggest, That works ok. But freenect randomly die after a couple of minutes

elgarbe gravatar imageelgarbe ( 2019-09-14 20:55:30 -0500 )edit

You remove all freenect driver? I dont know if it is necessary but I use at least libfreenect-dev and ros-kinetic-freenect-launch when seeing rviz.

luc.ac gravatar imageluc.ac ( 2019-09-15 13:41:25 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-13 16:28:08 -0500

Seen: 15 times

Last updated: Sep 14