Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner Class Reference
Inheritance diagram for sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, arm_state_name, hand_state_name, new_state_name, robot_name="ur10srh")
 
def combine (self)
 

Private Member Functions

def _filter_joints (self, state, remove_arm=True)
 

Private Attributes

 _arm_state_name
 
 _hand_state_name
 
 _new_state_name
 
 _read
 
 _robot_name
 
 _save
 

Static Private Attributes

list _arm_joints
 

Detailed Description

Definition at line 22 of file sr_robot_state_combiner.py.

Constructor & Destructor Documentation

def sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner.__init__ (   self,
  arm_state_name,
  hand_state_name,
  new_state_name,
  robot_name = "ur10srh" 
)

Definition at line 27 of file sr_robot_state_combiner.py.

Member Function Documentation

def sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._filter_joints (   self,
  state,
  remove_arm = True 
)
private
Filters out the joints that we don't want and their positions
:param state: initial state
:param remove_arm: If True we remove the arm joints, if False we remove the non-arm joints (hand joints)
:return: the filtered state

Definition at line 39 of file sr_robot_state_combiner.py.

def sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner.combine (   self)

Definition at line 57 of file sr_robot_state_combiner.py.

Member Data Documentation

list sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._arm_joints
staticprivate
Initial value:
1 = ['shoulder_pan_joint', 'elbow_joint', 'shoulder_lift_joint',
2  'wrist_1_joint', 'wrist_2_joint', 'wrist_3_joint', 'WRJ2', 'WRJ1']

Definition at line 24 of file sr_robot_state_combiner.py.

sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._arm_state_name
private

Definition at line 34 of file sr_robot_state_combiner.py.

sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._hand_state_name
private

Definition at line 35 of file sr_robot_state_combiner.py.

sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._new_state_name
private

Definition at line 36 of file sr_robot_state_combiner.py.

sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._read
private

Definition at line 31 of file sr_robot_state_combiner.py.

sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._robot_name
private

Definition at line 37 of file sr_robot_state_combiner.py.

sr_robot_commander.sr_robot_state_combiner.SrRobotStateCombiner._save
private

Definition at line 28 of file sr_robot_state_combiner.py.


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


sr_robot_commander
Author(s): Andriy Petlovanyy
autogenerated on Wed Oct 14 2020 04:05:30