peripherals.GlovePeripheral

class peripherals.GlovePeripheral
gui_name = 'Glove'
__init__()

Initialize the peripheral

connect(n_dof: int, port='COM4', baudrate=57600, timeout=0.01, calibration_path='./peripherals/glove/calibration_data.txt', **kwargs)

Connect the peripheral (disconnect first if necessary). Returns True if successful, False otherwise

disconnect()

Disconnect the peripheral

property connected

True if the peripheral is connected

get_finger_position()numpy.ndarray

Get the current finger position