The Foxglove C++ SDK is a higher-level wrapper around the C library. To build it, you will need to link with that library and add the generated includes to your include paths.
The SDK headers include a copy of expected.hpp from tl-expected (docs), which provides an implementation similar to std::expected from C++23.
Build the library and examples:
make build
Run clang-format:
make lint
Run clang-tidy:
make CLANG_TIDY=true build
Build and run tests:
make test
Run with Address & Undefined Behavior sanitizers:
make SANITIZE=address,undefined test
Run example programs (note that a different build directory may be used depending on build settings like sanitizers):
./build/example_server
See detailed instructions on dependencies and visualizing data in the example's readme.
Once OpenCV is installed, build the example:
make BUILD_OPENCV_EXAMPLE=ON buildThis will create the example_rgb_camera_visualization executable in the build directory.