VINS-RGBD-FAST icon indicating copy to clipboard operation
VINS-RGBD-FAST copied to clipboard

catkin_make

Open Jie-fafa opened this issue 2 years ago • 3 comments

catkin_make时报错 [100%] Linking CXX executable /home/jieie/VINS-RGBD-FAST-catkin_ws/devel/lib/vins_estimator/vins_estimator /usr/bin/ld: 找不到 -ldw collect2: error: ld returned 1 exit status VINS-RGBD-FAST/vins_estimator/CMakeFiles/vins_estimator.dir/build.make:547: recipe for target '/home/jieie/VINS-RGBD-FAST-catkin_ws/devel/lib/vins_estimator/vins_estimator' failed make[2]: *** [/home/jieie/VINS-RGBD-FAST-catkin_ws/devel/lib/vins_estimator/vins_estimator] Error 1 CMakeFiles/Makefile2:2165: recipe for target 'VINS-RGBD-FAST/vins_estimator/CMakeFiles/vins_estimator.dir/all' failed make[1]: *** [VINS-RGBD-FAST/vins_estimator/CMakeFiles/vins_estimator.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed

Jie-fafa avatar May 04 '22 11:05 Jie-fafa

sudo apt-get install libdw-dev sudo wget -P /usr/include https://raw.githubusercontent.com/bombela/backward-cpp/master/backward.hpp

jianhengLiu avatar May 05 '22 08:05 jianhengLiu

谢谢作者,这个问题解决了,但是出现了新的问题。 打开terminal: roscore

新的terminal: source devel/setup.bash roslaunch vins_estimator realsense_color.launch

新的terminal: source devel/setup.bash roslaunch vins_estimator vins_rviz.launch

新的terminal: rosbag play /home/**/Normal.bag 按照这个步骤运行,但是rviz上无法看到效果,rviz无反应

Jie-fafa avatar May 05 '22 08:05 Jie-fafa

谢谢作者,这个问题解决了,但是出现了新的问题。 打开terminal: roscore

新的terminal: source devel/setup.bash roslaunch vins_estimator realsense_color.launch

新的terminal: source devel/setup.bash roslaunch vins_estimator vins_rviz.launch

新的terminal: rosbag play /home/**/Normal.bag 按照这个步骤运行,但是rviz上无法看到效果,rviz无反应

可能是frame_id跟发布节点的不一致, 我不太记得了, worldmap你都可以试试; 如果还是不行的话可以查看/vins_estimator/odometry查看具体哪个坐标系

jianhengLiu avatar May 05 '22 09:05 jianhengLiu