cyberglove_with_calib_22dof Namespace Reference

Classes

class  bcolors
 
class  CalibStruct
 

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
 

Function Documentation

◆ calibrate_glove()

def cyberglove_with_calib_22dof.calibrate_glove ( )

Definition at line 238 of file cyberglove_with_calib_22dof.py.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main_loop()

def cyberglove_with_calib_22dof.main_loop ( )

Definition at line 196 of file cyberglove_with_calib_22dof.py.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read_glove()

def cyberglove_with_calib_22dof.read_glove ( )

Definition at line 78 of file cyberglove_with_calib_22dof.py.

+ Here is the call graph for this function:

◆ signal_handler()

def cyberglove_with_calib_22dof.signal_handler (   signal,
  frame 
)

Definition at line 50 of file cyberglove_with_calib_22dof.py.

Variable Documentation

◆ calib_fac

calib_fac = CalibStruct()

Definition at line 74 of file cyberglove_with_calib_22dof.py.

◆ glove_data_lock

glove_data_lock = allocate_lock()

Definition at line 66 of file cyberglove_with_calib_22dof.py.

◆ ic

ic = None

Definition at line 22 of file cyberglove_with_calib_22dof.py.

◆ PI

float PI = 3.14159

Definition at line 48 of file cyberglove_with_calib_22dof.py.

◆ right_cal

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

Definition at line 64 of file cyberglove_with_calib_22dof.py.

◆ right_port

string right_port = '/dev/ttyUSB0'

Definition at line 55 of file cyberglove_with_calib_22dof.py.

◆ right_s

string right_s = ""

Definition at line 63 of file cyberglove_with_calib_22dof.py.

◆ right_ser

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

Definition at line 57 of file cyberglove_with_calib_22dof.py.

◆ right_time

string right_time = ""

Definition at line 65 of file cyberglove_with_calib_22dof.py.

◆ show_cal_stream

int show_cal_stream = 0

Definition at line 68 of file cyberglove_with_calib_22dof.py.

◆ show_stream

int show_stream = 1

Definition at line 67 of file cyberglove_with_calib_22dof.py.

◆ status

int status = 0

Definition at line 21 of file cyberglove_with_calib_22dof.py.