解决ros安装中ERROR: Unable to communicate with master
逆流成河
阅读:648
2023-06-10 11:19:13
评论:0
第一步
ifconfig
acc133: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.125.75.219 netmask 255.255.255.0 broadcast xxxxxx
inet6 fe80::1721:1dd1:6cc2:a311 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:a2:dd:da txqueuelen 1000 (Ethernet)
RX packets 173975 bytes 188553377 (188.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 75714 bytes 4684485 (4.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet xxxxx netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2169 bytes 331712 (331.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2169 bytes 331712 (331.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
第二步
sudo gedit /etc/hosts
xxxxxx localhost
xxxxxx ubuntu
...................
xxxxxx localhost
xxxxxx ubuntu
192.125.75.219 acc133
...................
第三步
输入ping ens33
第四步
打开节点程序rosrun turtlesim turtlesim_node
声明
温馨提示:
欢迎您来到小站
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;
2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;
3.作者投稿可能会经我们编辑修改或补充;
4.网页广告仅为维持服务器 请谅解;
5.QQ:1103606138 无其它联系方式。