问题1

[rospack] Error: the rosdep view is empty: call ‘sudo rosdep init’ and ‘rosdep update’

解决:
sudo apt install sudo apt install python-rosdep2

问题2

Couldn’t find rospack. Please run ‘make’ in $ROS_ROOT

解决:
在终端中输入rospack看是否有这个命令,如果没有就按http://wiki.ros.org/melodic/Installation/Ubuntu重装ros

问题3

error: no matching function for call to ‘ORB_SLAM2::System::TrackMonocular(const cv::Mat&, double)’

解决:
因为原有的项目:https://github.com/1989Ryan/Semantic_SLAM, 按这个项目https://github.com/poetgeorge/SemanticSLAM就可以了。

问题4

No module named ‘map_generator’

解决:
参考,作者的说明:
【SLAM】——报错Error: the rosdep view is empty: call ‘sudo rosdep init‘ and ‘rosdep update‘_python