Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test to verify behavior of detachable joints #563

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

mjcarroll
Copy link
Contributor

The reported bug was that the detachable joint was not correctly linked between objects' canonical links with bullet-featherstone. While this was addressed and confirmed working in #530, this adds a test to prevent future regression (or for future physics implementations).

CC: @shameekganguly

The reported bug was that the detachable joint was not correctly linked
between objects' canonical links with bullet-featherstone.  While this
was addressed and confirmed working in #530, this adds a test to prevent
future regression (or for future physics implementations)

Signed-off-by: Michael Carroll <[email protected]>
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Oct 24, 2023
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #563 (d02a90f) into gz-physics6 (128f740) will increase coverage by 0.10%.
The diff coverage is n/a.

❗ Current head d02a90f differs from pull request most recent head ef7c334. Consider uploading reports for the commit ef7c334 to get more accurate results

@@               Coverage Diff               @@
##           gz-physics6     #563      +/-   ##
===============================================
+ Coverage        75.84%   75.95%   +0.10%     
===============================================
  Files              143      143              
  Lines             7327     7327              
===============================================
+ Hits              5557     5565       +8     
+ Misses            1770     1762       -8     

see 2 files with indirect coverage changes

@@ -0,0 +1,202 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Copyright (C) 2022 Open Source Robotics Foundation
* Copyright (C) 2023 Open Source Robotics Foundation

{
gz::common::Console::SetVerbosity(4);

std::cerr << "DetachableJointTest::GetLibToTest() " << DetachableJointTest::GetLibToTest() << '\n';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove ?

Copy link
Contributor Author

@mjcarroll mjcarroll Oct 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something we do in the other common tests:

std::cerr << "JointFeaturesTest::GetLibToTest() " << JointFeaturesTest::GetLibToTest() << '\n';

Is there a reason to specifically remove it here?

@mjcarroll mjcarroll requested a review from ahcorde October 30, 2023 17:55
@mjcarroll mjcarroll merged commit b83354d into gz-physics6 Oct 30, 2023
9 checks passed
@mjcarroll mjcarroll deleted the mjcarroll/detachable_joint_test branch October 30, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants