admin管理员组文章数量:1567242
问题:
RLException:Unable to contact my own server at [http://192.168.0.101:42985/].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 192.168.0.101
For more tips, please see
http: / /www.ros /wiki/ROS/NetworkSetup
The traceback for the exception was written to the log file
解决方法:修改文件.bashrc中的内容
方法一:
1、在主文件夹中显示隐藏文件,Ctrl+h
2、直接打开文件.bashrc
3、修改其中的两行内容
$ export ROS_HOSTNAME=localhost
$ export ROS_MASTER_URI=http://localhost:11311
4、命令:source ~/.bashrc 更新 .bashrc
方法二:
1、命令:ls -a 找到文件 .bashrc;
2、命令 vim ~/.bashrc 进入到文件;
3、直接按 i 键可以对文件进行修改,
$ export ROS_HOSTNAME=localhost
$ export ROS_MASTER_URI=http://localhost:11311
4、Esc + :+ wq 退出并保存修改之后的文件
5、命令 :source ~/.bashrc 更新 .bashrc
本文标签: unableRLExceptionServerContact
版权声明:本文标题:RLException:Unable to contact my own server at 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1726640279a1079568.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论