在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