def euler ( self ) : e_xyz = transformations . euler_from_matrix ( self . rotation , 'sxyz' ) return np . array ( [ 180.0 / np . pi * a for a in e_xyz ] )
python euler to rotation matrix
TODO DEPRECATE THIS?
def euler(self):
        """TODO DEPRECATE THIS?"""
        e_xyz = transformations.euler_from_matrix(self.rotation, 'sxyz')
        return np.array([180.0 / np.pi * a for a in e_xyz])