加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

ROS Create a Catkin Workspace

发布时间:2020-12-14 05:15:30 所属栏目:大数据 来源:网络整理
导读:Step1 : First,create the top level catkin workspace directory and a sub-directory named src (pronounced source). The top level directory’s name is arbitrary,but is often called catkin_ws (an abbreviation of catkin_workspace),so we will fo

Step1 :

First,create the top level catkin workspace directory and a sub-directory named src (pronounced source). The top level directory’s name is arbitrary,but is often called catkin_ws (an abbreviation of catkin_workspace),so we will follow this convention. You can create these two directories with a single command:

$ mkdir -p ~/catkin_ws/src

Step2:

Next,navigate to the src directory with the cd command:

$ cd ~/catkin_ws/src

Step3:

initialize the catkin workspace:

$ catkin_init_workspace

Let’s list the contents of the current directory to see what changed.

$ ls -l

Notice that a symbolic link (CMakeLists.txt) has been created to
/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake

Step4:

Return to top level directory

$ cd ~/catkin_ws

Step5:

build the workspace
Note: you must issue this command from within the top level directory (i.e.,within catkin_ws NOT catkin_ws/src)

$ catkin_make

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读