Skip to content
Olivier Michel edited this page Nov 1, 2021 · 19 revisions

This guide will give you a minimal set of instructions to install the webots_ros2 package and run a demo.

Check a Build and Install page for more details about installing webots_ros2 from sources and different installation methods of Webots.

Installation

Install webots_ros2 package using a package manager:

sudo apt-get install ros-$ROS_DISTRO-webots-ros2

Try the Demo

There are many demos and examples shipped within the webots_ros2 package, but you can try for example:

ros2 launch webots_ros2_demos armed_robots.launch.py

ROS2 Environment: Make sure your ROS2 environment is sourced (source /opt/ros/$ROS_DISTRO/local_setup.bash).

Webots Installation: If you don't have the correct version of Webots installed the package will offer an automatic installation. In that case, you will need to re-run the command once the Webots is installed and configured.

This command will launch Webots simulation with two robotics arms, KUKA and UR5e, moving cans.

Clone this wiki locally