ssh connection in ros

来源:互联网 发布:淘宝联盟怎么满减 编辑:程序博客网 时间:2024/06/07 21:59

ssh connection

the order of the ssh connection

1.ssh [user]@ip
user means the username you are logging in:in this project,it means duckiebot1

ip means the inter adder of your PC(or others),we can find it when we use “ifconfig”order in the terminal,in the WLAN0 we can get it .

ROS network

1.firstly,use “ifconfig” to get the ip of “host” and “master”.
ATTENTION:when we use the Tsinghua or Tsinghua-5G,its ip is changed every time when you use it.

2.And you should add the following order into your terminal in the beginning(or write it in the .bashrc):

ROS NETWORK

export ROS_HOSTNAME=[ip of the host]
export ROS_MASTER_URI=http://[ip of the master].11311/

原创粉丝点击