Public Member Functions | Public Attributes
wouse.Wouse Class Reference

List of all members.

Public Member Functions

def __init__
def classify_svm
def init_classifier
def movement_cb
def ping_server

Public Attributes

 data
 runstop_client
 sound_new
 window

Detailed Description

Subscribes to mouse movements, detects wincing, and signals e-stop.

Definition at line 23 of file wouse.py.


Constructor & Destructor Documentation

def wouse.Wouse.__init__ (   self,
  svm_datafile 
)
Initialize svm classifier and needed services.

Definition at line 27 of file wouse.py.


Member Function Documentation

def wouse.Wouse.classify_svm (   self,
  x,
  y,
  time 
)
Build the descriptor vector for the incoming mouse event, and classify with the svm.

Definition at line 79 of file wouse.py.

def wouse.Wouse.init_classifier (   self,
  filename 
)
Unpickle svm training data, train classifier

Definition at line 49 of file wouse.py.

def wouse.Wouse.movement_cb (   self,
  v3 
)
Filter out small movements, check classifier, call stop if needed.

Definition at line 66 of file wouse.py.

def wouse.Wouse.ping_server (   self,
  event 
)
Send updated timestamp to Runstop server.

Definition at line 61 of file wouse.py.


Member Data Documentation

Definition at line 27 of file wouse.py.

Definition at line 27 of file wouse.py.

Definition at line 27 of file wouse.py.

Definition at line 27 of file wouse.py.


The documentation for this class was generated from the following file:


wouse
Author(s): Phillip M. Grice, Advisor: Prof. Charlie Kemp, Lab: The Healthcare Robotoics Lab at Georgia Tech.
autogenerated on Wed Nov 27 2013 11:57:42