ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
Hello praveen, If I understand you correctly you want to be able to communicate with your robot without changing the network settings of your robot. The only thing which is required here is a common network on which you and your robot both can connect. I need a few more details here to help you
![]() | 2 | No.2 Revision |
Hello praveen, If I understand you correctly you want to be able to communicate with your robot without changing the network settings of your robot. The only thing which is required here is a common network on which you and your robot both can connect. I need a few more details here to help you
Edit 1
If they are on same network then only problem we have is to make sure server takes up same ip every time. This can be done by allocating a static ip to your PC in network settings and then telling rosmaster to pick that ip every time. Taking a static ip on network is easy part for making rosmaster to take a particular ip. You’ll need to write these lines in your pc’s ~/.bashrc file
export >ROS_MASTER_URI=http://pc_ip:11311 export ROS_IP=pc_ip export ROS_HOSTNAME=pc_ip Then source the bashrc and run code from that terminal
![]() | 3 | No.3 Revision |
Hello praveen, If I understand you correctly you want to be able to communicate with your robot without changing the network settings of your robot. The only thing which is required here is a common network on which you and your robot both can connect. I need a few more details here to help you
Edit 1
If they are on same network then only problem we have is to make sure server takes up same ip every time. This can be done by allocating a static ip to your PC in network settings and then telling rosmaster to pick that ip every time. Taking a static ip on network is easy part for making rosmaster to take a particular ip. You’ll need to write these lines in your pc’s ~/.bashrc file
export >ROS_MASTER_URI=http://pc_ip:11311 export ROS_IP=pc_ip export ROS_HOSTNAME=pc_ip Then source the bashrc and run code from that terminal
![]() | 4 | No.4 Revision |
Hello praveen, If I understand you correctly you want to be able to communicate with your robot without changing the network settings of your robot. The only thing which is required here is a common network on which you and your robot both can connect. I need a few more details here to help you
Edit 1
If they are on same network then only problem we have is to make sure server takes up same ip every time. This can be done by allocating a static ip to your PC in network settings and then telling rosmaster to pick that ip every time. Taking a static ip on network is easy part for making rosmaster to take a particular ip. You’ll need to write these lines in your pc’s ~/.bashrc file
export
>ROS_MASTER_URI=http://pc_ip:11311ROS_MASTER_URI=http://pc_ip:11311 export ROS_IP=pc_ip export ROS_HOSTNAME=pc_ip Then source the bashrc and run code from that terminal
![]() | 5 | No.5 Revision |
Hello praveen, If I understand you correctly you want to be able to communicate with your robot without changing the network settings of your robot. The only thing which is required here is a common network on which you and your robot both can connect. I need a few more details here to help you
Edit 1
If they are on same network then only problem we have is to make sure server takes up same ip every time. This can be done by allocating a static ip to your PC in network settings and then telling rosmaster to pick that ip every time. Taking a static ip on network is easy part for making rosmaster to take a particular ip. You’ll need to write these lines in your pc’s ~/.bashrc file
export ROS_MASTER_URI=http://pc_ip:11311 export ROS_IP=pc_ip export ROS_HOSTNAME=pc_ip Then source the bashrc and run code from that terminal