I never tried VINS-Fusion under ROS2, it looks like there is a repo there:
https://github.com/zinuok/VINS-Fusion-ROS2For VINS-Fusion integration inside rtabmap, the best would be to convert the
original repo and make it a c++ library directly and remove everything ros1, though I don't remember how much of the source code uses ROS.