Skip to content

Commit

Permalink
Use arm_id prefix for all nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Nov 8, 2021
1 parent 25ed4dd commit daaad8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions franka_gazebo/launch/panda_ns.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@
args="franka_state_controller $(arg controller)"
/>

<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
<node name="joint_state_publisher" type="joint_state_publisher" pkg="joint_state_publisher">
<node name="$(arg arm_id)_robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
<node name="$(arg arm_id)_joint_state_publisher" type="joint_state_publisher" pkg="joint_state_publisher">
<rosparam param="source_list">[franka_state_controller/joint_states, franka_gripper/joint_states] </rosparam>
<param name="rate" value="30"/>
</node>
<node name="joint_state_desired_publisher" type="joint_state_publisher" pkg="joint_state_publisher">
<node name="$(arg arm_id)_joint_state_desired_publisher" type="joint_state_publisher" pkg="joint_state_publisher">
<rosparam param="source_list">[franka_state_controller/joint_states_desired, franka_gripper/joint_states] </rosparam>
<param name="rate" value="30"/>
<remap from="joint_states" to="joint_states_desired" />
</node>

<!-- Start only if cartesian_impedance_example_controller -->
<node name="interactive_marker"
<node name="$(arg arm_id)_cartesian_goal_marker"
pkg="franka_example_controllers"
type="interactive_marker.py"
if="$(eval arg('controller') == 'cartesian_impedance_example_controller')">
Expand Down

0 comments on commit daaad8b

Please sign in to comment.