4 from numpy.random
import rand
6 import pinocchio
as pin
7 from pinocchio
import skew, unSkew, skewSquare
9 from test_case
import PinocchioTestCase
15 self.assertLess(np.linalg.norm(
skew(v3).dot(v3)), 1e-10)
17 x, y, z = tuple(
rand(3).tolist())
18 M = np.array([[ 0., x, y],
27 x, y, z = tuple(v3.tolist())
40 if __name__ ==
'__main__':
def assertApprox(self, a, b, eps=1e-6)
Eigen::Matrix< typename Matrix3::Scalar, 3, 1, Matrix3::Options > unSkew(const Matrix3 &mat)