ROS: roscore cannot run as another roscore/master is already running.

 

在ubuntu系統打開命令終端,輸入roscore,以啓動ros節點,但是提示如下錯誤:

roscore cannot run as another roscore/master is already running. 
Please kill other roscore/master processes before relaunching.
The ROS_MASTER_URI is http://wm-OptiPlex-302016348B0335:11311/
The traceback for the exception was written to the log file

原因是另一個master或roscore已經打開,關閉即可。

解決方法:  終端輸入  killall -9 roscore   &&   killall -9 master

 

參考:https://blog.csdn.net/xbcreal/article/details/60959071

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章