0
$\begingroup$

Rosanswers logo

I was wondering if it is possible to send data over a network to another computer using TCP. One computer is running ROS and the other is not.


Originally posted by iceburg6628 on ROS Answers with karma: 16 on 2014-03-05

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Yes, this is possible. You just have to use your custom TCP communication code inside a ROS node. You can then, for example receive data on a ROS topic via a callback, process it, and send it out to the non-ROS computer using your custom TCP connection setup.


Originally posted by Stefan Kohlbrecher with karma: 24361 on 2014-03-05

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by iceburg6628 on 2014-03-05:
Thank you, I wasn't sure if their was a built in package.

Comment by Yuichi Chu on 2014-03-06:
How should I edit the CMakelists.txt if my program includes other libs and other .h files?Thank you ...

Comment by Alvaro Salcedo on 2015-04-21:
I have the same question. Did you solve it? Thanks a lot.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.