-
Notifications
You must be signed in to change notification settings - Fork 41
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
Conversation
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]>
Codecov Report
@@ 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 |
@@ -0,0 +1,202 @@ | |||
/* | |||
* Copyright (C) 2022 Open Source Robotics Foundation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 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'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ?
There was a problem hiding this comment.
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?
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