Kinect crashes on invoking command "rosbag record -a"
I initially had a problem of kinect not starting up again from the following command "roslaunch openni_launch openni.launch" after it had crashed once.
To that problem i found a solution to kill XnSensorServer first and then use the above command again. The problem solved without any conflicts.
Now the weird error that has cropped up is that when i use "rosbag record -a" (when all images supplied by kinect are viewed in Image_viewer) the images hang and kinect driver crashes producing the following error.
Error [1344683523.942576821]: Cannot stream RGB and IR at the same time. Streaming RGB only. OpenCV Error: Image step is wrong () in cvInitMatHeader, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-0precise-20120704-1846/modules/core/src/array.cpp, line 162 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/buildd/ros-fuerte-opencv2-2.4.2-0precise-20120704-1846/modules/core/src/array.cpp:162: error: (-13) in function cvInitMatHeader
What can be the possible solution.?? Should i record a subset recording only Rgb or Ir at a time ?? Does the solution talked about in start of msg has to do something with this?? (XnSensorServer)