Cannot record sensor data using rosbag from kinect
Hi, I tried to record the data from Kinect by using rosbag record -a
after I opened the openni_node driver for Kinect.
wei@wei-Aspire-4810T:~/ros/bagfiles$ roslaunch openni_camera openni_node.launch
Then in another terminal I used rosbag trying to record all topics:
wei@wei-Aspire-4810T:~/ros/bagfiles$ rosbag record -a
[ INFO] [1330246493.151671247]: Recording to 2012-02-26-16-54-53.bag.
[ INFO] [1330246494.158586547]: Subscribing to /camera/depth/image
[ INFO] [1330246494.163723907]: Subscribing to /camera/rgb/image_raw
[ INFO] [1330246494.167274829]: Subscribing to /camera/rgb/image_mono/compressed
[ INFO] [1330246494.169913071]: Subscribing to /camera/rgb/image_mono/compressed/parameter_updates
[ INFO] [1330246494.180194984]: Subscribing to /camera/depth/image/theora
[ INFO] [1330246494.185385283]: Subscribing to /camera/depth/image_raw/theora
[ INFO] [1330246494.199527654]: Subscribing to /tf
[ INFO] [1330246494.205979210]: Subscribing to /camera/depth/image_raw/theora/parameter_descriptions
[ INFO] [1330246494.212827463]: Subscribing to /camera/rgb/image_mono/theora/parameter_descriptions
[ INFO] [1330246494.219018234]: Subscribing to /camera/rgb/image_raw/compressed
[ INFO] [1330246494.223620402]: Subscribing to /camera/rgb/image_mono/compressed/parameter_descriptions
[ INFO] [1330246494.226451684]: Subscribing to /camera/rgb/image_mono/theora/parameter_updates
[ INFO] [1330246494.229063037]: Subscribing to /camera/rgb/image_raw/compressed/parameter_updates
[ INFO] [1330246494.231719646]: Subscribing to /camera/depth/image/theora/parameter_updates
[ INFO] [1330246494.234358167]: Subscribing to /openni_node1/parameter_updates
[ INFO] [1330246494.236913228]: Subscribing to /camera/depth/image_raw/compressed/parameter_descriptions
[ INFO] [1330246494.239575774]: Subscribing to /camera/rgb/points
[ INFO] [1330246494.242255780]: Subscribing to /camera/rgb/camera_info
[ INFO] [1330246494.244859171]: Subscribing to /camera/rgb/image_color/compressed
[ INFO] [1330246494.261203557]: Subscribing to /camera/rgb/image_color/compressed/parameter_descriptions
[ INFO] [1330246494.267427571]: Subscribing to /camera/depth/image/compressed
[ INFO] [1330246494.273242877]: Subscribing to /camera/depth/image_raw/theora/parameter_updates
[ INFO] [1330246494.283536873]: Subscribing to /camera/depth/image_raw/compressed
[ INFO] [1330246494.291459070]: Subscribing to /camera/rgb/image_color/theora/parameter_updates
[ INFO] [1330246494.299466124]: Subscribing to /camera/depth/camera_info
[ INFO] [1330246494.302353488]: Subscribing to /camera/rgb/image_color
[ INFO] [1330246494.328684988]: Subscribing to /camera/rgb/image_raw/compressed/parameter_descriptions
[ INFO] [1330246494.337562469]: Subscribing to /rosout
[ INFO] [1330246494.349211658]: Subscribing to /camera/depth/disparity
[ INFO] [1330246494.352240939]: Subscribing to /camera/depth/image_raw
[ INFO] [1330246494.359652878]: Subscribing to /camera/rgb/image_color/compressed/parameter_updates
[ INFO] [1330246494.372313713]: Subscribing to /rosout_agg
[ INFO] [1330246494.380340812]: Subscribing to /camera/depth/image/theora/parameter_descriptions
[ INFO] [1330246494.386094727]: Subscribing to /camera/rgb/image_mono
[ INFO] [1330246494.392173263]: Subscribing to /camera/rgb/image_color/theora
[ INFO] [1330246494.400247295]: Subscribing to /camera/rgb/image_color/theora/parameter_descriptions
[ INFO] [1330246494.410299151]: Subscribing to /camera/depth/points
[ INFO] [1330246494.419197515]: Subscribing to /camera/rgb/image_raw/theora
[ INFO] [1330246494.425615758]: Subscribing to /camera/rgb/image_raw/theora/parameter_updates
[ INFO] [1330246494.432190793]: Subscribing to /camera/depth/image_raw/compressed/parameter_updates
[ INFO] [1330246494.455170068]: Subscribing to /camera/rgb/image_mono/theora
[ INFO] [1330246494.466239857]: Subscribing to /camera/rgb/image_raw/theora/parameter_descriptions
[ INFO] [1330246494.478321710]: Subscribing to /camera/depth/image/compressed/parameter_updates
[ INFO] [1330246494.484514087]: Subscribing to /openni_node1/parameter_descriptions
[ INFO] [1330246494.494957891]: Subscribing to /camera/depth/image/compressed/parameter_descriptions
^C
However, the openni_node crushed immediately after I started recording all topics. The error messages were:
OpenCV Error: Image step is wrong () in cvInitMatHeader, file /tmp/buildd/libopencv-2.3.1+svn6514+branch23/modules/core/src/array.cpp, line 162
terminate called after ...