How to Pass ini Configuration to RTAB-Map Visualization Node (rtabmap_viz)?

Posted by rob_slam on
URL: http://official-rtab-map-forum.206.s1.nabble.com/How-to-Pass-ini-Configuration-to-RTAB-Map-Visualization-Node-rtabmap-viz-tp10923.html

Hello everyone,

I am using RTAB-Map in ROS2 and passing my custom .ini configuration file to the RTAB-Map SLAM Node (rtabmap). One of the parameters I set in my ini file is:

DetectionRate=0.0

However, when I start all nodes and open RTAB-Map Visualization (rtabmap_viz), I check the parameters in the GUI and see that DetectionRate is set to 1.0 instead of 0.0. It seems that rtabmap_viz does not respect my .ini configuration.

My Questions:

How can I make sure that rtabmap_viz loads the same ini file as rtabmap?
Is there a specific argument or environment variable needed to force rtabmap_viz to use my custom settings?
Are there any known limitations where rtabmap_viz overrides settings from the ini file?
Any insights or solutions would be greatly appreciated!

Thanks in advance,
Best regards