... logging to /home/river/.ros/log/ad6d0dcc-cee2-11ee-8568-27a1b895b12b/roslaunch-riverspe-7522.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
RLException: Unable to contact my own server at [http://10.0.0.48:37535/].
This usually means that the network is not configured properly.
A common cause is that the machine cannot connect to itself. Please check
for errors by running:
ping 10.0.0.48
For more tips, please see
http://wiki.ros.org/ROS/NetworkSetup
The traceback for the exception was written to the log file
原因:在.bashrc
里设置了启动ros时的地址和名称,所以出现了这个问题,原来是开机就启动连接一个指定的ip地址。但现在不需要这么做,所以要做些修改。
solution:
1.修改.bashrc文件
终端输入
gedit ~/.bashrc
打开.bashrc文件,可以看到原来的ros链接到了一个指定的ip地址(10.0.0.48),所以需要对地址和用户名进行修改(将10.0.0.48改为localhost)。
原来的.bashrc
启动ros的部分
修改后的 .bashrc
启动ros的部分
2.更新.bashrc文件
终端输入
source ~/.bashrc
更新之后再运行roscore就可以了