Skip to content

Commit

Permalink
Update xml launch files
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Aug 24, 2024
1 parent eafa3e7 commit 52a0473
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Author: Dr. Denis

<!-- Load description and start controllers -->
<let name="robot_description_content" value="$(command '$(find-exec xacro) $(find-pkg-share gz_ros2_control_demos)/urdf/test_gripper_mimic_joint_effort.xacro.urdf')" />
<let name="robot_controllers" value="$(find-pkg-share gz_ros2_control_demos)/config/gripper_controller_effort.yaml"/>

<node pkg="robot_state_publisher" exec="robot_state_publisher" output="both">
<param name="robot_description" value="$(var robot_description_content)" />
Expand All @@ -50,8 +51,8 @@ Author: Dr. Denis
<node pkg="controller_manager" exec="spawner" args="joint_state_broadcaster">
<param name="use_sim_time" value="true" />
</node>
<!--Mobile Base Controller-->
<node pkg="controller_manager" exec="spawner" args="gripper_controller">
<!--Gripper Controller-->
<node pkg="controller_manager" exec="spawner" args="gripper_controller --param-file $(var robot_controllers)">
<param name="use_sim_time" value="true" />
</node>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Author: Dr. Denis

<!-- Load description and start controllers -->
<let name="robot_description_content" value="$(command '$(find-exec xacro) $(find-pkg-share gz_ros2_control_demos)/urdf/test_gripper_mimic_joint_position.xacro.urdf')" />
<let name="robot_controllers" value="$(find-pkg-share gz_ros2_control_demos)/config/gripper_controller_position.yaml"/>

<node pkg="robot_state_publisher" exec="robot_state_publisher" output="both">
<param name="robot_description" value="$(var robot_description_content)" />
Expand All @@ -50,8 +51,8 @@ Author: Dr. Denis
<node pkg="controller_manager" exec="spawner" args="joint_state_broadcaster">
<param name="use_sim_time" value="true" />
</node>
<!--Mobile Base Controller-->
<node pkg="controller_manager" exec="spawner" args="gripper_controller">
<!--Gripper Controller-->
<node pkg="controller_manager" exec="spawner" args="gripper_controller --param-file $(var robot_controllers)">
<param name="use_sim_time" value="true" />
</node>

Expand Down

0 comments on commit 52a0473

Please sign in to comment.