One of the best ways to pass real-time data between two machines is UDP sockets.
You can find some good examples for windows at MSDN UDP Example
One for linux at Linux UDP Example
Frage
I am running ros to control a robot using ubuntu. But the drivers are available for windows only. I have setup a virtual machine where the robot controller is built on roscpp
I want pass these values generated using ros to a cpp in windows. it should be realtime. data should be flowing back and forth. data: float32 array dimension is 7
Please help me with an example.
Lösung
One of the best ways to pass real-time data between two machines is UDP sockets.
You can find some good examples for windows at MSDN UDP Example
One for linux at Linux UDP Example
Andere Tipps
I used ROS on windows and ubuntu. TCP/IP communication - doesn't matter if the ubuntu machine is on virtual machine. Set the network adapter to Host Only.
ROS Master on Windows. Start executable on Ubuntu and it should post values in the ROS Master which is running on windows. The executable on Windows can subscribe to those messages.