cyberglove_with_calib_22dof Namespace Reference

Classes

class  bcolors
 
class  CalibStruct
 

Functions

 calibrate_glove ()
 
 main_loop ()
 
 read_glove ()
 
 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)]
 
str right_port = '/dev/ttyUSB0'
 
str right_s = ""
 
 right_ser = serial.Serial(right_port, 115200, timeout=1)
 
str right_time = ""
 
int show_cal_stream = 0
 
int show_stream = 1
 
int status = 0
 

Function Documentation

◆ calibrate_glove()

calibrate_glove ( )

◆ main_loop()

main_loop ( )

◆ read_glove()

read_glove ( )

◆ signal_handler()

signal_handler ( signal,
frame )

Variable Documentation

◆ calib_fac

calib_fac = CalibStruct()

◆ glove_data_lock

glove_data_lock = allocate_lock()

◆ ic

ic = None

◆ PI

float PI = 3.14159

◆ right_cal

list right_cal = ["" for x in range(33)]

◆ right_port

str right_port = '/dev/ttyUSB0'

◆ right_s

str right_s = ""

◆ right_ser

right_ser = serial.Serial(right_port, 115200, timeout=1)

◆ right_time

str right_time = ""

◆ show_cal_stream

int show_cal_stream = 0

◆ show_stream

int show_stream = 1

◆ status

int status = 0