umdlife / psdk_ros2

This repository is a ROS 2 wrapper for the DJI PSDK libraries.

Home Page:https://umdlife.github.io/psdk_ros2/documentation/Introduction.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Disabling Modules

umesh-mane opened this issue · comments

@biancabnd @vicmassy I have set the HMS module to false, but it still gets initialized. I do not want the HMS module to be initialized. Can you fix this issue?
I tried to chnage the values in psdk_wrapper.hpp file still it initiated.

Hi @umesh-mane,
The mandatory module boolean simply means that if the module is set to mandatory and it fails to initialize an error will be issued. If a module is not mandatory, it will still initialize, but if the initialization fails, then the wrapper will only issue a warning and will continue running. So, it does not mean that the wrapper will not be initialized.

In which way the initialization of the HMS module affects your system? Or why would you need to stop it?

It was contineously sending warining msg while development thats why i wanted to stop it.

@biancabnd we can close this issue.