Ubuntu18.04编译安装ROS工具包MoveIt
2022/3/4 7:15:53
本文主要是介绍Ubuntu18.04编译安装ROS工具包MoveIt,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
官方安装教程请点击https://moveit.ros.org/install/source/
笔者在这一步遇到问题,
sudo apt install python3-wstool python3-catkin-tools clang-format-10 python3-rosdep
出现如下报错
The following packages have unmet dependencies:
python3-rosdep : Depends: python3-catkin-pkg but it is not going to be installed
Depends: python3-rosdistro but it is not going to be installed
Depends: python3-rospkg but it is not going to be installed
Depends: python3-rosdep-modules (>= 0.21.0) but it is not going to be installed
用apt安装python3-catkin-pkg时,会卸载掉很多ros包,原因好像是python2和python3的冲突问题。于是跳过了这条命令,一直到"catkin build",在catkin build的过程中,报了很多依赖问题
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "warehouse_ros"
with any of the following names:warehouse_rosConfig.cmake
warehouse_ros-config.cmakeAdd the installation prefix of "warehouse_ros" to CMAKE_PREFIX_PATH or set
"warehouse_ros_DIR" to a directory containing one of the above files. If
"warehouse_ros" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
笔者一条条解决,最终编译通过,将其中所需的ros包汇总如下
sudo apt install ros-melodic-eigen-stl-containers ros-melodic-object-recognition-msgs ros-melodic-random-numbers* ros-melodic-octomap-msgs ros-melodic-graph-msgs ros-melodic-pybind11-catkin ros-melodic-ompl* ros-melodic-warehouse-ros ros-melodic-eigenpy ros-melodic-rosparam-shortcuts
即在catkin build前安装上述这些包
这篇关于Ubuntu18.04编译安装ROS工具包MoveIt的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2025-01-14折腾之王:JavaScript 之父 Brave 浏览器与 BAT 的诞生
- 2025-01-13从协作到创新:电商团队效率提升新方法
- 2025-01-13汉服销售拓展客源,能精准投放广告的软件求推荐!蛇年新春!
- 2025-01-13提升客户体验的关键:电商团队协作效率优化
- 2025-01-13不触碰资金的支付网关有哪些?
- 2025-01-13如何运用敏捷开发的6大模型来提高团队工作效率?
- 2025-01-13汉服制作质量检测,能高清放大细节的软件用哪个?2025 新春!
- 2025-01-13团队目标管理的6种实用方法(附OKR模板)
- 2025-01-13短剧制片的幕后:如何通过协同编辑提升效率
- 2025-01-13B端产品业务调研:系统步骤与策略解析