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
-
Create a ROS2 workspace if you haven't already. You can follow the steps in the Create a ROS2 Workspace tutorial.
-
In the src folder of the workspace unzip the robot description package downloaded from the URDF creator.
-
Build the workspace using the following command:
colcon build
- Run the launch file in the robot description package that will launch the robot in Rviz:
ros2 launch <robot_description_package> <launch_file>