Skip to content

Instantly share code, notes, and snippets.

@rethink-imcmahon
Last active January 25, 2016 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rethink-imcmahon/9eae75cf445c4009a514 to your computer and use it in GitHub Desktop.
Save rethink-imcmahon/9eae75cf445c4009a514 to your computer and use it in GitHub Desktop.
<?xml version="1.0" ?>
<launch>
<!-- Load the URDF into the ROS Parameter Server -->
<param name="robot_description" command="cat '$(find your_robot_description)urdf/your.urdf'" />
<node pkg="joint_state_publisher" type="joint_state_publisher" name="joint_state_publisher" output="screen" args="_use_gui:=true"/>
<!-- Publish a static transform between the world and the base of the robot -->
<node pkg="tf2_ros" type="static_transform_publisher" name="base_to_world" args="0 0 0 0 0 0 1 world base" />
<node name="robot_state_publisher" type="robot_state_publisher" pkg="robot_state_publisher" output="screen"/>
<node name="rviz" pkg="rviz" type="rviz" output="screen"/>
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment