Posts ROS Mater, Slave Setting
Post
Cancel

ROS Mater, Slave Setting


Configuration the .bashrc File

Primary

~/.bashrc

1
2
3
export ROS_MASTER_URI=http://localhost:11311
export ROS_HOSTNAME={PrimaryName}
export ROS_IP={PrimaryIp}

Secondary

~/.bashrc

1
2
3
export ROS_MARTER_URI=http://{PrimaryIp}:11311
export ROS_HOSTNAME={SecondaryName}
export ROS_IP={SecondaryIp}

Apply .bashrc

1
$ source ~/.bashrc

Configuration the /etc/hosts File

  • Same setting for Primary and Secondary
1
2
<PrimaryIP> <PrimaryName>
<SecondaryIP> <SecondaryName>

Reference

1
[Wiki](http://wiki.ros.org/ROS/Tutorials/MultipleMachines)
This post is licensed under CC BY 4.0 by the author.

자주 쓰는 Git Command

AWS Nginx 413 Request Entity Too Large Err