ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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

  1. Does your robot has an onboard PC on which you can run ros master?
  2. Are you using your PC as ROS master and only sending velocity commands to robot with esp node?

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

  1. Does your robot has an onboard PC on which you can run ros master?
  2. Are you using your PC as ROS master and only sending velocity commands to robot with esp node?

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

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

  1. Does your robot has an onboard PC on which you can run ros master?
  2. Are you using your PC as ROS master and only sending velocity commands to robot with esp node?

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

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

  1. Does your robot has an onboard PC on which you can run ros master?
  2. Are you using your PC as ROS master and only sending velocity commands to robot with esp node?

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 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

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

  1. Does your robot has an onboard PC on which you can run ros master?
  2. Are you using your PC as ROS master and only sending velocity commands to robot with esp node?

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