How to establish a TCP connection
I need to implement something that could send data from a not-ROS-running System(A) to a ROS-running System(Z) and later sending data from Z back to A using a TCP connection (using socket). I was looking for something on that page http://wiki.ros.org/ROS/TCPROS but it is not clear for me. Are there any tutorials/codes to launch a server on a ROS-running System and listening for clients? Are there any packages that allow to implement TCP communication?
Hello, did you solve your problem? Now i have the same Problem. I really want to know what you have done. And i can not run the code from https://github.com/abhinavjain241/com... in ROS. I look forward to your answer.
This is already answered. However, I would like to add my words here. The comment above refers to a code that creates and manages a socket all by itself. It would be better to do this low-level task by an external library. For example, ZeroMQ is a robust and famous library with bindings in many languages. Please feel free to check out ros_zeromq_tutorial.