/ bin / bash:catkin_make:找不到命令Google Colab

时间:2020-02-19 23:37:45

标签: google-colaboratory catkin

我正在尝试在Google Colab上创建Catkin工作区 我的代码在这里:

!echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
!source ~/.bashrc

import os
cmd = 'mkdir -p ~/catkin_ws/src'
os.system(cmd)
%cd ~/catkin_ws
!catkin_make

我收到以下错误:

/root/catkin_ws
/bin/bash: catkin_make: command not found

有人知道我在做什么错吗?

0 个答案:

没有答案