Sending data between Windows Applications: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
This part of the code belongs to the application responsible for sending ROS messages to a Ubuntu machine from a Windows machine. Additional information about this application's code can be found [http://cstwiki.wtb.tue.nl/index.php?title=Rosserial_Script#Sending_the_data_to_ROS here].
This part of the code belongs to the application responsible for sending ROS messages to a Ubuntu machine from a Windows machine. Additional information about this application's code can be found [http://cstwiki.wtb.tue.nl/index.php?title=Rosserial_Script#Sending_the_data_to_ROS here].


[[File:Read_file.png]]
[[File:Read_file.png|x420px]]

Revision as of 18:39, 20 June 2016

This is a brief explanation of code used to send data between Windows applications using a simple text-file that is being written and read by the communicating programs.

This code is part of a project to create a robot technique that allows users to hug someone when separated by a disctance like a phone call.

We do realise that this is an ad hoc method and that there are better ways out there to do this, but it suffices for our prototype.

Writing to the text-file

Reading the text file

This part of the code belongs to the application responsible for sending ROS messages to a Ubuntu machine from a Windows machine. Additional information about this application's code can be found here.

Read file.png