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

相关文章:

  • 2022-12-23
  • 2021-08-15
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-21
  • 2021-05-17
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案