卸载cmake重装ros功能不完整

编程入门 行业动态 更新时间:2024-10-11 13:19:57

卸载cmake重装后发现ros功能不完整(如roslaunch、rosrun等命令无法使用)

注意:绝对不要卸载cmake重装,因为卸载cmake时会将其他插件卸载掉。。。

1、重新安装ros

安装教程:https://blog.csdn/m0_51759289/article/details/123865295

在安装ros-melodic-desktop-full报错:

下列软件包有未满足的依赖关系:
ros-melodic-desktop-full : 依赖: ros-melodic-simulators 但是它将不会被安装
依赖: ros-melodic-urdf-sim-tutorial 但是它将不会被安装

解决方法:
使用aptitude安装
1)安装aptitude工具

apt-get install aptitude

2)安装上面提到的两个依赖软件包

sudo aptitude install ros-melodic-simulators ros-melodic-urdf-sim-tutorial 

3)安装ROS-melodic

sudo apt-get install ros-melodic-desktop-full

2、catkin_make功能包未找到moveit_core

Could NOT find moveit_core (missing: moveit_core_DIR)
– Could not find the required component ‘moveit_core’. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.


重新安装moveit:https://blog.csdn/weixin_47266712/article/details/124765684?spm=1001.2014.3001.5501

3、catkin_make功能包没有moveit_visual_tools

Could not find a package configuration file provided by
“moveit_visual_tools” with any of the following names:

moveit_visual_toolsConfig.cmake
moveit_visual_tools-config.cmake


解决方法:

sudo apt-get install ros-melodic-moveit-visual-tools

总结:绝对绝对不要使用sudo apt-get remove cmake卸载cmake,哭死!!!

更多推荐

卸载cmake重装ros功能不完整

本文发布于:2023-06-13 21:10:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1405351.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:重装   不完整   功能   cmake   ros

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!