Public Member Functions | Public Attributes
sr_gui_cyberglove_calibrator.cyberglove_library.Cyberglove Class Reference

List of all members.

Public Member Functions

def __init__
def addValue
def callback_calibrated
def callback_raw
def createMap
def get_joints_names
def has_glove
def read_calibrated_average_value
def read_raw_average_value

Public Attributes

 calibrated
 calibrated_messages
 hasglove
 isFirstMessage
 joints
 liste
 map
 max_values
 raw
 raw_messages

Detailed Description

Interface to the Cyberglove publisher.

Definition at line 41 of file cyberglove_library.py.


Constructor & Destructor Documentation

Definition at line 47 of file cyberglove_library.py.


Member Function Documentation

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 103 of file cyberglove_library.py.

Adds the last values received to the list of calibrated values
@param data: the message which called the callback

Definition at line 96 of file cyberglove_library.py.

Adds the last values received to the list of raw values
@param data: the message which called the callback

Definition at line 89 of file cyberglove_library.py.

Maps the name of the joints to their index in the message

Definition at line 116 of file cyberglove_library.py.

Return an array containing the Cyberglove joints names

@return: the joints names array

Definition at line 159 of file cyberglove_library.py.

@return: True if a cyberglove is detected by ROS

Definition at line 167 of file cyberglove_library.py.

return the current positions for the given joint_name

@param joint_name:  the name of the joint
@return: the corresponding position

Definition at line 140 of file cyberglove_library.py.

return the raw value of a given joint

@param joint_name: the name of the glove of the Cyberglove

Definition at line 124 of file cyberglove_library.py.


Member Data Documentation

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.

Definition at line 47 of file cyberglove_library.py.


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


sr_gui_cyberglove_calibrator
Author(s): Ugo Cupcic
autogenerated on Thu Jun 6 2019 21:13:53