-
-
Notifications
You must be signed in to change notification settings - Fork 176
Getting Started
This guide gives you a minimal set of instructions to install the complete webots_ros2 package and run a demo.
Check the Tutorials in the official ROS documentation for more details about webots_ros2 installation methods for Linux, Windows and macOS.
Other tutorials on how to create custom Webots - ROS 2 simulations and other more advanced tools can be found in the official ROS 2 documentation.
There are many examples shipped within the webots_ros2 package, but you can try for example:
ros2 launch webots_ros2_universal_robot multirobot_launch.pyROS2 Environment: Make sure your ROS2 environment is sourced (
source /opt/ros/$ROS_DISTRO/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 Webots is installed and configured. This is only possible on Linux and Windows.
This command will launch Webots simulation with two robotics arms, ABB and UR5e, moving cans.

More instructions on other examples are available in the Examples section: https://github.com/cyberbotics/webots_ros2/wiki/Examples
- The Ros2Supervisor Node
- Using URDF or Xacro
- Import your URDF Robot in Webots
- Refresh or Add URDF a Robot in a Running Simulation
- Wheeled robots
- Robotic arms
- Automobiles
- Drones