码迷,mamicode.com
首页 > Web开发 > 详细

Couldn't find an AF_INET address for

时间:2018-10-09 13:58:40      阅读:678      评论:0      收藏:0      [点我收藏+]

标签:sts   name   nbsp   one   目标   style   .bashrc   exp   hostname   

vim ~/.bashrc

#输入内容

export ROS_HOSTNAME=你的hostname
export ROS_MASTER_URI=http://(目标主机的IP):11311
export ROS_IP=192.168.3.10 (本机的IP)

  

vim /etc/hosts

  按照前几行格式,输入目标主机IP以及hostname

 

source ~/.bashrc

Couldn't find an AF_INET address for

标签:sts   name   nbsp   one   目标   style   .bashrc   exp   hostname   

原文地址:https://www.cnblogs.com/sea-stream/p/9759804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!