code: def _euler_to_dcm(self, euler):
          
          assert(len(euler) == 3)
          m = Matrix3()
          m.from_euler(*euler)
          return m
docs: Create DCM (Matrix3) from euler angles
          :param euler: array [roll, pitch, yaw] in rad
          :returns: Matrix3