rpng / open_vins

An open source platform for visual-inertial navigation research.
https://docs.openvins.com
GNU General Public License v3.0
2.05k stars 615 forks source link

Enable building without ROS even if you have ROS #448

Open henrygerardmoore opened 1 month ago

henrygerardmoore commented 1 month ago

I want to build without ROS enabled even though I have ROS2 installed. While following this guide, I found that in the current CMake, -DENABLE_ROS=OFF will be ignored if you have ROS2 installed (since it goes directly to ROS2.cmake instead of ROS1.cmake). This PR makes it so you can build without ROS if you so choose, even if you have it installed.

Please let me know if you need any further information or require changes :smile: