当前位置:   article > 正文

orbslam3 ros编译和运行小技巧_see also "/home/lm/orb_slam3/examples/ros/orb_slam

see also "/home/lm/orb_slam3/examples/ros/orb_slam3/build/cmakefiles/cmakeou

– Configuring incomplete, errors occurred!

//问题
See also “/home/你的用户名/ORB_SLAM3/Examples/ROS/ORB_SLAM3/build/CMakeFiles/CMakeOutput.log”.
make: *** 没有指明目标并且找不到 makefile。 停止。
  • 1
  • 2
  • 3

这个说明你的环境出现了问题,需要把ROS路径添加到bashrc。需要注意的是有路径也不行,你需要把路径放到最后一行。

1. sudo gedit ~/.bashrc
2.export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:/home/cuiyunxuan/ORB_SLAM3/Examples/ROS
  • 1
  • 2

编写shell脚本,一条命令启用多个终端

gnome-terminal -- bash -c "cd /home/knight/MYNT-EYE-S-SDK/;source ./wrappers/ros/devel/setup.bash;roslaunch mynt_eye_ros_wrapper mynteye.launch; exec bash"

cd /home/knight/MYNT-EYE-ORB-SLAM2-Sample/

rosrun ORB_SLAM2 mynteye_s_stereo ./Vocabulary/ORBvoc.txt ./config/mynteye_s_stereo.yaml false /mynteye/left_rect/image_rect /mynteye/right_rect/image_rect
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/292845
推荐阅读
相关标签
  

闽ICP备14008679号