Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello Kansai,

I know that if I have a node that publishes messages (in particular Image messages) I can record these messages with rosbag record into a rosbag.

Yes, you can recode the image message through ros bag file. You can do so by following command.

rosbag record -o subset <Topic-Name-Image>

And if you want to record multiple topic then you can

rosbag record -o subset <topic-name-image 1=""> <topic-name-image 2="">

The -O argument tells rosbag record to log to a file named subset.bag.

Play back recording with:

rosbag play <bagfile-name>

You can check your recording in Rviz just by subscribing to your recording node.

Hello Kansai,

I know that if I have a node that publishes messages (in particular Image messages) I can record these messages with rosbag record into a rosbag.

Yes, you can recode record the image message through ros bag file. You can do so by the following the command. Even the message is single I think it can record it.

rosbag record -o subset <Topic-Name-Image>

And if you want to record multiple topic then you can

rosbag record -o subset <topic-name-image 1=""> <topic-name-image 2="">

The -O argument tells rosbag record to log to a file named subset.bag.

Play back recording with:

rosbag play <bagfile-name>

You can check your recording in Rviz just by subscribing to your recording node. node.

Hello Kansai,

I know that if I have a node that publishes messages (in particular Image messages) I can record these messages with rosbag record into a rosbag.

Yes, you can record the image message through ros bag file. You can do so by the following the command. Even the message is single I think it can record it.

rosbag record -o subset <Topic-Name-Image>

And if you want to record multiple topic then you can

rosbag record -o subset <topic-name-image 1=""> <topic-name-image 2="">

The -O argument tells rosbag record to log to a file named subset.bag.

Play back recording with:

rosbag play <bagfile-name>

You can check your recording in Rviz just by subscribing to your recording node.

For exporting single image here is a goo document http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data

Hello Kansai,

I know that if I have a node that publishes messages (in particular Image messages) I can record these messages with rosbag record into a rosbag.

Yes, you can record the image message through ros bag file. You can do so by the following the command. Even the message is single I think it can record it.

rosbag record -o subset <Topic-Name-Image>

And if you want to record multiple topic then you can

rosbag record -o subset <topic-name-image 1=""> <topic-name-image 2="">

The -O argument tells rosbag record to log to a file named subset.bag.

Play back recording with:

rosbag play <bagfile-name>

You can check your recording in Rviz just by subscribing to your recording node.

For exporting single image here is a goo good document http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data