UZ-SLAMLab / ORB_SLAM3

ORB-SLAM3: An Accurate Open-Source Library for Visual, Visual-Inertial and Multi-Map SLAM
GNU General Public License v3.0
6.64k stars 2.57k forks source link

orb-slam3修改源码并编译后,ROS模式运行结果为什么还是之前结果,但是直接运行的结果却是改变后的结果 #916

Open Yangyang221 opened 4 months ago

Yangyang221 commented 4 months ago

ROS模式下运行结果: 2024-07-12 16-19-41 的屏幕截图 非ROS模式下的运行结果: 2024-07-12 16-22-44 的屏幕截图 我修改了源码,在viewer里面加入了展示平面的按钮控件,但是使用ROS编译后,pangolin viewer可视化界面中没有改控件

nesquik011 commented 4 months ago

you should show us how you did that

Yangyang221 commented 4 months ago

我在viewer.cc文件中添加了代码:pangolin::Var menuShowPlanar("menu.Show Planar",false,true); 之后进行了代码编译,使用./Examples/RGB-D/rgbd_tum运行时,出现图2效果。使用rosrun 命令出现图1效果

jarvisyjw commented 3 months ago

Did you compile the ROS node after you changed the code?