Skip to content

Commit

Permalink
Add robot bridge name parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rolker committed Aug 16, 2023
1 parent adb34f0 commit 45ea26c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launch/operator_core.launch
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<arg name="localPort" default="4200"/>
<arg name="operatorJoystick" default="true"/>
<arg name="enableBridge" default="true"/>
<arg name="robotBridgeName" default="$(arg robotNamespace)"/>
<arg name="enableSound" default="false"/>

<rosparam command="load" file="$(find project11)/config/operator.yaml" ns="$(arg namespace)"/>
Expand All @@ -12,7 +13,7 @@
<node if="$(arg enableBridge)" pkg="udp_bridge" type="udp_bridge_node" name="udp_bridge" ns="$(arg namespace)">
<param name="port" value="$(arg localPort)"/>
</node>
<rosparam param="udp_bridge/remotes/robot/name" ns="$(arg namespace)" subst_value="True">"$(arg robotNamespace)"</rosparam>
<rosparam param="udp_bridge/remotes/robot/name" ns="$(arg namespace)" subst_value="True">"$(arg robotBridgeName)"</rosparam>

<!-- Command bridge is used to robustly send operator commands over an unreliable connection. -->
<node pkg="command_bridge" type="command_bridge_sender_node.py" name="command_bridge_sender" ns="$(arg robotNamespace)"/>
Expand Down

0 comments on commit 45ea26c

Please sign in to comment.