ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2012-10-05 21:19:32 -0500 | received badge | ● Famous Question (source) |
2011-12-12 20:24:29 -0500 | received badge | ● Notable Question (source) |
2011-06-01 07:05:55 -0500 | received badge | ● Popular Question (source) |
2011-03-02 05:24:34 -0500 | marked best answer | openNI_camera compiling problem Your program is failing at runtime because it cannot find libusb. The most likely answer is that you are using a build from a few days ago that had a bug, see this question: http://answers.ros.org/question/162/building-ni-on-ubuntu-1010-and-diamondback-cant and Tully responded: There was a missing export of -lusb in the openni_camera. I've patched it in the master branch of ni. However, if you have already updated and are still getting this problem, then you need to be sure that you have libusb installed (Check synaptic package manager) and a path to it. Along those lines, plug in your kinect and use lsusb to be sure it is recognized. Although, this is not directly related to your problem, if you are having trouble with libusb, then it is possible you have not used usb devices with Linux much, so you may want to look at how to set up permissions for that. This was covered in the kinect Getting Started tutorial but, unfortunately, when WG decided to go with the OpenNi driver, the older kinect tutorial was deprecated and the Getting Started tutorial eliminated. That's too bad because it told how to set up USB permissions that you need to do to get the kinect to work. It also listed the sort of results you should see from lsusb if the kinect is recognized correctly. The good news is that google has that paged cached. So look at look at the cache result of the first hit on google with this search: ros kinect getting started and, in case the cache is lost, here are the pertinent lines: Setup Port
udev way Using udev rules, your computer will always be setup to use the kinect. This only needs to be done once. In Lucid, paste the following into /etc/udev/rules.d/53-kinect.rules Hint: use sudo. SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02b0", MODE="0666" SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ad", MODE="0666" SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ae", MODE="0666" Make sure the kinect is disconnected from your computer and run: sudo service udev reload Then reconnect your kinect - permissions should be normal (read/write). |
2011-03-02 03:37:42 -0500 | answered a question | openNI_camera compiling problem Thanks Dan, That was the problem. I updated the build and everything is working fine now ! |
2011-03-01 08:07:36 -0500 | asked a question | openNI_camera compiling problem Hi all, Using Ubuntu 10.10 and diamondback I am coming up with the following error when I run rosmake ni --rosdep-install, Linking CXX executable Linking CXX executable> rosmake/rosmake_output-20110301-165933
Linking CXX executable rosmake/rosmake_output-20110301-165933 Can anyone suggest where I might have gone wrong ? I am quite new to Linux and still trying to get my head around both Ubuntu and Ros. Any help is gratefully appreciated ! rosmake/rosmake_output-20110301-165933 rosmake/rosmake_output-20110301-165933Linking CXX executable |