roboware中debug时,catkin_make找不到
问题描述
使用roboware过程中,debug无法找到命令catkin_make
debug时提示:
bash:catkin_make 找不到命令
原因分析:
roboware中的bash未搜索到catkin_make命令
需要添加ros环境,~/.bashrc文件只对当前用户有效,需要向所有用户添加
解决方案:
输入指令
echo “source /opt/ros/melodic/setup.bash” >> /etc/profile
写入到/etc/profile文件中,重新打开roboware,debug即可;
