- ROS2 Humble on Linux
- ROS2 Humble framework: https://docs.ros.org/en/dashing/Installation/Ubuntu-Install-Binary.html
- DepthAI ROS: https://github.com/luxonis/depthai-ros
- Spectacular AI SDK (requires commercial version): https://www.spectacularai.com/#contact
Extract Spectacular AI SDK somewhere, for example spectacularAI/
and optionally install it. If you don't install it, use -DspectacularAI_DIR=
to help CMake build find it.
From this repository root, assuming x86-64
architecture and SDK in spectacularAI/
:
scripts/build_all.sh -DspectacularAI_DIR=../spectacularAI/Linux_Ubuntu_x86-64/lib/cmake/spectacularAI -DDYNAMIC_SAI_LIBRARY=ON
# OR alternatively, with a static SDK variant, with -DDYNAMIC_SAI_LIBRARY=OFF
# ./scripts/build_all_static.sh /PATH/TO/spectacularAI_*_static.tar.gz
Run:
source ./spectacularai_ros2/install/setup.bash && ros2 launch ./spectacularai_ros2/launch/oak_d.launch.py