参考:
文档1:https://blog.csdn.net/ck784101777/article/details/106297924
文档2:https://blog.csdn.net/qq_43569735/article/details/108038384(更推荐)
bug1:文档1,步骤1.1中,创建工作空间指令
原指令:
$ source /opt/ros/kinetic/setup.bash
由于我的是18.04所以需要改为:
$ source /opt/ros/melodic/setup.bash
bug2:文档1,步骤1.1中,创建成功没说明提示
执行指令:
$ catkin_init_workspace
创建成功,提示:
Creating symlink "/home/wuhd/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/melodic/share/catkin/cmake/toplevel.cmake"