Handshake file for communication between UI back end task and encoder task. More...
Variables | |
list | shareW2.update1 = [] |
Shared queue which contains encoder position data. | |
list | shareW2.omega1 = [] |
Shared queue which contains encoder position data. | |
int | shareW2.get_position1 = 0 |
Shared variable which contains current position data ready to be pulled. | |
int | shareW2.get_delta1 = 0 |
Shared variable which contains most recent delta data ready to be pulled. | |
int | shareW2.char = 0 |
Shared variable which contains most recent hotkey press from the UI front end. | |
Handshake file for communication between UI back end task and encoder task.
This shares the many variables and queues between the encoder and UI back end task. Examples of shared variables are get_position, get_delta, and char. Shared queue is the update list which contains all the data points from the encoder position.
Source code files and related ones:
mainW2.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.1/mainW2.py
userInterfaceFrontW2.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.1/userInterfaceFrontW2.py
shareW2.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.1/shareW2.py
UITaskW2.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.1/UITaskW2.py
encoderTaskW2.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.1/encoderTaskW2.py
encoderDriverW2.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.1/encoderDriverW2.py