joshnewans / urdf_example

A simple example of a URDF file to use with ROS
68 stars 35 forks source link

URDF Example

This repo contains an example of a URDF file and a launch script to run it. (ROS 2) This is part of a tutorial on creating URDF files, available at the links below:

YouTube: See video for example

Blog Post: https://articulatedrobotics.xyz/ready-for-ros-7-urdf/

How To Run

  1. Build the package with colcon.
  2. Launch the robot_state_publisher launch file with ros2 launch urdf_example rsp.launch.py.
  3. Launch joint_state_publisher_gui with ros2 run joint_state_publisher_gui joint_state_publisher_gui. You may need to install it if you don't have it already.
  4. Launch RViz with rviz2

To replicate the RViz display shown in the video you will want to