Rosbag cannot record multiple topic with same type
I am trying to produce a rosbag file for data recorded by a Kinect. I use this launch:
<launch>
<node pkg="rosbag" type="record" name="record" output="screen"
args=" /camera/depth/image_raw /camera/depth/camera_info /camera/rgb/image_raw /camera/rgb/camera_info /camera/driver/parameter_descriptions /camera/driver/parameter_updates -o $(find myproject)/bags/kinect"/>
</launch>
Looking into the bag file, it seems that only one topic per type can be saved. But, replaying the file, I found that instead both topic (image_raw) are published on the same url. Here is an example:
path: kinect_2011-11-23-18-13-10.bag
version: 2.0
duration: 5.3s
start: Nov 23 2011 18:13:11.24 (1322068391.24)
end: Nov 23 2011 18:13:16.53 (1322068396.53)
size: 43.8 MB
messages: 200
compression: none [50/50 chunks]
types: dynamic_reconfigure/Config [be5ce5fa8101a5199199ac5a9b231457]
dynamic_reconfigure/ConfigDescription [5f0f929417f58ac7f30dfdd9e4d40ef2]
sensor_msgs/CameraInfo [c9a58c1b0b154e0e6da7578cb991d214]
sensor_msgs/Image [060021388200f6f0f447d0fcd9c64743]
topics: /camera/driver/parameter_descriptions 1 msg : dynamic_reconfigure/ConfigDescription
/camera/driver/parameter_updates 1 msg : dynamic_reconfigure/Config
/camera/rgb/camera_info 99 msgs : sensor_msgs/CameraInfo
/camera/rgb/image_raw 99 msgs : sensor_msgs/Image
I should have two streams of images on different topic but only one is showed. Is there a limitation on rosbag or am I using it wrongly?