ubuntu中ROS的相关指令

1 安装tree

tree能够使得文件下目录一树状形式显示出来:

sudo apt-get install tree

2 出现错误

(1) 错误一:出现认证错误:

Authentication failure

解决方案:

sudo passwd root

(2)  错误二: 出现下面错误,应该是缺少相关的依赖

安装相关的依赖就行:

#安装相关的以来就行了
sudo apt-get install ros-kinetic-(需要下载的依赖)

如果还是提示错误,依旧安装相关的依赖就行

3获取机器人"看到"的图像

rosrun image_view image_view image:=/camera/rgb/image_raw

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章