Vendor package for ONNX Runtime.
Downloads the official prebuilt ONNX Runtime Linux x86_64 binary at build time and exposes it as a CMake imported target (onnxruntime::onnxruntime) for use by other ROS 2 packages.
colcon build --packages-select onnxruntime_vendorONNX Runtime is fetched automatically from GitHub releases during the build — no manual download required.
In your CMakeLists.txt:
find_package(onnxruntime_vendor REQUIRED)
target_link_libraries(my_target PRIVATE onnxruntime::onnxruntime)In your package.xml:
<depend>onnxruntime_vendor</depend>The installed layout under opt/onnxruntime_vendor/ mirrors the upstream ONNX Runtime release tarball:
opt/onnxruntime_vendor/
include/ # ONNX Runtime headers
lib/ # libonnxruntime.so and related libraries
This package is part of a larger project licensed under the Apache License 2.0 (see the top-level LICENSE file).
ONNX Runtime itself is developed by Microsoft Corporation and distributed under the MIT License. The prebuilt ONNX Runtime binaries and headers used by this vendor package are obtained from the official microsoft/onnxruntime GitHub releases.
For the full ONNX Runtime license text, see LICENSE-ONNXRUNTIME in this directory.