-- Articulated Object creation restructuring#2359
Merged
Conversation
Handle this directly in the AO creation code using the values in the AO attributes.
Handle semantic ID specification directly via attributes on creation.
Handle render asset specification directly upon instantiation via config values
aclegg3
approved these changes
Apr 10, 2024
Contributor
aclegg3
left a comment
There was a problem hiding this comment.
Looks good from here and confirmed it fixes the lab bug for me locally.
5 tasks
These tests are more appropriate in AttributesManagersTest and this move makes SimTest a bit less unruly.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Checklist