Skip to content

Commit

Permalink
mir_debug_urdf.launch: Fix GUI display
Browse files Browse the repository at this point in the history
  • Loading branch information
mintar committed Oct 14, 2022
1 parent 383f327 commit 296e2ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mir_description/launch/mir_debug_urdf.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
<!-- load MiR URDF -->
<include file="$(find mir_description)/launch/upload_mir_urdf.launch" />

<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="$(arg gui)"/>
</node>
<node if="$(arg gui)" name="joint_state_publisher" pkg="joint_state_publisher_gui" type="joint_state_publisher_gui" />
<node unless="$(arg gui)" name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" />

<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />

Expand Down
1 change: 1 addition & 0 deletions mir_description/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<buildtool_depend>ament_cmake</buildtool_depend>

<exec_depend>joint_state_publisher</exec_depend>
<exec_depend>joint_state_publisher_gui</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>gazebo_ros</exec_depend>
<exec_depend>rviz2</exec_depend>
Expand Down

0 comments on commit 296e2ab

Please sign in to comment.