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

Model Triangle Inequality Fix #3980

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

alexbeattie42
Copy link
Contributor

@alexbeattie42 alexbeattie42 commented Dec 6, 2024

Fixes issue #3941

Brief summary of changes

Resolves this issue
Related PR in model repository

I created this python script which identifies in a .osim model which inertial constraints will fail the triangle inequality and calculates the minimum change in one element required to fix them.

Testing I've completed

I have tested with the models before and after and in my testing the models do not work prior to the repair and do work after.

Looking for feedback on...

@aymanhab can you take a look at these?

CHANGELOG.md (choose one)

  • no need to update because...
  • updated.

This change is Reviewable

@alexbeattie42 alexbeattie42 force-pushed the model-triangle-inequality branch from 1025785 to 4e83ff5 Compare December 6, 2024 05:45
@alexbeattie42 alexbeattie42 force-pushed the model-triangle-inequality branch from 4e83ff5 to c82ded4 Compare December 6, 2024 05:47
@alexbeattie42 alexbeattie42 reopened this Dec 6, 2024
@alexbeattie42 alexbeattie42 changed the title Model triangle inequality Model Triangle Inequality Fix Dec 6, 2024
@adamkewley
Copy link
Contributor

Seems like a reasonable enough change that fixes some of the tests under debug conditions, nicely spotted!

@adamkewley adamkewley merged commit 4ef23e6 into opensim-org:main Dec 12, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SimTK Execption - Inertial Matrix Triangle Inequality Bug
2 participants