<commit_before><?xml version="1.0"?>
<launch>
  <arg name="host" default="$(optenv ROBOT_RLC_ROSTFUL_SERVER_IP localhost)"/>
  <arg name="port" default="$(optenv ROBOT_RLC_ROSTFUL_SERVER_PORT 8080)"/>
  <arg name="node_name" default="rlc_rostful_server"/>
  <arg name="init_delay" default="1"/>
  <!-- args="- -host $(arg host) -p $(arg port) - -topics /agvs_controller/status - -services /agvs_magnet_navigator/action"/> -->
  <node pkg="rostful" type="server" name="$(arg node_name)" args="--host $(arg host) -p $(arg port)
      --topics /robot/robot_local_control/state

      --services /robot/robot_local_control/NavigationComponent/GoToComponent/query_state
                 /robot/robot_local_control/NavigationComponent/GoToComponent/add
                 /robot/robot_local_control/NavigationComponent/GoToComponent/cancel
                 /robot/robot_local_control/NavigationComponent/MoveComponent/query_state
                 /robot/robot_local_control/NavigationComponent/MoveComponent/add
                 /robot/robot_local_control/NavigationComponent/MoveComponent/cancel
                 /robot/robot_local_control/NavigationComponent/ChargeComponent/query_state
                 /robot/robot_local_control/NavigationComponent/ChargeComponent/add
                 /robot/robot_local_control/NavigationComponent/ChargeComponent/cancel
                 /robot/robot_local_control/NavigationComponent/UnchargeComponent/query_state
                 /robot/robot_local_control/NavigationComponent/UnchargeComponent/add
                 /robot/robot_local_control/NavigationComponent/UnchargeComponent/cancel">

    <param name="init_delay" value="$(arg init_delay)"/>
  </node>

</launch>
<commit_msg>rlc:rostful_server: Launch from namespace and change def port - The arg robot_id is used to set the namespace under the node is running - The previous def port 8080 is moved to 8090<commit_after><?xml version="1.0"?>
<launch>
  <arg name="host" default="$(optenv ROBOT_RLC_ROSTFUL_SERVER_IP localhost)"/>
  <arg name="port" default="$(optenv ROBOT_RLC_ROSTFUL_SERVER_PORT 8090)"/>
  <arg name="node_name" default="rlc_rostful_server"/>
  <arg name="init_delay" default="1"/>
  <arg name="id_robot" default="$(optenv ROBOT_ID robot)"/>

  <group ns="$(arg id_robot)">
    <node pkg="rostful" type="server" name="$(arg node_name)" args="--host $(arg host) -p $(arg port)
        --topics /robot/robot_local_control/state

        --services /robot/robot_local_control/NavigationComponent/GoToComponent/query_state
                   /robot/robot_local_control/NavigationComponent/GoToComponent/add
                   /robot/robot_local_control/NavigationComponent/GoToComponent/cancel
                   /robot/robot_local_control/NavigationComponent/MoveComponent/query_state
                   /robot/robot_local_control/NavigationComponent/MoveComponent/add
                   /robot/robot_local_control/NavigationComponent/MoveComponent/cancel
                   /robot/robot_local_control/NavigationComponent/ChargeComponent/query_state
                   /robot/robot_local_control/NavigationComponent/ChargeComponent/add
                   /robot/robot_local_control/NavigationComponent/ChargeComponent/cancel
                   /robot/robot_local_control/NavigationComponent/UnchargeComponent/query_state
                   /robot/robot_local_control/NavigationComponent/UnchargeComponent/add
                   /robot/robot_local_control/NavigationComponent/UnchargeComponent/cancel">

      <param name="init_delay" value="$(arg init_delay)"/>
    </node>
  </group>

</launch>

{'fraction_non_alphanumeric': 0.10777777777777778, 'fraction_numerical': 0.006111111111111111, 'mean_word_length': 3.434729064039409, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 2, '>': 28, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '934634', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1037, 'n_words': 152}