introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
953 stars 555 forks source link

RTABMAP cannot activate VINS-Fusion #871

Open maekjuplease opened 1 year ago

maekjuplease commented 1 year ago

Hi Mathew,

I tried to build rtabmap with -DWITH_VINS-Fusion=ON but it was unsuccessful. Could you please give me some advice for this? I also attached the file below.

Thank you.

question1

maekjuplease commented 1 year ago

https://github.com/introlab/rtabmap_ros/issues/871#top

matlabbe commented 1 year ago

Is VINS-fusion built in your catkin_ws ? If you are on ubuntu 20.04, vins fusion is not compatible with opencv4 out of the box, clone it and apply pull request 136, apply this patch, then catkin_make. Return to rtabmap library and redo cmake, vins-fusion should then be found (assuming your catkin workspace is sourced).