Skip to content

SpectacularAI/ros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

84d4ee3 · Mar 15, 2024

History

26 Commits
Mar 15, 2024
Mar 15, 2024
Sep 15, 2023
Sep 15, 2023
Nov 6, 2023

Repository files navigation

Spectacular AI SDK ROS integration

Supported platforms

  • ROS2 Humble on Linux

Dependencies

Build & Run

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