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

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