mvukov / rules_ros2

Build ROS 2 with Bazel
Apache License 2.0
75 stars 42 forks source link
bazel robot-operating-system robotics ros-2 ros2

CI

Bazel rules for ROS 2

This repo provides functionality to build and use ROS 2 with Bazel.

Prerequisites

You will need to install Bazel, see here. Besides Bazel, you will need a C++ compiler and a Python 3 interpreter.

And no, you don't have to install any ROS 2 packages via apt.

The code is developed and tested on Ubuntu 22.04 with Python 3.10.

What works?

Available features:

Please take a look at the examples folder to get started.

ROS 2 packages are by default locked to versions from release-humble-20240523.

Notes

Alternatives

For alternative approaches, see: