Skip to content
Darko Lukić edited this page Oct 17, 2020 · 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 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

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

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

Clone this wiki locally