[参考]:
https://blog.csdn.net/m0_37192554/article/details/81697791
https://blog.csdn.net/amazingren/article/details/81746176
问题:
今天突然作死为了ubuntu终端更好看,把terminal从bash切换为了zsh
然后在zsh下不能roscore
同样其他的ros操作也都不能实现
解决办法:
gedit ~/.zshrc
source /opt/ros/kinetic/setup.zsh
之后
catkin_make
source devel/setup.zsh
最后还是选择了切换成bash
chsh -s /usr/bin/bash