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

no devices connected [closed]

asked 2012-05-28 00:14:05 -0500

marco.puni gravatar image

updated 2016-10-24 08:34:02 -0500

ngrennan gravatar image

I'm using ros fuerte, ubuntu 12.04, when I try roslaunch openni_launch openni.launch http://www.ros.org/wiki/openni_camera this is what I get:

[ INFO] [1307492242.533491680]:[/openni_node1] No devices connected.... waiting for devices to be connected

how is it possibile?? I have my kinect connected and It works on sdk on win.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2012-09-15 22:24:14

Comments

How is your kinect powered?

SL Remy gravatar image SL Remy  ( 2012-05-30 07:47:35 -0500 )edit

4 Answers

Sort by » oldest newest most voted
3

answered 2012-05-28 02:15:27 -0500

ocli gravatar image

updated 2012-05-28 16:04:28 -0500

ubuntu tries to access the kinect when you plug it in in newer versions using a mod. Go to terminal and type,

sudo rmmod gspca_kinect

and you should be good (it does this every time you connect the device). There are other troubleshooting methods on the OpenNi Grabbar Framework page

EDIT: If this is your problem, blacklist the gspca_kinect module on your system,

sudo echo "blacklist gspca_kinect" >> /etc/modprobe.d/blacklist.conf
edit flag offensive delete link more
0

answered 2012-05-28 20:57:34 -0500

marco.puni gravatar image

updated 2012-05-28 21:11:00 -0500

No it doesn't work, ERROR: Module gspca_kinect does not exist in /proc/modules

any other ideas??

edit flag offensive delete link more

Comments

After plugging in the kinect? Is the XnSensorServer running after connection? (try 'killall XnSensorServer' into terminal, it's another prime sense executable attempting to access the kinect). If the gspca_* are not mod's then I don't think the kinect is transferring data to your port

ocli gravatar image ocli  ( 2012-05-29 01:22:18 -0500 )edit

already tried killall XnSensorServer and no process found.

marco.puni gravatar image marco.puni  ( 2012-05-29 02:28:52 -0500 )edit

XnSensorServer and the module gspca_kinect should run when you connect the device if all packages were installed correctly. I would double-check the hardware by finding another method to ensure the connection is correct,

ocli gravatar image ocli  ( 2012-05-29 02:59:41 -0500 )edit

I just know that on windows 7 with the official sdk, this kinect works. anyway I've just noticed that when kinect is connect to win has the little light always on, when is on ubuntu the light is blinking. so maybe you're right.

marco.puni gravatar image marco.puni  ( 2012-05-29 03:09:33 -0500 )edit

is it possible that I ve not installed correctly openni?? http://www.ros.org/wiki/openni_kinect I was checking here, sudo apt-get install ros-fuerte-openni-kinect ..I think there is just this to do or not? cause I've tried to do the lines hg clone https://kforge.ros.org/openni/drivers but I get err

marco.puni gravatar image marco.puni  ( 2012-05-29 03:11:17 -0500 )edit

You tried 1. 'sudo apt-get install ros-fuerte-openni-launch' 2. 'sudo apt-get install ros-fuerte-openni-camera' 3. 'rosmake openni_launch' 4. 'rosmake openni_camera'? If connection did not work after that I've got nothing. Blinking light doesn't matter - mine does too

ocli gravatar image ocli  ( 2012-05-29 17:29:08 -0500 )edit

possibly try 'sudo apt-get install --reinstall <package>' both those packages, and then rosmake them again, you might have some more luck

ocli gravatar image ocli  ( 2012-05-29 17:32:30 -0500 )edit

after all day trying don't know why but at the end it works, I reinstalling package,trying in my pc, other pc, other kinect (and hey xbox kinect works, pc vers no), but it works just once then I have to restart ubuntu to make it works again. better than nothing =)

marco.puni gravatar image marco.puni  ( 2012-05-30 23:03:29 -0500 )edit
0

answered 2012-05-28 11:04:02 -0500

marco.puni gravatar image

thank you, I'll try tomorrow and I tell you if it works, I really hope :D

edit flag offensive delete link more
0

answered 2012-05-28 21:49:34 -0500

marco.puni gravatar image

updated 2012-05-28 21:50:46 -0500

now I receive another error too!!

[ERROR] [1338277737.235478636]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/theora/set_parameters] [ INFO] [1338277739.671942244]: No devices connected.... waiting for devices to be connected

edit flag offensive delete link more

Comments

Please use the "comment" button for commenting instead of posting new answers, or alternatively edit your question. Answers will get reordered over time, so this whole thread won't be a thread anymore, but a garble of sentences.

Martin Günther gravatar image Martin Günther  ( 2012-05-28 22:45:36 -0500 )edit

ok sorry

marco.puni gravatar image marco.puni  ( 2012-05-29 01:36:07 -0500 )edit

Question Tools

Stats

Asked: 2012-05-28 00:14:05 -0500

Seen: 2,576 times

Last updated: May 28 '12