Sending data between Windows Applications

From Control Systems Technology Group
Revision as of 17:38, 20 June 2016 by S140605 (talk | contribs)
Jump to navigation Jump to search

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