Skip to content

Commit

Permalink
Fixed Dartsim SDFFeatures_TEST (#405)
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <ahcorde@gmail.com>
  • Loading branch information
ahcorde authored Sep 1, 2022
1 parent 39a3354 commit 1a9a841
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dartsim/src/SDFFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -344,12 +344,16 @@ TEST_P(SDFFeatures_TEST, CheckDartsimData)
// Test that things were parsed correctly. These values are either stated or
// implied in the test.world SDF file.
verify(skeleton->getJoint(1)->getDof(0),
3.0, 0.0, 0.0, 0.0, -1e16, 1e16,
3.0, 0.0, 0.0, 0.0,
-std::numeric_limits<double>::infinity(),
std::numeric_limits<double>::infinity(),
std::numeric_limits<double>::infinity(),
std::numeric_limits<double>::infinity());

verify(skeleton->getJoint(2)->getDof(0),
3.0, 0.0, 0.0, 0.0, -1e16, 1e16,
3.0, 0.0, 0.0, 0.0,
-std::numeric_limits<double>::infinity(),
std::numeric_limits<double>::infinity(),
std::numeric_limits<double>::infinity(),
std::numeric_limits<double>::infinity());

Expand Down

0 comments on commit 1a9a841

Please sign in to comment.