This project builds C++ and Python examples against a system-installed ROS 2 Rolling binary distribution within a Bazel workspace.
For an introduction to Bazel, refer to Getting Started with Bazel.
For documentation on the underlying Bazel infrastructure, refer to
bazel_ros2_rules
.
First, install the required dependencies:
sudo ./setup/install_prereqs.sh
To build all packages:
bazel build //...
To run examples binaries directly:
bazel run //ros2_example_apps:oracle_cc
bazel run //ros2_example_apps:inquirer_py
You may also run tests:
bazel test //...