ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hey guys,

I am very sorry, I haven't check this for a while. I am no longer using ROS. I believe this was working for me three years ago.

<launch> <arg name="file_name" default="your_bag_file.bag"/> <arg name="dest_path" default="path_to_the_destination"/> <arg name="topic1" default="/topic_name_1"/> <arg name="topic2" default="/topic_name_2"/> <arg name="topic3" default="/topic_name_3"/> <arg name="topic4" default="/topic_name_4"/> <node name="recorder" pkg="rosbag" type="record" output="screen" args="-O $(arg dest_path)/$(arg file_name) $(arg topic1) $(arg topic2) $(arg topic3) $(arg topic4)"> </node> </launch>

@Druff @atp @Andrew.A

Hey guys,

I am very sorry, I haven't check this for a while. I am no longer using ROS. I believe this was working for me three years ago.

<launch>
  <arg name="file_name" name ="file_name" default="your_bag_file.bag"/>
  <arg name="dest_path" name ="dest_path" default="path_to_the_destination"/>
  <arg name="topic1" name ="topic1" default="/topic_name_1"/>
  <arg name="topic2" name ="topic2" default="/topic_name_2"/>
  <arg name="topic3" name ="topic3" default="/topic_name_3"/>
  <arg name="topic4" name ="topic4" default="/topic_name_4"/>
  <node name="recorder" name ="recorder" pkg="rosbag" type="record" output="screen" args="-O $(arg dest_path)/$(arg file_name) $(arg topic1) $(arg topic2) $(arg topic3) $(arg topic4)">
  </node>
</launch>

</launch>

@Druff @atp @Andrew.A