我目前正在使用一个名为smach的ros软件包,带有旋律。但是,由于该项目使用DDS,所以现在我需要将我的旋律版本升级到Crystal以支持ROS2。 SMACH程序包取决于柔kin花序。是否可以用水晶(ROS2)创建柔kin花工作区? 我尝试了以下方法:
source /opt/ros/$CHOOSE_ROS_DISTRO/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
此命令给出了以下结果
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之后,该错误仍然存在
sudo apt-get install python-catkin-pkg
我还试图删除catkin对Ubuntu的依赖
sudo apt-get install cmake python-catkin-pkg python-empy python-nose libgtest-dev