当前位置:网站首页>ROS问题及解决方案——依赖包安装以及无法修正错误
ROS问题及解决方案——依赖包安装以及无法修正错误
2022-07-26 15:29:00 【华为云】
1. 问题描述
在ROS编译过程中经常会遇到找不到ROS包的情况,如下所示
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "gazebo_plugins" with any of the following names: gazebo_pluginsConfig.cmake gazebo_plugins-config.cmake Add the installation prefix of "gazebo_plugins" to CMAKE_PREFIX_PATH or set "gazebo_plugins_DIR" to a directory containing one of the above files. If "gazebo_plugins" provides a separate development package or SDK, be sure it has been installed.2.解决方案
在ROS wiki上有这么一段话,可能很多人都将他忽略了
单个软件包安装: 你也可以安装某个指定的ROS软件包(使用软件包名称替换掉下面的PACKAGE):
sudo apt-get install ros-kinetic-PACKAGE例如:
sudo apt-get install ros-kinetic-slam-gmapping这段话的意思就是:
当你需要安装ROS的依赖包时,可以使用sudo apt-get install ros-kinetic-PACKAGE命令,其中
sudo是root用户的意思,apt-get install是代表要安装软件,ros-kinetic-PACKAGE是依赖包的名字(其中ros-kinetic-代表是ROS的依赖包,kinetic是你所使用ROS版本名字,PACKAGE是需要替换的地方,指的是依赖包的名字)
例如,针对问题中的依赖包,使用如下命令(所缺的包存在下划线也转为-)
sudo apt-get install ros-kinetic-gazebo-plugins3. E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

把系统设置 更新都选中:
然后sudo apt-get update
边栏推荐
- Using information entropy to construct decision tree
- Enterprise digital transformation needs in-depth research, and it cannot be transformed for the sake of transformation
- Is there any need for livedata to learn—— Jetpack series (2)
- 04 callable and common auxiliary classes
- Data preprocessing of data mining
- Can't you see the withdrawal? Three steps to prevent withdrawal on wechat.
- Continuous integration (II) introduction to the basic use of Jenkins
- TI C6000 TMS320C6678 DSP+ Zynq-7045的PS + PL异构多核案例开发手册(4)
- 持续集成(二)Jenkins基本使用介绍
- 企业数字化转型需要深入研究,不能为了转型而转型
猜你喜欢

NAT/NAPT地址转换(内外网通信)技术详解【华为eNSP】

How much help does solid state disk have for game operation

pytorch安装 CUDA对应

OpenGL learning diary 2 - shaders

sklearn clustering聚类

【五分钟Paper】基于参数化动作空间的强化学习
![Detailed explanation of nat/napt address translation (internal and external network communication) technology [Huawei ENSP]](/img/84/3f5092bc2da6dfe657d7c27c6492cc.png)
Detailed explanation of nat/napt address translation (internal and external network communication) technology [Huawei ENSP]

OSPF综合实验

Reflection, enumeration, and lambda expressions

gcc/g++与动静库以及gdb
随机推荐
How to convert planning map into vector data with longitude and latitude geojson
FTP协议
工具技能学习(一):前置技能-makfile、make、.mk
桌面应用布局图
The civil construction of the whole line of Guangzhou Metro Line 13 phase II has been completed by 53%, and it is expected to open next year
反射、枚举以及lambda表达式
API 版本控制【 Eolink 翻译】
NAT/NAPT地址转换(内外网通信)技术详解【华为eNSP】
Using information entropy to construct decision tree
Data warehouse: Data Modeling and log system in data warehouse construction
Credit card number recognition (openCV, code analysis)
pytorch---进阶篇(函数使用技巧/注意事项)
Continuous integration (I) brief introduction to basic concepts
Glyphicons V3 字体图标查询
【DSCTF2022】pwn补题记录
OSPF综合实验
TI C6000 TMS320C6678 DSP+ Zynq-7045的PS + PL异构多核案例开发手册(2)
Promise, async await and the solution of cross domain problems -- the principle of proxy server
What is a virtual camera
Can't you see the withdrawal? Three steps to prevent withdrawal on wechat.