UBuntu18.04+ROS 出现Could not find a package configuration file provided by “effort_controllers“

  具体安装配置UBuntu18.04+ROS melodic安装Baxter SDK软件参考下面的博客

UBuntu18.04+ROS melodic安装Baxter SDK软件,显示仿真_baxter ubuntu18.04-CSDN博客

在配置UBuntu18.04+ROS melodic安装Baxter SDK软件,显示仿真时候遇到Could not find a package configuration file provided by  "effort_controllers" with any of the fol这个问题。

 sudo apt-get install ros-melodic-effort-controllers,却显示“E: 无法定位软件包 ros-melodic-effort-controllers”,百思不得其解。后来尝试手动安装ros-melodic-effort-controllers,从github下载之后再ros_ws中编译发现问题还在。尝试更换镜像源,还是没有解决问题。

后通过以下几个步骤解决:

1.添加 ROS 软件源

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

2.添加 ROS GPG 密钥(一般不用添加,在装ros的时候装过)

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

3.更新软件源列表

sudo apt-get update

4.安装其他相关的ros包

sudo apt-get install ros-melodic-controller-manager ros-melodic-joint-state-controller ros-melodic-joint-trajectory-controller ros-melodic-ros-controllers

5.编译工作空间

cd ~/ros_ws
catkin_make

问题解决

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值