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

Revision history [back]

click to hide/show revision 1
initial version

Thanks for your speedy answer Dornhege :-)

I think Ive got the build going 100% (reordering calls in .bashrc seems to have worked) but am still stuck right at the last hurdle - I can even see the RGBDSLAM GUI - so am tantalizingly close :-)

I installed the "openni_kinect" package as per http://www.ros.org/wiki/openni_kinect using the command "sudo apt-get install ros-electric-openni-kinect" - no problem - and have connected the Kinect.

But still, whenever I launch RGBDSLAM with "roslaunch rgbdslam kinect+rgbdslam.launch" (or "roslaunch openni_camera openni_node.launch" I get the following error:

This appears to be a common problem and I have tried:

Killing XnSensorServer (with 'Killall XnSensorServer') at different pre/post launch stages, to ensure its shut down, this had no effect.

It was suggested somewhere else that I run 'echo “blacklist gspca_kinect” > /etc/modprobe.d/blacklist-psengine.conf' to prevent an Ubuntu service from interfering - no luck.

and tried to set the following in case it would help - but am not sure if I did so correctly: ROS_HOSTNAME="localhost" ROS_MASTER_URI="http://localhost:11311"

My USB setup looks fine I think:

mike@ubuntu:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 005: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

So, what could it be??? Have I forgotten to install something, or set something else somewhere???

All help hugely appreciated, so close :-)

Thanks, Mike

Thanks for your speedy answer Dornhege :-)

I think Ive got the build going 100% (reordering calls in .bashrc seems to have worked) but am still stuck right at the last hurdle - I can even see the RGBDSLAM GUI - so am tantalizingly close :-)

I installed the "openni_kinect" package as per http://www.ros.org/wiki/openni_kinect using the command "sudo apt-get install ros-electric-openni-kinect" - no problem - and have connected the Kinect.

But still, whenever I launch RGBDSLAM with "roslaunch rgbdslam kinect+rgbdslam.launch" (or "roslaunch openni_camera openni_node.launch" I get the following error:

'[ INFO] [1327243304.290757975]: [/openni_node1] Number devices connected: 1 '[ INFO] [1327243304.291324641]: [/openni_node1] 1. device on bus 001:10 is a Xbox NUI 'Camera (2ae) from Microsoft (45e) with serial id 'A00365807452048A' '[ INFO] [1327243304.293948521]: [/openni_node1] searching for device with index = 1 '[ INFO] [1327243304.297442805]: [/openni_node1] No matching device found.... waiting for 'devices. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const 'xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.4/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. ,Reason: The network connection has been closed!

This appears to be a common problem and I have tried:

Killing XnSensorServer (with 'Killall XnSensorServer') at different pre/post launch stages, to ensure its shut down, this had no effect.

It was suggested somewhere else that I run 'echo “blacklist gspca_kinect” > /etc/modprobe.d/blacklist-psengine.conf' to prevent an Ubuntu service from interfering - no luck.

and tried to set the following in case it would help - but am not sure if I did so correctly: ROS_HOSTNAME="localhost" ROS_MASTER_URI="http://localhost:11311"

My USB setup looks fine I think:

mike@ubuntu:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 005: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

So, what could it be??? Have I forgotten to install something, or set something else somewhere???

All help hugely appreciated, so close :-)

Thanks, Mike

click to hide/show revision 3
Added details of execution failure

Thanks for your speedy answer Dornhege :-)

I think Ive got the build going 100% (reordering calls in .bashrc seems to have worked) but am still stuck right at the last hurdle - I can even see the RGBDSLAM GUI - so am tantalizingly close :-)

I installed the "openni_kinect" package as per http://www.ros.org/wiki/openni_kinect using the command "sudo apt-get install ros-electric-openni-kinect" - no problem - and have connected the Kinect.

But still, whenever I launch RGBDSLAM with "roslaunch rgbdslam kinect+rgbdslam.launch" (or "roslaunch openni_camera openni_node.launch" I get the following error:

'[ INFO] [1327243304.290757975]: [/openni_node1] Number devices connected: 1 '[ INFO] [1327243304.291324641]: [/openni_node1] 1. device on bus 001:10 is a Xbox NUI 'Camera (2ae) from Microsoft (45e) with serial id 'A00365807452048A' '[ INFO] [1327243304.293948521]: [/openni_node1] searching for device with index = 1 '[ INFO] [1327243304.297442805]: [/openni_node1] No matching device found.... waiting for 'devices. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const 'xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.4/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. ,Reason: The network connection has been closed!

This appears to be a common problem and I have tried:

Killing XnSensorServer (with 'Killall XnSensorServer') at different pre/post launch stages, to ensure its shut down, this had no effect.

It was suggested somewhere else that I run 'echo “blacklist gspca_kinect” > /etc/modprobe.d/blacklist-psengine.conf' to prevent an Ubuntu service from interfering - no luck.

and tried to set the following in case it would help - but am not sure if I did so correctly: ROS_HOSTNAME="localhost" ROS_MASTER_URI="http://localhost:11311"

My USB setup looks fine I think:

mike@ubuntu:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 005: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

So, what could it be??? Have I forgotten to install something, or set something else somewhere???

All help hugely appreciated, so close :-)

Thanks, Mike

P.S. This is the start of the output when I execute "roslaunch rgbdslam kinect+rgbdslam.launch"

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

setting /run_id to c52eab7c-450c-11e1-b5c2-000c291b98c1 process[rosout-1]: started with pid [2096] started core service [/rosout] process[openni_node1-2]: started with pid [2100] process[kinect_base_link-3]: started with pid [2102] process[kinect_base_link1-4]: started with pid [2104] process[kinect_base_link2-5]: started with pid [2106] process[kinect_base_link3-6]: started with pid [2108] process[rgbdslam-7]: started with pid [2147] [rospack] opendir error [No such file or directory] while crawling /home/mike/ros/ros-pkg [rospack] opendir error [No such file or directory] while crawling /home/mike/ros_workspace bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction): creating collection for "writeGnuplot" bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction): creating collection for "draw"

(rgbdslam:2147): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Thanks for your speedy answer Dornhege :-)

I think Ive got the build going 100% (reordering calls in .bashrc seems to have worked) but am still stuck right at the last hurdle - I can even see the RGBDSLAM GUI - so am tantalizingly close :-)

I installed the "openni_kinect" package as per http://www.ros.org/wiki/openni_kinect using the command "sudo apt-get install ros-electric-openni-kinect" - no problem - and have connected the Kinect.

But still, whenever I launch RGBDSLAM with "roslaunch rgbdslam kinect+rgbdslam.launch" (or "roslaunch openni_camera openni_node.launch" I get the following error:

'[ INFO] [1327243304.290757975]: [/openni_node1] Number devices connected: 1 '[ INFO] [1327243304.291324641]: [/openni_node1] 1. device on bus 001:10 is a Xbox NUI 'Camera (2ae) from Microsoft (45e) with serial id 'A00365807452048A' '[ INFO] [1327243304.293948521]: [/openni_node1] searching for device with index = 1 '[ INFO] [1327243304.297442805]: [/openni_node1] No matching device found.... waiting for 'devices. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const 'xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.4/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. ,Reason: The network connection has been closed!

This appears to be a common problem and I have tried:

Killing XnSensorServer (with 'Killall XnSensorServer') at different pre/post launch stages, to ensure its shut down, this had no effect.

It was suggested somewhere else that I run 'echo “blacklist gspca_kinect” > /etc/modprobe.d/blacklist-psengine.conf' to prevent an Ubuntu service from interfering - no luck.

and tried to set the following in case it would help - but am not sure if I did so correctly: ROS_HOSTNAME="localhost" ROS_MASTER_URI="http://localhost:11311"

My USB setup looks fine I think:

mike@ubuntu:~$ lsusb lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

Camera

So, what could it be??? Have I forgotten to install something, or set something else somewhere???

All help hugely appreciated, so close :-)

Thanks, Mike

P.S. This is the start of the output when I execute "roslaunch rgbdslam kinect+rgbdslam.launch"

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

setting /run_id to c52eab7c-450c-11e1-b5c2-000c291b98c1 process[rosout-1]: started with pid [2096] started core service [/rosout] process[openni_node1-2]: started with pid [2100] process[kinect_base_link-3]: started with pid [2102] process[kinect_base_link1-4]: started with pid [2104] process[kinect_base_link2-5]: started with pid [2106] process[kinect_base_link3-6]: started with pid [2108] process[rgbdslam-7]: started with pid [2147] [rospack] opendir error [No such file or directory] while crawling /home/mike/ros/ros-pkg [rospack] opendir error [No such file or directory] while crawling /home/mike/ros_workspace bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction): creating collection for "writeGnuplot" bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction): creating collection for "draw"

(rgbdslam:2147): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Thanks for your speedy answer Dornhege :-)

I think Ive got the build going 100% (reordering calls in .bashrc seems to have worked) but am still stuck right at the last hurdle - I can even see the RGBDSLAM GUI - so am tantalizingly close :-)

I installed the "openni_kinect" package as per http://www.ros.org/wiki/openni_kinect using the command "sudo apt-get install ros-electric-openni-kinect" - no problem - and have connected the Kinect.

But still, whenever I launch RGBDSLAM with "roslaunch rgbdslam kinect+rgbdslam.launch" (or "roslaunch openni_camera openni_node.launch" I get the following error:

'[ INFO] [1327243304.290757975]: [/openni_node1] Number devices connected: 1
'[ INFO] [1327243304.291324641]: [/openni_node1] 1. device on bus 001:10 is a Xbox NUI 'Camera (2ae) from Microsoft (45e) with serial id 'A00365807452048A'
'[ INFO] [1327243304.293948521]: [/openni_node1] searching for device with index = 1
'[ INFO] [1327243304.297442805]: [/openni_node1] No **No matching device found.... waiting for 'devices. 'devices**. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const 'xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.4/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 61 : creating **creating depth generator failed. ,Reason: The network connection has been closed!

closed!**

This appears to be a common problem and I have tried:

Killing XnSensorServer (with 'Killall XnSensorServer') at different pre/post launch stages, to ensure its shut down, this had no effect.

It was suggested somewhere else that I run 'echo “blacklist gspca_kinect” > /etc/modprobe.d/blacklist-psengine.conf' to prevent an Ubuntu service from interfering - no luck.

and tried to set the following in case it would help - but am not sure if I did so correctly: ROS_HOSTNAME="localhost" ROS_MASTER_URI="http://localhost:11311"

My USB setup looks fine I think:

mike@ubuntu:~$ lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 045e:02b0 Microsoft Corp. Xbox NUI Motor
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 009: ID 045e:02ad Microsoft Corp. Xbox NUI Audio
Bus 001 Device 010: ID 045e:02ae Microsoft Corp. Xbox NUI Camera

So, what could it be??? Have I forgotten to install something, or set something else somewhere???

All help hugely appreciated, so close :-)

Thanks, Mike

P.S. This is the start of the output when I execute "roslaunch rgbdslam kinect+rgbdslam.launch"

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

ROS_MASTER_URI=http://localhost:11311 setting /run_id to c52eab7c-450c-11e1-b5c2-000c291b98c1 process[rosout-1]: started with pid [2096] started core service [/rosout] process[openni_node1-2]: started with pid [2100] process[kinect_base_link-3]: started with pid [2102] process[kinect_base_link1-4]: started with pid [2104] process[kinect_base_link2-5]: started with pid [2106] process[kinect_base_link3-6]: started with pid [2108] process[rgbdslam-7]: started with pid [2147] [rospack] **[rospack] opendir error [No such file or directory] while crawling /home/mike/ros/ros-pkg /home/mike/ros/ros-pkg** [rospack] opendir error [No such file or directory] while crawling /home/mike/ros_workspace bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction): g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction*): creating collection for "writeGnuplot" bool g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction): g2o::HyperGraphActionLibrary::registerAction(g2o::HyperGraphElementAction*): creating collection for "draw"

(rgbdslam:2147): "draw" **(rgbdslam:2147): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

"pixmap",**