<commit_before><launch>
  <arg name="other_topics" default=""/>
  <arg name="other_options" default=""/>

  <!-- for BAXTER -->
  <arg name="save_openni" default="false" />
  <arg name="save_openni2" default="false" />
  <arg name="save_robot_model" default="false" />
  <arg name="save_json_data" default="true" />
  <arg name="save_object_verification" default="true" />
  <arg name="save_vision_sensors" default="true" />
  <arg name="save_baxter_model" default="true" />
  <arg name="save_all_image" default="true" />
  <arg name="save_all_button" default="false" />
  <arg name="save_hand_range" default="false" />
  <arg name="camera_namespace" default="kinect2"/>
  <arg name="save_dir" default="/tmp/bagfile/"/>
  <!--                          -->
  <!--       Conditions         -->
  <!--                          -->

  <arg unless="$(arg save_all_button)" name="all_button_topics" value="" />
  <arg if="$(arg save_all_button)" name="all_button_topics" value=".*button.*/state" />

  <arg unless="$(arg save_hand_range)"
    name="hand_range_topics" value="" />
  <arg if="$(arg save_hand_range)" name="hand_range_topics"
    value="/robot/range/left_hand_range/state /robot/range/right_hand_range/state" />

  <!-- json data -->
  <arg unless="$(arg save_json_data)" name="json_data" value="" />
  <arg if="$(arg save_json_data)" name="json_data" value="/work_order/* /bin_contents/output" />

  <!-- verification result -->
  <arg unless="$(arg save_object_verification)" name="object_verification" value=""/>
  <arg if="$(arg save_object_verification)" name="object_verification" value="/bof_object_matcher/output /object_verification/output"/><commit_msg>save rosbag to ~/.ros/jsk_2014_picking_challenge & mkdir first<commit_after><launch>
  <arg name="other_topics" default=""/>
  <arg name="other_options" default=""/>

  <!-- for BAXTER -->
  <arg name="save_openni" default="false" />
  <arg name="save_openni2" default="false" />
  <arg name="save_robot_model" default="false" />
  <arg name="save_json_data" default="true" />
  <arg name="save_object_verification" default="true" />
  <arg name="save_vision_sensors" default="true" />
  <arg name="save_baxter_model" default="true" />
  <arg name="save_all_image" default="true" />
  <arg name="save_all_button" default="false" />
  <arg name="save_hand_range" default="false" />
  <arg name="camera_namespace" default="kinect2"/>
  <arg name="save_dir" default="$(env HOME)/.ros/jsk_2014_picking_challenge"/>
  <param name="mk_save_dir" command="mkdir -p $(arg save_dir)" />
  <!--                          -->
  <!--       Conditions         -->
  <!--                          -->

  <arg unless="$(arg save_all_button)" name="all_button_topics" value="" />
  <arg if="$(arg save_all_button)" name="all_button_topics" value=".*button.*/state" />

  <arg unless="$(arg save_hand_range)"
    name="hand_range_topics" value="" />
  <arg if="$(arg save_hand_range)" name="hand_range_topics"
    value="/robot/range/left_hand_range/state /robot/range/right_hand_range/state" />

  <!-- json data -->
  <arg unless="$(arg save_json_data)" name="json_data" value="" />
  <arg if="$(arg save_json_data)" name="json_data" value="/work_order/* /bin_contents/output" />

  <!-- verification result -->
  <arg unless="$(arg save_object_verification)" name="object_verification" value=""/>
  <arg if="$(arg save_object_verification)" name="object_verification" value="/bof_object_matcher/output /object_verification/output"/>
{'fraction_non_alphanumeric': 0.18841410954975624, 'fraction_numerical': 0.0034413535990823058, 'mean_word_length': 4.253012048192771, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 62, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7553729', 'n_tokens_mistral': 1183, 'n_tokens_neox': 1139, 'n_words': 197}