unable to contact my own server at [http://localhost:44381:44103/]. This usually means that the network is not configured properly.
This usually means that the network is not configured properly.)
最近在学习从SolidWorks导出urdf模型,之后在ros中运行,但是,在运行过程中出现了如下问题:
输入了
roslaunch UR3 display.launch
之后,提是如下错误:
unable to contact my own server at [http://localhost:44381:44103/].
This usually means that the network is not configured properly.
A common cause is that the machine cannot ping itself. Please check
for errors by running:
ping localhost
For more tips, please see
http://www.ros.org/wiki/ROS/NetworkSetup
The traceback for the exception was written to the log file
一开始,我输入了
export ROS_HOSTNAME=localhost
export ROS_MASTER_URI=http://robot:44381/
然后并没有用,错误变成了
ERROR: unable to contact ROS master at [http://robot:44381/]
The traceback for the exception was written to the log file
之后一顿谷歌,输入
export ROS_HOSTNAME=localhost
export ROS_MASTER_URI=http://localhost:11311
问题解决。
记在这里以备后面查阅