Ask Your Question

jessicaaustin's profile - activity

2012-08-01 16:54:33 -0500 received badge  Famous Question (source)
2012-06-07 05:22:03 -0500 received badge  Notable Question (source)
2012-05-09 08:30:12 -0500 received badge  Popular Question (source)
2012-03-30 10:27:18 -0500 answered a question Cannot launch openni_camera: No devices connected (ROS electric)

Figured it out.

I bought a "Kinect for Windows" instead of XBOX 360 Kinect Sensor. Apparently this new version, while it has better hardware, is not yet supported by openni

2012-03-30 09:55:26 -0500 asked a question Cannot launch openni_camera: No devices connected (ROS electric)

I'm using Linux Mint 12 x64 (based on Ubuntu Oneiric) and ROS electric.

I installed the openni_kinect stack using the instructions here: http://www.ros.org/wiki/openni_kinect

sudo apt-get install ros-electric-openni-kinect

hg clone https://kforge.ros.org/openni/drivers openni-drivers
cd openni-drivers
make
sudo make install
cd ..
hg clone https://kforge.ros.org/openni/openni_ros 
rosmake openni_kinect --rosdep-install
sudo usermod -a -G video jaustin

I then restarted, made sure the Kinect had external power (got a blinking green light), saw the following from lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 013: ID 045e:02c2 Microsoft Corp. 
Bus 002 Device 014: ID 045e:02be Microsoft Corp. 
Bus 002 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 015: ID 045e:02bf Microsoft Corp. 
Bus 002 Device 007: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 002 Device 008: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0

But when I try to start up the openni_camera stack, it does not detect the device:

$ roslaunch openni_camera openni_node.launch
... logging to /home/jaustin/.ros/log/b8a3ebd8-7a9f-11e1-8f79-0090f5c64449/roslaunch-italy-18810.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://italy:48182/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /openni_node1/use_indices
 * /openni_node1/depth_registration
 * /openni_node1/image_time_offset
 * /openni_node1/depth_frame_id
 * /openni_node1/depth_mode
 * /openni_node1/debayering
 * /rosversion
 * /openni_node1/projector_depth_baseline
 * /openni_node1/rgb_frame_id
 * /openni_node1/depth_rgb_translation
 * /openni_node1/depth_time_offset
 * /openni_node1/image_mode
 * /openni_node1/shift_offset
 * /openni_node1/device_id
 * /openni_node1/depth_rgb_rotation

NODES
  /
    openni_node1 (openni_camera/openni_node)
    kinect_base_link (tf/static_transform_publisher)
    kinect_base_link1 (tf/static_transform_publisher)
    kinect_base_link2 (tf/static_transform_publisher)
    kinect_base_link3 (tf/static_transform_publisher)

auto-starting new master
process[master]: started with pid [18826]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to b8a3ebd8-7a9f-11e1-8f79-0090f5c64449
process[rosout-1]: started with pid [18839]
started core service [/rosout]
process[openni_node1-2]: started with pid [18851]
process[kinect_base_link-3]: started with pid [18852]
process[kinect_base_link1-4]: started with pid [18853]
[rospack] opendir error [No such file or directory] while crawling /ros/electric/stacks
process[kinect_base_link2-5]: started with pid [18861]
process[kinect_base_link3-6]: started with pid [18871]
[ INFO] [1333136221.786176644]: [/openni_node1] No devices connected.... waiting for devices to be connected
[ INFO] [1333136222.797003558]: [/openni_node1] No devices connected.... waiting for devices to be connected
[ INFO] [1333136223.808005494]: [/openni_node1] No devices connected.... waiting for devices to be connected
[ INFO] [1333136224.819467943]: [/openni_node1] No devices connected.... waiting for devices to be connected
[ INFO] [1333136225.830313418]: [/openni_node1] No devices connected.... waiting for devices to be connected

I know there is a related question here. That question was answered, but it's from a while ago, and the answer (basically, "I re-installed ubuntu and it just worked") is not very satisfactory. So I thought it couldn't hurt to bring it up again.

Does anyone have any ideas on things ... (more)