From 4775bfa39910937c04b103ad1df9ce647813f6ec Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Sun, 22 Sep 2024 19:26:15 +0200 Subject: [PATCH] test/mjcf: fix test of equality constraints --- unittest/mjcf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittest/mjcf.cpp b/unittest/mjcf.cpp index 39f90909d4..9e666f1e6d 100644 --- a/unittest/mjcf.cpp +++ b/unittest/mjcf.cpp @@ -1259,9 +1259,9 @@ BOOST_AUTO_TEST_CASE(test_contact_parsing) BOOST_CHECK_EQUAL(contact_models.size(), 4); BOOST_CHECK_EQUAL( - contact_models[0].joint1_placement.translation(), pinocchio::SE3::Vector3(0.35012, 0, 0)); + contact_models[0].joint1_placement.translation(), pinocchio::SE3::Vector3(0.50120, 0, 0)); BOOST_CHECK_EQUAL( - contact_models[1].joint1_placement.translation(), pinocchio::SE3::Vector3(0.50120, 0, 0)); + contact_models[1].joint1_placement.translation(), pinocchio::SE3::Vector3(0.35012, 0, 0)); BOOST_CHECK_EQUAL( contact_models[2].joint1_placement.translation(), pinocchio::SE3::Vector3(0.50120, 0, 0)); BOOST_CHECK_EQUAL(