Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
sr_gui_biotac.biotac.SrGuiBiotac Class Reference
Inheritance diagram for sr_gui_biotac.biotac.SrGuiBiotac:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, context)
 
def assign_electrodes (self, nb_electrodes)
 
def biotac_id_from_dropdown (self)
 
def define_electrodes (self)
 
def draw_electrode (self, painter, elipse_x, elipse_y, text_x, text_y, colour, text)
 
def get_electrode_colour_from_value (self, value)
 
def load_params (self)
 
def paintEvent (self, paintEvent)
 
def subscribe_to_topic (self, prefix)
 
def tactile_cb (self, msg)
 
- Public Member Functions inherited from qt_gui::plugin::Plugin
def __init__ (self, context)
 
def restore_settings (self, plugin_settings, instance_settings)
 
def save_settings (self, plugin_settings, instance_settings)
 
def shutdown_plugin (self)
 

Public Attributes

 default_topic
 
 excitation_electrodes_v1_x
 
 excitation_electrodes_v1_y
 
 excitation_electrodes_v2_x
 
 excitation_electrodes_v2_y
 
 excitation_electrodes_x
 
 excitation_electrodes_y
 
 factor
 
 label_font_size
 
 latest_data
 
 RECTANGLE_HEIGHT
 
 RECTANGLE_WIDTH
 
 sensing_electrodes_v1_x
 
 sensing_electrodes_v1_y
 
 sensing_electrodes_v2_x
 
 sensing_electrodes_v2_y
 
 sensing_electrodes_x
 
 sensing_electrodes_y
 
 timer
 
 x_display_offset
 
 y_display_offset
 

Private Attributes

 _hand_finder
 
 _hand_parameters
 
 _nb_electrodes
 
 _publisher
 
 _widget
 

Static Private Attributes

int _nb_electrodes_biotac = 19
 
int _nb_electrodes_biotac_sp = 24
 

Detailed Description

Definition at line 46 of file biotac.py.

Constructor & Destructor Documentation

def sr_gui_biotac.biotac.SrGuiBiotac.__init__ (   self,
  context 
)

Definition at line 270 of file biotac.py.

Member Function Documentation

def sr_gui_biotac.biotac.SrGuiBiotac.assign_electrodes (   self,
  nb_electrodes 
)

Definition at line 95 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.biotac_id_from_dropdown (   self)

Definition at line 176 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.define_electrodes (   self)

Definition at line 50 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.draw_electrode (   self,
  painter,
  elipse_x,
  elipse_y,
  text_x,
  text_y,
  colour,
  text 
)

Definition at line 182 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.get_electrode_colour_from_value (   self,
  value 
)

Definition at line 138 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.load_params (   self)

Definition at line 241 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.paintEvent (   self,
  paintEvent 
)

Definition at line 195 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.subscribe_to_topic (   self,
  prefix 
)

Definition at line 237 of file biotac.py.

def sr_gui_biotac.biotac.SrGuiBiotac.tactile_cb (   self,
  msg 
)

Definition at line 132 of file biotac.py.

Member Data Documentation

sr_gui_biotac.biotac.SrGuiBiotac._hand_finder
private

Definition at line 274 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac._hand_parameters
private

Definition at line 275 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac._nb_electrodes
private

Definition at line 134 of file biotac.py.

int sr_gui_biotac.biotac.SrGuiBiotac._nb_electrodes_biotac = 19
staticprivate

Definition at line 47 of file biotac.py.

int sr_gui_biotac.biotac.SrGuiBiotac._nb_electrodes_biotac_sp = 24
staticprivate

Definition at line 48 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac._publisher
private

Definition at line 278 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac._widget
private

Definition at line 279 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.default_topic

Definition at line 265 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.excitation_electrodes_v1_x

Definition at line 64 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.excitation_electrodes_v1_y

Definition at line 68 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.excitation_electrodes_v2_x

Definition at line 86 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.excitation_electrodes_v2_y

Definition at line 90 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.excitation_electrodes_x

Definition at line 99 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.excitation_electrodes_y

Definition at line 100 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.factor

Definition at line 101 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.label_font_size

Definition at line 259 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.latest_data

Definition at line 136 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.RECTANGLE_HEIGHT

Definition at line 245 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.RECTANGLE_WIDTH

Definition at line 242 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.sensing_electrodes_v1_x

Definition at line 51 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.sensing_electrodes_v1_y

Definition at line 57 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.sensing_electrodes_v2_x

Definition at line 73 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.sensing_electrodes_v2_y

Definition at line 79 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.sensing_electrodes_x

Definition at line 97 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.sensing_electrodes_y

Definition at line 98 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.timer

Definition at line 292 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.x_display_offset

Definition at line 252 of file biotac.py.

sr_gui_biotac.biotac.SrGuiBiotac.y_display_offset

Definition at line 257 of file biotac.py.


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


sr_gui_biotac
Author(s): Dan Greenwald
autogenerated on Wed Oct 14 2020 03:22:47