ROS(indigo)当中的破事-安装运行

ROS下载慢

解决方法:

/etc/apt/sources.list换成国内源:

#中科大
deb http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
#清华
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
#阿里云
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

把sources.list.d/ros-latest.list也换成国内:

deb http://mirrors.ustc.edu.cn/ros/ubuntu/ trusty main
deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ trusty main

moveit

解决方法:

sudo apt-get install ros-indigo-moveit-full

hardware_interface

Could not find a package configuration file provided by
"hardware_interface" with any of the following names:

hardware_interfaceConfig.cmake
hardware_interface-config.cmake

解决方法:

sudo apt-get install ros-indigo-hector-*

Error [gazebo.cc:220] Waited 11 seconds for namespaces. Giving up.

本地没有gazebo模型,所以上网找,gazebo 2.2自带的网站又是挂的,他找不到,所以报错。

解决方法:

在主目录创建~/.gazebo/models这个目录,从https://bitbucket.org/osrf/gazebo_models/downloads上面下载模型,把下下来的压缩文件解压,把解压出来的文件夹下面所有的东西弄到刚刚创建的文件夹下面,就ok了。


controller type ‘position_controllers/JointTrajectoryController’ does not exist.

解决方法:

sudo apt-get install ros-indigo-ros-controllers

[gazebo_gui-3] process has died

解决方法:

关闭虚拟机3D加速,这俩不兼容。


Exception [Master.cc:50] Unable to start server[bind: Address already in use]. There is probably another Gazebo process running.

由于上次gazebo未正常关闭导致,解决方法:

killall gzserver

trac_ik_lib

sudo apt-get install ros-indigo-trac-ik

2人评论了“ROS(indigo)当中的破事-安装运行”

  1. Pingback: ROS Tutorials-Beginnner Level Memo - Fivyex's Blog

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据