欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-05-01 21:50:43
...

ubuntu18.04安装ros-melodic时报错
Command ‘roscore‘ not found, but can be installed with: sudo apt install python-roslaunch解决方法
查看是否安装包

cd /opt/ros/melodic/bin
ls 

发现没有roscore,安装,在bin目录

sudo apt-get install ros-melodic-desktop

重新查看,发现有了roscore,成功
设置环境变量

source ~/.bashrc
roscore

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

相关标签: linux ubuntu