Public Member Functions | Public Attributes | Static Public Attributes | List of all members
sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration Class Reference
Inheritance diagram for sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, joint_name, calibrations, parent_widget, tree_widget, robot_lib)
 
def get_joint_calibration (self)
 
def load_joint_calibration (self, new_calibrations)
 
def on_close (self)
 
def update_joint_pos (self)
 

Public Attributes

 calibrations
 
 joint_name
 
 last_raw_values
 
 robot_lib
 
 timer
 
 tree_widget
 

Static Public Attributes

int nb_values_to_check = 5
 

Detailed Description

Calibrate a single joint by calibrations list
Also displays the current joint position in the GUI

Definition at line 152 of file sr_hand_calibration_model.py.

Constructor & Destructor Documentation

def sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.__init__ (   self,
  joint_name,
  calibrations,
  parent_widget,
  tree_widget,
  robot_lib 
)

Definition at line 164 of file sr_hand_calibration_model.py.

Member Function Documentation

def sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.get_joint_calibration (   self)

Definition at line 211 of file sr_hand_calibration_model.py.

def sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.load_joint_calibration (   self,
  new_calibrations 
)

Definition at line 194 of file sr_hand_calibration_model.py.

def sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.on_close (   self)

Definition at line 266 of file sr_hand_calibration_model.py.

def sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.update_joint_pos (   self)
Update the joint position if there are enough nonequal values
If the values are equal it can be assumed the sensor are not measuring properly

Definition at line 226 of file sr_hand_calibration_model.py.

Member Data Documentation

sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.calibrations

Definition at line 169 of file sr_hand_calibration_model.py.

sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.joint_name

Definition at line 165 of file sr_hand_calibration_model.py.

sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.last_raw_values

Definition at line 170 of file sr_hand_calibration_model.py.

int sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.nb_values_to_check = 5
static

Definition at line 159 of file sr_hand_calibration_model.py.

sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.robot_lib

Definition at line 167 of file sr_hand_calibration_model.py.

sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.timer

Definition at line 188 of file sr_hand_calibration_model.py.

sr_gui_hand_calibration.sr_hand_calibration_model.JointCalibration.tree_widget

Definition at line 166 of file sr_hand_calibration_model.py.


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


sr_gui_hand_calibration
Author(s): Ugo Cupcic
autogenerated on Wed Oct 14 2020 03:22:44