ipc-toolkit
ipc-toolkit copied to clipboard
Rigid and Affine Body Dynamics
Description
This pull request introduces support for rigid body dynamics simulation.
Rigid body dynamics support in Python bindings
- Added a new
dynamicsmodule with subfolderrigid, includingSimulator,RigidBodies,Pose, andPosesclasses, and exposed them via pybind11 in the Python bindings
Improvements to CMake dependency management
- Updated CPM versions and refactored third-party recipes to use the
OPTIONSargument for configuration, improving clarity and maintainability. - Added a new CMake recipe for TinyGLTF and integrated it into the build.
Python usability improvements and new examples
- Added a new example script demonstrating rigid body simulation and visualization using
ipctk,meshio, andpolyscope(python/examples/rigid.py).
Minor Python binding improvements
- Changed
save_objmethod towrite_objinCandidatesPython bindings for clarity. - Made
CollisionMeshPython class usestd::shared_ptrfor better memory management.
Type of change
- [x] New feature (non-breaking change which adds functionality)
- [x] This change requires a documentation update
Codecov Report
:x: Patch coverage is 77.25857% with 146 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 94.74%. Comparing base (c4753ba) to head (a5674a6).
Additional details and impacted files
@@ Coverage Diff @@
## main #184 +/- ##
==========================================
- Coverage 96.02% 94.74% -1.28%
==========================================
Files 105 119 +14
Lines 8100 8738 +638
==========================================
+ Hits 7778 8279 +501
- Misses 322 459 +137
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 94.74% <77.25%> (-1.28%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.