Why no Kinect depth and RGB image? Kinect driver not working
Hi, I just installed ros-electric-openni-kinect and NITE-Bin-Dev-Linux-x86-v1.5.2.21 but the Kinect seems only work on NITE samples located in /Samples/Bin/x86-Release under NITE directory. I have Ubuntu 10.04 Lucid and ROS Electric and plan to run www.ros.org/wiki/mit-ros-pkg/KinectDemos
When I tried rosrun rviz rviz , I have this:
dell@ubuntu:~/rosworkspace$ rosrun rviz rviz [ INFO] [1361795336.381707295]: rviz revision number 1.6.7 [ INFO] [1361795336.381887974]: ogretools revision number 1.6.3 [ INFO] [1361795336.381924641]: compiled against OGRE version 1.7.3 (Cthugha) [ INFO] [1361795336.928738550]: Loading general config from [/home/dell/.rviz/config] [ INFO] [1361795336.928949471]: Loading display config from [/home/dell/.rviz/displayconfig] [ INFO] [1361795336.962752162]: RTT Preferred Mode is PBuffer. The program 'rviz' received an X Window System error. This probably reflects a bug in the program. The error was 'BadDrawable (invalid Pixmap or Window parameter)'. (Details: serial 22 errorcode 9 requestcode 136 minorcode 3) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdkxerror() function.)
When I tried the instruction on www.robotas.at/ros-and-kinect-ubuntu-installation/ I have the following console output
dell@ubuntu:~/rosworkspace$ roslaunch opennilaunch openni.launch ... logging to /home/dell/.ros/log/2b48cda0-7ef7-11e2-bc6a-0018dea5a2c6/roslaunch-ubuntu-23309.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://)ubuntu:41212/
PARAMETERS * /rosdistro * /camera/driver/rgbframeid * /camera/disparitydepthregistered/minrange * /camera/driver/rgbcamerainfourl * /camera/depthregistered/rectifydepth/interpolation * /camera/driver/depthframeid * /camera/depth/rectifydepth/interpolation * /camera/disparitydepth/maxrange * /rosversion * /camera/driver/deviceid * /camera/driver/depthcamerainfourl * /camera/disparitydepth/minrange * /camera/disparitydepthregistered/maxrange
NODES /camera/depth/ rectifydepth (nodelet/nodelet) metricrect (nodelet/nodelet) metric (nodelet/nodelet) points (nodelet/nodelet) /camera/rgb/ debayer (nodelet/nodelet) rectifymono (nodelet/nodelet) rectifycolor (nodelet/nodelet) / cameranodeletmanager (nodelet/nodelet) camerabaselink (tf/statictransformpublisher) camerabaselink1 (tf/statictransformpublisher) camerabaselink2 (tf/statictransformpublisher) camerabaselink3 (tf/statictransformpublisher) /camera/ driver (nodelet/nodelet) registerdepthrgb (nodelet/nodelet) pointsxyzrgbdepthrgb (nodelet/nodelet) disparitydepth (nodelet/nodelet) disparitydepthregistered (nodelet/nodelet) /camera/ir/ rectifyir (nodelet/nodelet) /camera/depthregistered/ rectifydepth (nodelet/nodelet) metricrect (nodelet/nodelet) metric (nodelet/nodelet)
ROSMASTERURI=(http://)localhost:11311
core service [/rosout] found process[cameranodeletmanager-1]: started with pid [23327] process[camera/driver-2]: started with pid [23328] process[camera/rgb/debayer-3]: started with pid [23329] process[camera/rgb/rectifymono-4]: started with pid [23330] process[camera/rgb/rectifycolor-5]: started with pid [23331] process[camera/ir/rectifyir-6]: started with pid [23337] process[camera/depth/rectifydepth-7]: started with pid [23350] process[camera/depth/metricrect-8]: started with pid [23373] process[camera/depth/metric-9]: started with pid [23380] process[camera/depth/points-10]: started with pid [23385] process[camera/registerdepthrgb-11]: started with pid [23395] process[camera/depthregistered/rectifydepth-12]: started with pid [23400] process[camera/depthregistered/metricrect-13]: started with pid [23408] process[camera/depthregistered/metric-14]: started with pid [23419] process[camera/pointsxyzrgbdepthrgb-15]: started with pid [23421] process[camera/disparitydepth-16]: started with pid [23434] process[camera/disparitydepthregistered-17]: started with pid [23440] process[camerabaselink-18]: started with pid [23444] process[camerabaselink1-19]: started with pid [23457] process[camerabaselink2-20]: started with pid [23478] process[camerabaselink3-21]: started with pid [23482}[INFO] [1361795173.213414092]: Number devices connected: 1 {INFO] [1361795173.214269438]: 1. device on bus 001:32 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00363915294102A' {INFO] [1361795173.217854461]: Searching for device with index = 1 {INFO] [1361795173.300812976]: Opened 'Xbox NUI Camera' on bus 1:32 with serial number 'A00363915294102A' {INFO] [1361795173.361466906]: rgbframeid = '/camerargbopticalframe' {INFO] [1361795173.361564335]: depthframeid = '/cameradepthopticalframe' {WARN] [1361795173.373134240]: Camera calibration file /home/dell/.ros/camerainfo/rgbA00363915294102A.yaml not found. {WARN] [1361795173.375772704]: Camera calibration file /home/dell/.ros/camerainfo/depthA00363915294102A.yaml not found. {WARN] [1361795173.378542120]: Using default parameters for RGB camera calibration. {WARN] [1361795173.378646882]: Using default parameters for IR camera calibration. {ERROR] [1361795173.809032665]: Tried to advertise a service that is already advertised in this node [/camera/depthregistered/imagerectraw/compressed/setparameters] {ERROR] [1361795173.819465484]: Tried to advertise a service that is already advertised in this node [/camera/depthregistered/imagerectraw/theora/setparameters]
Asked by promach on 2013-02-25 01:35:19 UTC
Comments
when I run rostopic hz /camera/depth_registered/points, I only got "subscribed to [/camera/depth_registered/points]" and a hang terminal
Asked by promach on 2013-02-25 02:00:00 UTC
when I tried rosrun dynamic_reconfigure reconfigure_gui , I cannot locate the entry "/camera/driver" from the drop-down menu as published on http://www.ros.org/wiki/openni_launch
Asked by promach on 2013-02-25 04:46:12 UTC