6.常用的软件包管理指令

》》点赞,收藏+关注,理财&技术不迷路《《

6.常用的软件包管理指令

Rosdep和第五点不一样的地方就是,rosdep是从github上面克隆下来的依赖。

Rospack find 名字

[email protected]:~$ rospack find test2(定位包的路径)

/home/xiangliu/catkin_ws/src/test2

Rospack list

Rosdep

Rosls:

要么roscd进入该文件夹再ls,或者直接从外部rosls显示

[email protected]:~$ rosls topic_demo

CMakeLists.txt  msg  package.xml  README.md  scripts  src

[email protected]:~$ ls catkin_ws  (普通linux操作)

build  devel  src

[email protected]:~$ ls topic_demo (不加ros是不能对工作空间操作的)

ls: cannot access 'topic_demo': No such file or directory

Rosed:(能直接链接进去某个文件夹下某个文件的内容)

比如我们进入CMakeLists.txt

6.常用的软件包管理指令

Roscd(进入工作环境下的文件夹):

[email protected]:~$ roscd robot_sim_demo

[email protected]:~/catkin_ws/src/ROS-Academy-for-Beginners/robot_sim_demo$ ls

CMakeLists.txt  models       param      scripts             urdf

launch          package.xml  README.md  simulation_pic.png  worlds