Interface to the Cyberglove publisher.
Definition at line 40 of file cyberglove_library.py.
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.__init__ |
( |
|
self, |
|
|
|
max_values = 2 , |
|
|
|
nb_sensors = 22 |
|
) |
| |
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.addValue |
( |
|
self, |
|
|
|
vector, |
|
|
|
value |
|
) |
| |
Fills a vector with the received values, and replaces the old values
when the vector is full
@param vector : the vector to fill (raw or calibrated)
@param value : the value to add
Definition at line 126 of file cyberglove_library.py.
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.callback_calibrated |
( |
|
self, |
|
|
|
data |
|
) |
| |
Adds the last values received to the list of calibrated values
@param data: the message which called the callback
Definition at line 119 of file cyberglove_library.py.
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.callback_raw |
( |
|
self, |
|
|
|
data |
|
) |
| |
Adds the last values received to the list of raw values
@param data: the message which called the callback
Definition at line 112 of file cyberglove_library.py.
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.createMap |
( |
|
self | ) |
|
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.get_joints_names |
( |
|
self | ) |
|
Return an array containing the Cyberglove joints names
@return: the joints names array
Definition at line 182 of file cyberglove_library.py.
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.has_glove |
( |
|
self | ) |
|
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.read_calibrated_average_value |
( |
|
self, |
|
|
|
joint_name |
|
) |
| |
return the current positions for the given joint_name
@param joint_name: the name of the joint
@return: the corresponding position
Definition at line 163 of file cyberglove_library.py.
def sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.read_raw_average_value |
( |
|
self, |
|
|
|
joint_name |
|
) |
| |
return the raw value of a given joint
@param joint_name: the name of the glove of the Cyberglove
Definition at line 147 of file cyberglove_library.py.
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.calibrated |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.calibrated_messages |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.hasglove |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.isFirstMessage |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.joints |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.liste |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.map |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.max_values |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.raw |
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove.raw_messages |
The documentation for this class was generated from the following file: