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

Merge 6 -> 7 #602

Merged
merged 3 commits into from
Mar 7, 2024
Merged

Merge 6 -> 7 #602

merged 3 commits into from
Mar 7, 2024

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Mar 7, 2024

➡️ Forward port

Port gz-physics6 to gz-physics7

Branch comparison: gz-physics7...gz-physics6

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

iche033 and others added 2 commits March 5, 2024 20:07
Extended bullet-featurestone implementation to
support these features related to nested models:

* ConstructSdfJoint (limited to creating fixed joints
  to the world)
* ConstructSdfNestedModel
* GetNestedModelFromModel
* WorldModelFeature
* RemoveEntities

The nested models are currently added to a single
multibody since bullet-featherstone does not currently
support joints between two different multibodies.
The nested model keeps a shared ptr to the root link's
btMultibody.

With the addition of the above features, more common
tests are now being run using bullet-feathersone plugin.

Closes #546, #547.

Signed-off-by: Shameek Ganguly <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Co-authored-by: Shameek Ganguly <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
* Tune erp2 and mesh margin
* increase tol in joint features test

Signed-off-by: Ian Chen <[email protected]>
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Mar 7, 2024
Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 78.73303% with 94 lines in your changes are missing coverage. Please review.

Project coverage is 78.32%. Comparing base (23a9109) to head (92e02c3).

Files Patch % Lines
bullet-featherstone/src/SDFFeatures.cc 76.20% 74 Missing ⚠️
...ullet-featherstone/src/EntityManagementFeatures.cc 71.69% 15 Missing ⚠️
bullet-featherstone/src/Base.hh 93.05% 5 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           gz-physics7     #602      +/-   ##
===============================================
+ Coverage        77.76%   78.32%   +0.56%     
===============================================
  Files              140      140              
  Lines             7788     8069     +281     
===============================================
+ Hits              6056     6320     +264     
- Misses            1732     1749      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

// configuring split impulse and penetration threshold parameters. Instead the
// penentration impulse depends on the erp2 parameter so set to a small value
// (default is 0.2).
this->world->getSolverInfo().m_erp2 = 0.002;
Copy link
Member

Choose a reason for hiding this comment

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

windows compiler warning here

'=': truncation from 'double' to 'btScalar'

Copy link
Member

Choose a reason for hiding this comment

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

fixed in 92e02c3

@scpeters scpeters merged commit b312755 into gz-physics7 Mar 7, 2024
10 checks passed
@scpeters scpeters deleted the merge_6_7_20240306 branch March 7, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants