How to send ROS commands from a Linux machine to a Windows machine?

asked 2018-02-19 16:33:10 -0500

sdcguy gravatar image

So, I want to send ROS commands (most probably using ROS Bridge) from my Linux machine and just get those messages through whatever port we are using. Is it possible to do that?

The main purpose for this is to make a ROS adapter for the Airsim Car simulator By Microsoft.

Thank You.

edit retag flag offensive close merge delete

Comments

1

Use rosbridge_websocket in your Linux ROS end. Write up another socket in your windows which will accept those messages. I dont know what language you are using in Windows. Maybe you can say a little more about your windows end.

arunavanag gravatar image arunavanag  ( 2018-02-19 20:03:33 -0500 )edit
1

Ok after looking into airsim, it says "The APIs are exposed through RPC and accessible via variety of languages including C++, Python, C# and Java" , so you can use xmlrpc or websocket-sharp in C# to create your websockets to receive the message on your Microsoft end.

arunavanag gravatar image arunavanag  ( 2018-02-19 20:10:46 -0500 )edit

Thank you. I'm still having trouble understanding how we would use ROS bridge to send the messages. Do because I haven't used it on multiple devices I have only don't it one the same device. I'm sorry I'm pretty new to this. I would really appreciate it if you could tell me the steps I would take.

sdcguy gravatar image sdcguy  ( 2018-02-21 17:26:13 -0500 )edit

Can you please give some information on your development environment on windows end? What language are you using? In the mean time here is a gist that you can look at : https://github.com/h2r/java_rosbridge

arunavanag gravatar image arunavanag  ( 2018-02-23 00:25:32 -0500 )edit

Here are rosbridge protocols: https://github.com/RobotWebTools/rosb...

You can check h2r s other repositories for examples.

arunavanag gravatar image arunavanag  ( 2018-02-23 00:25:47 -0500 )edit