bluegrs / blueberry-pi

A wireless sensor glove to control Unity games.
1 stars 0 forks source link

IPC between Python Scripts #9

Closed digitaldanny closed 5 years ago

digitaldanny commented 5 years ago

Goal

Create a FIFO module that can share data between two separate python modules.

Notes

digitaldanny commented 5 years ago

Check this link if we decide later on that we should switch to lower level control of the sockets than using Listeners and Clients from the multithreading package. In this forum they talk about sending and receiving binary rather than strings of data, which could be useful if we see a lot of latency getting data from the controller to Unity.

digitaldanny commented 5 years ago

Try running all the modules as a single processes. If this doesn't work, it might be easier to switch over to using the multithreading Python module instead of running multiple instances of python.