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

Feature/calculator inertia updates #15

Merged
merged 43 commits into from
Jan 19, 2024

Conversation

james-p-foster
Copy link
Contributor

If merged, this PR will provide all of the relevant calculators in the algorithms module with the ability to handle time-varying inertial parameters (mass, center of mass offset, and moment of inertia).

In the corresponding test classes, testModifiedRigidBodyParameters methods have been added, which will typically:

  1. create a random multibody system
  2. perform suitable checks before changing anything (usually pulled from existing tests)
  3. a randomly selected rigid body is varied inertially
  4. the same checks are performed again, one the same calculator, to ensure it has updated correctly

SylvainBertrand and others added 30 commits September 26, 2023 16:37
… note cannot vary CoM offset because of frame issues
… parameters; note cannot vary CoM offset due to wrench computation assuming zero offset
…ters; note cannot vary CoM offset because of not positive definite articulated body inertia issues
james-p-foster and others added 13 commits November 2, 2023 16:37
…-inertia-updates

# Conflicts:
#	src/main/java/us/ihmc/mecano/tools/MecanoRandomTools.java
#	src/main/java/us/ihmc/mecano/tools/MecanoTools.java
#	src/test/java/us/ihmc/mecano/tools/MecanoToolsTest.java
# Conflicts:
#	src/main/java/us/ihmc/mecano/algorithms/ForwardDynamicsCalculator.java
#	src/main/java/us/ihmc/mecano/algorithms/InverseDynamicsCalculator.java
#	src/test/java/us/ihmc/mecano/algorithms/ForwardDynamicsCalculatorTest.java
Copy link
Member

@SylvainBertrand SylvainBertrand left a comment

Choose a reason for hiding this comment

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

Woot woot! Looks good to me!

@james-p-foster james-p-foster merged commit 42d4660 into develop Jan 19, 2024
1 check passed
@james-p-foster james-p-foster deleted the feature/calculator-inertia-updates branch January 19, 2024 15:00
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.

2 participants