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

OpenNI - no device connected (kinect) [closed]

asked 2014-01-23 00:57:08 -0600

Rolias gravatar image

updated 2014-04-20 14:09:36 -0600

ngrennan gravatar image

Hey everyone,

I'm running ros hydro, ubuntu 12.04 and installed openni with "sudo apt-get install ros-hydro-openni-launch". after that i run "roslaunch openni_launch openni.launch". openni starts, but in the end it says

" "

lsusb lists 3 microsoft devices,- as it should. my kinect led is blinking green. the output of "rostopic list" is

" eddi@Eddi:~$ rostopic list /rosout /rosout_agg "

When i try "killall XnSensorServer" it says "XnSensorServer: Kein Prozess gefunden" (no process found) "XnSensorServer" --> "XnSensorServer: Befehl nicht gefunden" (command not found)

what am i doing wrong? (i am a complete beginner)

thanks for your help!!!

Robin

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-08-14 01:52:10.808398

Comments

Hi Robin, apparently there is problems with OpenNI devices on ROS Hydro, which sensor model are you using?

Martin Peris gravatar image Martin Peris  ( 2014-01-23 19:16:51 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2014-01-23 01:10:28 -0600

lfelipesv gravatar image

Hi Rolias, try this command:

sudo apt-get install ros-hydro-openni-camera

and launch the opeeni launcher again. The same problem occurs?

Regards.

edit flag offensive delete link more

Comments

yes, unfortunatly. it says that i already have installed the latest version of openni-camera. according to that, nothing changed. any other ideas? i have to say that i reinstalled my whole system totday, cause the same error occured before, but this changed nothing at all.

Rolias gravatar image Rolias  ( 2014-01-23 01:47:39 -0600 )edit

You are using a kinect for windows yes? I have the same problem but I have a kinect xbox which is known to have problems. However there may be other issues.

rnunziata gravatar image rnunziata  ( 2014-01-23 02:09:52 -0600 )edit
0

answered 2014-01-23 09:23:42 -0600

Athoesen gravatar image

updated 2014-01-23 09:24:22 -0600

Alright, I know that you've already installed openni-camera but have you installed all openni related packages? I.e. sudo apt-get install ros-hydro-openni*? Sometimes packages fall through the cracks.

There are a couple other tools you can use to help us determine what's wrong. Aside from tutorials on the website (http://wiki.ros.org/openni_launch) it would be useful to use the roswtf command, which will sometimes list errors you've missed. Also, you may use

export | grep ros

This will show some of the important ROS paths in your system and people may be able to point out what looks strange. Post the output by editing your original question here and when you have pasted it, highlight and click the "101010" button in the window to turn it to text that's easier to read.

I would highly suggest you take a read through the wiki first though. If you google "ros wiki" along with whatever you're looking for, 9 times out of 10 there is something in the wiki which can help.

edit flag offensive delete link more
0

answered 2014-01-27 00:25:08 -0600

Rolias gravatar image

Mh I couldn't edit my former post. I'll try it later again, but first I wanted to show you the output of:

eddi@Eddi:~$ export | grep ros
declare -x CMAKE_PREFIX_PATH="/opt/ros/hydro"
declare -x CPATH="/opt/ros/hydro/include"
declare -x LD_LIBRARY_PATH="/opt/ros/hydro/lib"
declare -x PATH="/opt/ros/hydro/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
declare -x PKG_CONFIG_PATH="/opt/ros/hydro/lib/pkgconfig"
declare -x PYTHONPATH="/opt/ros/hydro/lib/python2.7/dist-packages"
declare -x ROS_ETC_DIR="/opt/ros/hydro/etc/ros"
declare -x ROS_PACKAGE_PATH="/opt/ros/hydro/share:/opt/ros/hydro/stacks"
declare -x ROS_ROOT="/opt/ros/hydro/share/ros"

Do you see any wrong paths in there?

Thanks again for your help!

Robin

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-01-23 00:57:08 -0600

Seen: 1,962 times

Last updated: Jan 27 '14