Is there a ROS package to send array over a tcp socket to non-ROS device?

asked 2020-02-11 09:23:10 -0600

ZanaZak gravatar image

Hello

I have multiple devices running in ROS ecosystem. Now, I want to send an array (e.g array of ints) from one of these ROS-devices to a non-ROS device outside my ecosystem. Is there any available package to do this for me? (Such a way that I set the IP and Port, and then it send the data)

edit retag flag offensive close merge delete

Comments

I believe the canonical way to do this would be to use rosbridge_suite, which supports websockets and other transports.

gvdhoorn gravatar imagegvdhoorn ( 2020-02-11 09:35:06 -0600 )edit

I have seen rosbridge before but there is no clear tutorial about using it. I would be glad if you introduce me a good tutorial. Also, what about rosserial? Let me explain that I can't do anything on those non-ROS devices. I just have the right to send or receive data from them.

ZanaZak gravatar imageZanaZak ( 2020-02-11 09:52:10 -0600 )edit

Then I guess you'll have to write something yourself.

The chance that something exists which is compatible with "those non-ROS devices" is rather small.

gvdhoorn gravatar imagegvdhoorn ( 2020-02-11 13:28:27 -0600 )edit