AutonomousFieldRoboticsLab / SVIn

Underwater Navigation with tightly coupled fusion of Visual Inertial Sonar and Depth Information
GNU General Public License v3.0
96 stars 19 forks source link

When compiling code in debug mode, the code does not run normally #27

Open 1ADZX opened 8 months ago

1ADZX commented 8 months ago

When I compile the project in debug mode, such as catkin_make -DCMAKE_BUILD_TYPE=Debug. At the same time, I comment out the code set (CMAKE_BUILD_TYPE Release) in the path svinws/src/SVIn/okvis_ros/CMakeLists.txt. The purpose of this is to make Debug compilation facilitates breakpoint debugging. But when I ran the data set, such as Underwater_Bus, I found that the node okvis_node reported an error, causing the entire code to not run normally. But when I modify the above CMakeLists.txt back to release compilation, the code can run normally. I would like to ask how you compile the code and implement breakpoint debugging on okvis_node?