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

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

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 imagearunavanag ( 2018-02-19 20:03:33 -0600 )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 imagearunavanag ( 2018-02-19 20:10:46 -0600 )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 imagesdcguy ( 2018-02-21 17:26:13 -0600 )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 imagearunavanag ( 2018-02-23 00:25:32 -0600 )edit

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

You can check h2r s other repositories for examples.

arunavanag gravatar imagearunavanag ( 2018-02-23 00:25:47 -0600 )edit