Ryan McLaughlin | Mechatronics Portfolio
shares.py File Reference

Used solely for sharing variables between files. More...

Variables

list shares.command = []
 queue for commands sent from the UI task
 
list shares.forPrint = []
 queue for strings to be printed in the Spyder console, based on commands from the UI
 
list shares.enc1Pos = []
 queue for encoder 1 position
 
list shares.enc2Pos = []
 queue for encoder 2 position
 
list shares.enc1Omega = []
 queue for encoder 1 speed/omega
 
list shares.enc2Omega = []
 queue for encoder 2 speed/omega
 
int shares.Kp = 0
 Kp value used by controller task.
 
int shares.Ki = 0
 Ki value used by controller task.
 
int shares.J1sum = 0
 summation portion of J for encoder/motor 1
 
int shares.J2sum = 0
 summation portion of J for encoder/motor 2
 
bool shares.controller = False
 Boolean variable to be set by the UI task and read by the controller task.
 

Detailed Description

Used solely for sharing variables between files.


See source code here: https://bitbucket.org/ryanmclaug/me_305/src/master/Lab0xFF/shares.py

Author
Ryan McLaughlin
Date
Originally created on 02/27/21
Last modified on 03/17/21