twizy_description/src/twizy_description/robot_description.py
def translation(self):
        """4x4 translanslation matrix of this node relative to its parent"""

        t = self.fields.get('translation', '').split()
        if len(t) != 3 or t[0] == 'IS':
            return np.identity(4)
        return translation_matrix([float(a) for a in t])
4x4 translanslation matrix of this node relative to its parent
4x4 translanslation matrix of this node relative to its parent
4x4 translanslation matrix of this node relative to its parent
def translation(self):
        t = self.fields.get('translation', '').split()
        if len(t) != 3 or t[0] == 'IS':
            return np.identity(4)
        return translation_matrix([float(a) for a in t])
def translation ( self ) : t = self . fields . get ( 'translation' , '' ) . split ( ) if len ( t ) != 3 or t [ 0 ] == 'IS' : return np . identity ( 4 ) return translation_matrix ( [ float ( a ) for a in t ] )
4x4 translanslation matrix of this node relative to its parent
4x4 translanslation matrix of this node relative to its parent
"""4x4 translanslation matrix of this node relative to its parent"""
self