Skip to content

Commit

Permalink
Revert "Disable check in DetachableJointTest, CorrectAttachmentPoints…
Browse files Browse the repository at this point in the history
… for dartsim plugin on macOS (#613)" (#615)

This reverts commit d616379.

Signed-off-by: Steve Peters <[email protected]>
Co-authored-by: Ian Chen <[email protected]>
  • Loading branch information
scpeters and iche033 authored Apr 11, 2024
1 parent bcacf85 commit 624dc27
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/common_test/detachable_joint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,7 @@ TYPED_TEST(DetachableJointTest, CorrectAttachmentPoints)
// ground.
auto frameDataC1L1 = cylinder1_link1->FrameDataRelativeToWorld();
auto frameDataC2L2 = cylinder2_link2->FrameDataRelativeToWorld();
#ifdef __APPLE__
// Disable check for dartsim plugin on homebrew,
// see https://github.com/gazebosim/gz-physics/issues/612.
if (this->PhysicsEngineName(name) != "dartsim")
#endif
{
EXPECT_NEAR(0.15, frameDataC1L1.pose.translation().z(), 1e-2);
}
EXPECT_NEAR(0.15, frameDataC1L1.pose.translation().z(), 1e-2);
EXPECT_NEAR(0.05, frameDataC2L2.pose.translation().z(), 1e-2);
}
}
Expand Down

0 comments on commit 624dc27

Please sign in to comment.