Segmentation Fault When Using Arducam TOF SDK c++ in ROS2 Node

Hi everyone,

I’m trying to integrate the Arducam ToF SDK into a ROS2 node, but I’ve run into a segmentation fault issue that I can’t figure out. When I add the following line to my working ROS2 node:

ArducamTOFCamera tof;

The node compiles successfully, but it crashes with a segmentation fault when I run it.

Questions and Request for Help:

Has anyone successfully used the Arducam ToF SDK in a ROS2 C++ node?

Using gdb :
Thread 4 “arducam_tof” received signal SIGSEGV, Segmentation fault.
0x0000007ff6bd90ec in spdlog::logger::flush() () from /lib/libarducam_evk_sdk.so.1

Is there a way to disable the logger for the ArducamTofCamera SDK?

Hello,
I’m having the exact same problem. Did you find a solution ?