简体   繁体   English

将ORB_SLAM作为ROS节点运行时出错

[英]Error while running ORB_SLAM as a ROS node

Following the tutorial provided in this link, I am trying to run ORB_SLAM as a ROS node in ROS Indigo. 按照此链接中提供的教程我尝试将ORB_SLAM作为ROS Indigo中的ROS节点运行。 After executing the line /.build_ros.sh, I am facing a list of errors, 执行/.build_ros.sh行后,我遇到了一系列错误,

/home/ubuntu_16/ORB_SLAM2/Examples/ROS/ORB_SLAM2/../../../Thirdparty/g2o/g2o/types/../core/jacobian_workspace.h:30:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
CMakeFiles/RGBD.dir/build.make:118: recipe for target 'CMakeFiles/RGBD.dir/src/ros_rgbd.cc.o' failed
make[2]: *** [CMakeFiles/RGBD.dir/src/ros_rgbd.cc.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/RGBD.dir/all' failed
make[1]: *** [CMakeFiles/RGBD.dir/all] Error 2

I am unable to get rid of these problem, if someone has faced the same, please help. 我无法摆脱这些问题,如果有人遇到过同样的问题,请提供帮助。 Thank you. 谢谢。

Do you install Eigen? 您是否安装了Eigen? Try this: sudo apt-get install libeigen3-dev 试试这个: sudo apt-get install libeigen3-dev

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM