Ask Your Question

Is it possible to send data to ROS from a machine not running ROS

asked 2017-05-15 18:09:53 -0500

Eigen_ gravatar image

My problem is as follows: I need image capture from the screen of a Mac, which doesn't run ROS well (or at all from what I can really tell). I basically need to pass in the current screenshot of the mac to ROS for further processing. I have ROS on a ubuntu VM, so basically I just need something that can very lightweight pass the screenshot data from the Mac to the VM.

I was thinking of doing this via the internet, by sending the image to a website and writing a script that will pull the image in ROS but this will have a large bottleneck.

If my problem has not been well stated, please let me know and I'll try to write it better. The short is, is there any way to create a pseudo-rostopic that doesn't need the full ros stack for images so I can get the screenshot data to ROS for further image processing (and passing the results off to a robot that runs ROS).

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-05-16 01:18:58 -0500

gvdhoorn gravatar image

Take a look at rosbridge_suite.

edit flag offensive delete link more


Thank you! This is exactly what I was looking for

Eigen_ gravatar image Eigen_  ( 2017-05-16 01:29:22 -0500 )edit

answered 2017-05-16 10:07:53 -0500

I think you could write a node on the ROS machine that receives anything (video, images, files, packets, etc), using any means (sockets, serial comms, etc) and encapsulate it on the message type you need and publish a topic with it.

See the tutorials for a simple example.

edit flag offensive delete link more


Thank you! I will look into this too

Eigen_ gravatar image Eigen_  ( 2017-05-17 16:03:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-05-15 18:09:53 -0500

Seen: 94 times

Last updated: May 16 '17