Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Presently we implement EventBus messaging with PyDispatch, which provides communication between threads in a single process.

Between Processes

On an embedded LBR, we plan to use the native POSIX message queue due to its built-in availability. The posix_ipc module for Python provides access to this functionalityHowever, we must split the GUI from the LBR when the LBR is headless, like an embedded Linux device. In addition to host-to-host communication, we also may wish to segment the components in the LBR into separate processes, for example to reimplement serial communication in C.

Remote GUI host and LBR

We wish to minimize the processing required by the LBR due to its limited resources, particularly for a sub-Linux implementation. Therefore, the LBR pushes information to the Remote GUI. However, the GUI also may signal to the LBR, for example to toggle DAGroot status.

...

For reference, installed on Windows 7 Home Professional. Also installed pip, v1.3.1, which also required setuptools, and we used v0.7.7.

Messaging Between Processes

On an embedded LBR, we plan to use the native POSIX message queue due to its built-in availability. The posix_ipc module for Python provides access to this functionality.

Alternative Messaging Approaches

...