Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit cf52eca

Browse files
committed
[Tests] update hardcoded values to the use of the urdf in example-robot-data
1 parent f3d6c63 commit cf52eca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test-projection.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ BOOST_AUTO_TEST_CASE(projectToComPositionHyQ) {
3939
fullBody->device_->computeForwardKinematics();
4040
fcl::Vec3f com_init = fullBody->device_->positionCenterOfMass();
4141
// com position with reference configuration given
42-
BOOST_CHECK_CLOSE(com_init[0], -0.01892558812361088, 1e-6);
43-
BOOST_CHECK_CLOSE(com_init[1], -0.00125656290165268, 1e-6);
44-
BOOST_CHECK_CLOSE(com_init[2], 0.654578955965801, 1e-6);
42+
BOOST_CHECK_CLOSE(com_init[0], 0.038820542472487805, 1e-6);
43+
BOOST_CHECK_CLOSE(com_init[1], 0.013905920702454319, 1e-6);
44+
BOOST_CHECK_CLOSE(com_init[2], 0.64079567046650698, 1e-6);
4545

4646
fcl::Vec3f com_goal = com_init;
4747
// set an easy com goal position, close to the reference one

0 commit comments

Comments
 (0)