ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to establish a network between ROS and a Windows MFC Application?

asked 2020-04-21 02:48:07 -0500

Souravik gravatar image

I want to establish a network between ROS-Melodic running on Windows Subsystem for Linux (WSL) Ubuntu 18.04 and a Windows MFC Application on the same device. The goal is to channel messages via topics both way.

I also want to know how the same can be established using two different devices, i.e. one running the Windows MFC Application and the other running ROS.

Will rosbridge protocol work? I'm asking this since, in the tutorials, I only found help regarding sending JSON commands from a Webpage, not any non-ROS program.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-21 09:49:35 -0500

I have not personally tried it but from purely networking perspective it looks that all networking ports from WSL are simply exposed to Windows OS. For example, if you have ROS core running on http://localhost:11311/ in WSL then you should be able to access ROS core from Windows on the same PC. See this FAQ from Microsoft

For distributed scenario (i.e. two different devices) theoretically it should be the same thing as long as you configure ROS properly for distributed scenario - see

You are also asking separate question about technology choice that goes beyond ROS:

Yes, from my experience rosbridge and rosbridge protocol is a solid solution to integrate ROS with non-ROS systems. It has multiple clients in various languages:

edit flag offensive delete link more


Thank you for your answer @viktor.holova.

Souravik gravatar image Souravik  ( 2020-04-21 11:42: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



Asked: 2020-04-21 02:48:07 -0500

Seen: 541 times

Last updated: Apr 21 '20