How to Restart LiveLink Fusion When Detecting a Missing Device?

Dear Stereolabs Team,

We’ve been using the Fusion app for an Unreal interactive with 2xZED2i cameras and have been wondering if there’s a way to force the ZED_livelink_fusion.exe to restart or reset the camera connection if it detects that one or both of the cameras are missing or frozen?

I read your comments in a similar post ( How Can we detect when fusion is crashing on startup? - #7 by BenjaminV ) suggesting modifying the fusion source main.cpp to check for getDeviceList(), but is there a way to check for a frozen device?

Additionally, is there any other logging being saved outside of the terminal window running the app where we could monitor its status externally? (i.e. our Unreal app watching for any flags from the Fusion app rather than exclusively through the LiveLink client.)

Thanks!

Tristan

1 Like

Hi,

What do you mean exactly by “frozen” device? You can check the error code returned by the grab in order to know if the camera runs or not.

You can save the logs in a file by using InitParameters::sdk_verbose_log_file, if that answers your question.