For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gazebo Setup

With ROS 2 Humble setup, run

sudo apt install ros-humble-gazebo-ros-pkgs

Workspace Setup

Create workspace folder

Add pre-existing packages into this folder. We will add the ros_tutorials repository to our workspace. It contains the following packages: roscpp_tutorials, rospy_tutorials, ros_tutorials, and turtlesim.

Resolve dependencies

Build the workspace

If the above error occurs when building turtlesim, run

and then rebuild

The fix method above is found here.

Source the workspace

RVIZ Setup

Create a ROS 2 Package

Move to the src (source) folder of your workspace and create the package using the following command.

Create some extra folders

Build the package

URDF

Last updated