Ros topics over different computer
We have a turtlebot running ROS-Electric, and remote laptop also running ROS-Electric.
I was trying to publish message to rostopic /cmd_vel, in order to control velocity of turtlebot from remote laptop. However I noticed that, messages published in remote laptop is visible (via rostopic echo) only in remote laptop and not on turtlebot laptop. However I can read the data published by keyboard_teleop running turtlebot, on remote laptop. keyboard_teleop works when it is run on turtlebot laptop, and not on remote laptop. Why is this so? Here ROS_MASTER_URI has been properly configured to point turtlebot laptop.
I was expecting the communication to happen across multiple computer as ROS master is running on turtlebot, and takes care of the networking for ROS topics. Can anybody kindly explain how we can publish to a rostopic subscribed on another computer?
Thanks Subhash