# Webots ROS 2 now supported on macOS

**URL:** <https://discourse.openrobotics.org/t/webots-ros-2-now-supported-on-macos/28598>\
**Category:** ROS General\
**Tags:** release, ros2\
**Created:** [December 1, 2022, 9:17am UTC](https://discourse.openrobotics.org/t/webots-ros-2-now-supported-on-macos/28598 "2022-12-01T09:17:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ygoumaz](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/ygoumaz/32/15144_2.png) [@ygoumaz](https://discourse.openrobotics.org/u/ygoumaz)\
**Post date:** [December 1, 2022, 9:17am UTC](https://discourse.openrobotics.org/t/webots-ros-2-now-supported-on-macos/28598/1 "2022-12-01T09:17:13Z")

</div>

Dear ROS community,

The Webots development team is happy to announce that the `webots_ros2` package is now compatible with macOS, including Apple Silicon! A Docker solution greatly simplifies the experience of users who use ROS 2 with Webots on macOS machines. This feature is available with the `2023.0.0` version of the package, which is only available on Rolling currently. It will step into Humble at the next sync. You can however already use it by installing the package from sources. The instructions are available here: [macOS Installation Guide · cyberbotics/webots\_ros2 Wiki · GitHub](https://github.com/cyberbotics/webots_ros2/wiki/macOS-Installation-Guide).

**What is it exactly?**  
Until now, the package was never fully compatible with macOS and it was very difficult to install it and use it on Apple devices.

After adding the [new compatibility with WSL (Windows Subsystem for Linux) on Windows](http://discourse.ros.org/t/improved-webots-ros-2-experience-on-windows/28171), we decided to implement a similar solution on macOS. The solution is based on Docker containers. This way, Webots is still run on the macOS host (to take advantage of 3D hardware acceleration), while the whole ROS 2 part can be run in a Linux container, which greatly increases the simplicity of maintaining and using the package and the possibility to use other ROS 2 packages.

**How to use it?**  
The procedure to setup the Docker container with the `webots_ros2` package and start the examples is available here: [macOS Installation Guide · cyberbotics/webots\_ros2 Wiki · GitHub](https://github.com/cyberbotics/webots_ros2/wiki/macOS-Installation-Guide).

The ROS 2 tutorial on setting up a robot simulation with Webots is now also compatible with macOS: [Setting up a robot simulation (Webots) — ROS 2 Documentation: Humble documentation](https://docs.ros.org/en/humble/Tutorials/Advanced/Simulators/Webots.html).

**Want more details?**  
See the PR for more details: [https://github.com/cyberbotics/webots\_ros2/pull/485](https://github.com/cyberbotics/webots_ros2/pull/485)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/ros/original/3X/b/6/b607ee3cc8e908b1b613bd74a683d749fea635a1.svg) [@system](https://discourse.openrobotics.org/u/system)\
**Post date:** [December 31, 2022, 9:17am UTC](https://discourse.openrobotics.org/t/webots-ros-2-now-supported-on-macos/28598/2 "2022-12-31T09:17:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
