Skip to main content

Deploy URDF

In this section, we will learn how to deploy a URDF file from a ROS2 package.

Introduction

The following steps will guide you through deploying a URDF file to a ROS2 package.

Steps

  1. Create a ROS2 workspace if you haven't already. You can follow the steps in the Create a ROS2 Workspace tutorial.

  2. In the src folder of the workspace unzip the robot description package downloaded from the URDF creator.

  3. Build the workspace using the following command:

colcon build
  1. Run the launch file in the robot description package that will launch the robot in Rviz:
ros2 launch <robot_description_package> <launch_file>