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

Sending and receiving data over a network to a non-Ros computer.

asked 2014-03-05 11:27:31 -0500

iceburg6628 gravatar image

updated 2014-03-05 11:34:38 -0500

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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-03-05 11:39:07 -0500

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.

edit flag offensive delete link more

Comments

Thank you, I wasn't sure if their was a built in package.

iceburg6628 gravatar image iceburg6628  ( 2014-03-05 12:37:31 -0500 )edit

How should I edit the CMakelists.txt if my program includes other libs and other .h files?Thank you ...

Yuichi Chu gravatar image Yuichi Chu  ( 2014-03-06 01:40:40 -0500 )edit

I have the same question. Did you solve it? Thanks a lot.

Alvaro Salcedo gravatar image Alvaro Salcedo  ( 2015-04-21 06:27:08 -0500 )edit
0

answered 2015-04-22 02:25:51 -0500

Humpelstilzchen gravatar image

Also you might want to take a look at http://wiki.ros.org/rosbridge_suite

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-03-05 11:27:31 -0500

Seen: 1,642 times

Last updated: Apr 22 '15