Command ‘roscore‘ not found

ros-melodic安装完成执行roscore报错

Command ‘roscore‘ not found, but can be installed with: sudo apt install python-roslaunch

解决方法

  1. 查看是否安装包
ls /opt/ros/melodic/bin

发现没有roscore

  1. 安装,在bin目录
sudo apt-get install ros-melodic-desktop

重新查看,发现有了roscore,成功

你可能感兴趣的:(Command ‘roscore‘ not found)