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

-- Articulated Object creation restructuring #2359

Merged
merged 16 commits into from
Apr 12, 2024
Merged

Conversation

jturner65
Copy link
Contributor

@jturner65 jturner65 commented Apr 9, 2024

Motivation and Context

This PR refactors the AO creation process so that configuration-based modifications to an AO do not end up applying or being attached in any way with the URDF-built Model, but rather are applied/attached to the resultant BulletArticulatedObject.

This is required because multiple BulletArticulatedObjects can have their own attributes/settings/user_defined configurations despite having been built by the same URDF/Model. With this PR, the Model will remain a static reflection of the data specified in the source URDF, while the BulletArticulatedObject built from this model will manage its own customizations of the original model as specified in the ArticulatedObjectAttributes.

This PR also addresses the bug referenced in this Lab issue.

Note : This PR as it stands still retains geometric and mass scaling in the Model.

How Has This Been Tested

Currently C++ tests pass

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Handle this directly in the AO creation code using the values in the AO attributes.
@jturner65 jturner65 requested a review from aclegg3 April 9, 2024 14:20
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 9, 2024
@jturner65 jturner65 marked this pull request as ready for review April 9, 2024 19:38
@jturner65 jturner65 changed the title --[WIP] Articulated Object creation restructuring -- Articulated Object creation restructuring Apr 9, 2024
Copy link
Contributor

@aclegg3 aclegg3 left a comment

Choose a reason for hiding this comment

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

Looks good from here and confirmed it fixes the lab bug for me locally.

src/esp/physics/ArticulatedObject.h Outdated Show resolved Hide resolved
@jturner65 jturner65 merged commit 7583b8a into main Apr 12, 2024
10 checks passed
@jturner65 jturner65 deleted the AO_RestructureAOCreate branch April 12, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants