Skip to content

Commit

Permalink
Disable test failing due to ODE/libccd (backport #621)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <[email protected]>
  • Loading branch information
Blast545 authored and scpeters committed May 21, 2024
1 parent 7ff508d commit 9a29866
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dartsim/src/JointFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,17 @@ TEST_F(JointFeaturesFixture, JointDetach)
// sanity check on velocity values
EXPECT_LT(1e-5, upperLinkLinearVelocity.Z());
EXPECT_GT(-0.03, upperLinkAngularVelocity.X());
#ifndef __APPLE__
// Disable some expectations for dartsim plugin on homebrew,
// see https://github.com/gazebosim/gz-physics/issues/620.
EXPECT_NEAR(0.0, upperLinkLinearVelocity.X(), 1e-6);
#endif
EXPECT_NEAR(0.0, upperLinkLinearVelocity.Y(), 1e-6);
#ifndef __APPLE__
// Disable some expectations for dartsim plugin on homebrew,
// see https://github.com/gazebosim/gz-physics/issues/620.
EXPECT_NEAR(0.0, upperLinkAngularVelocity.Y(), 1e-6);
#endif
EXPECT_NEAR(0.0, upperLinkAngularVelocity.Z(), 1e-6);

upperJoint->Detach();
Expand Down

0 comments on commit 9a29866

Please sign in to comment.