Handshake file for communication between UI back end task and encoder task. More...
Variables | |
shareW4.position = array('f', [0]*1001) | |
Shared queue which contains encoder position data. | |
shareW4.omega = array('f', position) | |
Shared queue which contains encoder position data. | |
shareW4.times = array('f', position) | |
Shared queue with time stamps. | |
int | shareW4.get_position = 0 |
Shared variable which contains current position data ready to be pulled. | |
int | shareW4.get_delta1 = 0 |
Shared variable which contains most recent delta data ready to be pulled. | |
int | shareW4.get_omega = 0 |
Shared variable which contains most recent omega data ready to be pulled. | |
int | shareW4.time_delta = 0 |
Shared variable which contains most recent time delta data ready to be pulled. | |
int | shareW4.char = 0 |
Shared variable which contains most recent hotkey press from the UI front end. | |
int | shareW4.desKp = .0322 |
Shared variable for Kp. | |
int | shareW4.desKi = .188 |
Shared variable for Ki. | |
int | shareW4.desOmega = 0 |
Shared variable for desired omega [RPM]. | |
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:
mainW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/mainW4.py
userInterfaceFrontW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/userInterfaceFrontW4.py
UITaskW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/UITaskW4.py
controllerTaskW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/controllerTaskW4.py
shareW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/shareW4.py
controllerDriverW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/controllerDriverW4.py
encoderDriverW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/encoderDriverW4.py
motorDriverW4.py https://bitbucket.org/ColeSheedy/me-305-work-repository/src/master/LabWork/Lab5.3/motorDriverW4.py