cyberglove_with_calib_22dof.py File Reference

Go to the source code of this file.

Classes

class  bcolors
 
class  CalibStruct
 

Namespaces

 cyberglove_with_calib_22dof
 

Functions

def calibrate_glove ()
 
def main_loop ()
 
def read_glove ()
 
def signal_handler (signal, frame)
 

Variables

 calib_fac = CalibStruct()
 
 glove_data_lock = allocate_lock()
 
 ic = None
 
float PI = 3.14159
 
list right_cal = ["" for x in range(33)]
 
string right_port = '/dev/ttyUSB0'
 
string right_s = ""
 
 right_ser = serial.Serial(right_port, 115200, timeout=1)
 
string right_time = ""
 
int show_cal_stream = 0
 
int show_stream = 1
 
int status = 0