首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >catkin是如何与ROS2一起使用的?

catkin是如何与ROS2一起使用的?
EN

Stack Overflow用户
提问于 2019-04-25 14:18:40
回答 2查看 5.3K关注 0票数 0

我目前正在使用一个名为smach带旋律的ros软件包。然而,现在我需要升级我的旋律版本,以支持水晶,因为项目使用ROS2。SMACH包依赖于catkin。是否有可能用水晶(ROS2)创建catkin工作区?我尝试了以下几点:

代码语言:javascript
运行
复制
source /opt/ros/$CHOOSE_ROS_DISTRO/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make

此命令给出了以下结果

代码语言:javascript
运行
复制
Command 'catkin_make' not found, but can be installed with:

sudo apt install catkin

developer@bionic-base:~/catkin_ws$ sudo apt install catkin
[sudo] password for developer: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
catkin : Depends: python-catkin-pkg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

即使在使用命令安装python-catkin-pkg之后,此错误仍然存在。

代码语言:javascript
运行
复制
sudo apt-get install python-catkin-pkg

我还试图消除catkin对Ubuntu的依赖。

sudo apt-get install cmake python-catkin-pkg python-empy python-nose libgtest-dev

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55851501

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档