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 7 -> main #604

Merged
merged 30 commits into from
Mar 14, 2024
Merged

Merge 7 -> main #604

merged 30 commits into from
Mar 14, 2024

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Mar 13, 2024

➡️ Forward port

Port gz-physics7 to main

Branch comparison: main...gz-physics7

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

scpeters and others added 29 commits November 13, 2023 13:32
When loading a model from SDF, the moment of inertia matrix
is currently applying any rotations in the //inertial/pose
two times, since the rotations are applied explicitly, but
they are already applied in math::Inertial::Moi.

Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>

Co-authored-by: Louise Poubel <[email protected]>
* Use on `push` only on stable branches to avoid duplicate runs
* Update project automation

Signed-off-by: Addisu Z. Taddese <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
Merge ign-physics2 ➡️  ign-physics5

Signed-off-by: Michael Carroll <[email protected]>
Set collision spinning friction using on sdf's torsional coefficient value. If not specified in sdf, the default value of 1.0 is used. When 2 boxes penetrate, bullet pushes them apart. Without the spinning friction set, the boxes will continue to spin indefinitely or until it collides with another object. Setting the spinning friction prevents this from happening.

Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Merge ign-physics2 ➡️  ign-physics5
Signed-off-by: Addisu Z. Taddese <[email protected]>
Adapted from #574 with acknowledgement to Ian Chen.

Signed-off-by: Steve Peters <[email protected]>
Co-authored-by: Ian Chen <[email protected]>
Merge ign-physics5 ➡️  gz-physics6
This cleans up physics tests in a few ways:

Consolidate TestUtilities.hh and test/Utils.hh
Move test headers to test/include/test
Move mock headers to test/include/mock
Create an INTERFACE library for test/mock headers that sets common compiler definitions as well as common libraries to link against
Remove all instances of hardcoded world names or resource names and instead use constants.

Signed-off-by: Michael Carroll <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
This reverts commit 1016539.

Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
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]>
@iche033 iche033 requested a review from azeey as a code owner March 13, 2024 21:27
@iche033 iche033 requested review from mxgrey and scpeters as code owners March 13, 2024 21:27
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Mar 13, 2024
Signed-off-by: Ian Chen <[email protected]>
@iche033 iche033 force-pushed the merge_7_main_20240313 branch from ef301e3 to 1b247ba Compare March 13, 2024 22:35
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

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

Project coverage is 78.32%. Comparing base (9d0542d) to head (1b247ba).

Files Patch % Lines
bullet-featherstone/src/SDFFeatures.cc 75.54% 79 Missing ⚠️
...ullet-featherstone/src/EntityManagementFeatures.cc 71.69% 15 Missing ⚠️
dartsim/src/GzOdeCollisionDetector.cc 82.85% 6 Missing ⚠️
bullet-featherstone/src/Base.hh 93.05% 5 Missing ⚠️
dartsim/src/WorldFeatures.cc 83.33% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #604      +/-   ##
==========================================
+ Coverage   77.91%   78.32%   +0.40%     
==========================================
  Files         140      140              
  Lines        7766     8069     +303     
==========================================
+ Hits         6051     6320     +269     
- Misses       1715     1749      +34     

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

@scpeters scpeters merged commit 492b124 into main Mar 14, 2024
8 checks passed
@scpeters scpeters deleted the merge_7_main_20240313 branch March 14, 2024 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants