ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The easiest way to send data from a ROS program to a Windows program (assuming that you don't want to use ROS for Windows) would be through sockets. Your Windows program could provide the client socket, and your ROS application could provide the socket server. Whenever you want to send a message to the Windows program, you would serialize the message however you see fit (since if you're not using ROS, you can't use ROS's serialization). If the message type is constant, this should be trivial.
Sockets also allow two-way communication, so you could then send messages from ROS to Windows and vice versa with no problem. In my opinion, sockets are the easiest, most practical method by which to perform IPC (Inter-Process Communication) over networks.