code: def _dcm_to_euler(self, dcm):
          
          assert(isinstance(dcm, Matrix3))
          return np.array(dcm.to_euler())
docs: Create DCM from euler angles
          :param dcm: Matrix3
          :returns: array [roll, pitch, yaw] in rad