Skip to content

Instantly share code, notes, and snippets.

@RDaneelOlivav
Created September 28, 2021 08:17
Show Gist options
  • Save RDaneelOlivav/972c93543b3a7f56b66ddc4b8a872c8c to your computer and use it in GitHub Desktop.
Save RDaneelOlivav/972c93543b3a7f56b66ddc4b8a872c8c to your computer and use it in GitHub Desktop.
<launch>
<!-- USE: roslaunch my_mira_description urdf_visualize.launch model:='$(find myrobot_package)/urdf/myrobot.urdf' -->
<arg name="model" default=""/>
<param name="robot_description" command="cat $(arg model)" />
<!-- send fake joint values -->
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="TRUE"/>
</node>
<!-- Combine joint values -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher"/>
<!-- Show in Rviz -->
<!--<node name="rviz" pkg="rviz" type="rviz" args="-d $(find urdf_demo_pkg)/rviz_config/urdf.rviz"/>-->
<node name="rviz" pkg="rviz" type="rviz" args=""/>
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment