-
Notifications
You must be signed in to change notification settings - Fork 65
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
Merge next changes from development to stabilization2310 #570
Merged
AMZN-alexpete
merged 7 commits into
o3de:stabilization/2310
from
RobotecAI:mp/merge_stabilization4
Oct 6, 2023
Merged
Merge next changes from development to stabilization2310 #570
AMZN-alexpete
merged 7 commits into
o3de:stabilization/2310
from
RobotecAI:mp/merge_stabilization4
Oct 6, 2023
Conversation
This file contains 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
…#523) Updated the URDFPrefabMaker to avoid referencing SDF link names as they are not globally unique The `CreatePrefabTemplateFromUrdfOrSdf` function has been modified to create a JointMapper object which stores a mapping of joints to all their parent and child links. It also creates a mapping of joints to the model they are directly attached to. A similar LinkMapper structure has been added for SDF links, which stores a mapping of the link to their attached model. Instead of `CreatePrefabTemplateFromUrdfOrSdf` creating a mapping of SDF link name to O3DE Entity, that mapping has now been updated toi map the SDF link pointer to O3DE Entity. This ensures that SDF links with same name are not lost when mapping to O3DE entities. This is needed as SDF links and joints are only required to be unique relative to their attached model. Two links on different models, can have the same link name (http://sdformat.org/tutorials?tut=composition_proposal#1-6-proposed-parsing-stages) Updated the Robot Importer Visitor callback to require "ModelStack" parameters, which passes in the stack of `sdf::Model` objects that were visited on the way to the sdf element being visited be that a link, joint or nested model. Also updated the GetAllJoints and GetAllLinks function to store a fully qualified name for the joint/link including the ancestor model names when returning the name to joint and name to link map respectively. Signed-off-by: lumberyard-employee-dm <[email protected]> Addressed PR feedback for o3de/o3de-extra#523 around invalid text and grammar Signed-off-by: lumberyard-employee-dm <[email protected]>
Updating ROS2 Gem to use libsdformat-13.5.0-rev2 The new revision of libsdformat comes with debug symbols, that can be used to get symbol information when debugging the RobotImporter using lldb/gdb Signed-off-by: lumberyard-employee-dm <[email protected]>
(o3de#547) Adding back inadvertent code deletion from the RobotImporterWidget.cpp The `RobotImporterWidget::CreatePrefab` function had it's call to `CheckCyclicalDependency` removed as part of a conflict when resolving a rebase. Signed-off-by: lumberyard-employee-dm <[email protected]>
Updated the Check Asset Page to not add Assets with empty source paths or null Asset IDs to the list of resolved assets Signed-off-by: lumberyard-employee-dm <[email protected]> Added a `GetModelContainingModel` function that can return the parent model of a nested model Signed-off-by: lumberyard-employee-dm <[email protected]> Updated the URDFPrefabMaker to create an Entity for which represents the URDF/SDF model itself. The AddEntitiesForLink function has been updated to to pass in the model that the link is attached to and in order to allow the CollidersMaker, ArticulationsMaker and SensorsMaker have access to the Model Signed-off-by: lumberyard-employee-dm <[email protected]> Addressed sentence typos in comments. Signed-off-by: lumberyard-employee-dm <[email protected]> Fixed the joint iteration for loop in `CreatePrefabTemplateFromUrdfOrSdf` The code in hee for loop was converted from a lambda to a for loop, but the return statements weren't converted. Signed-off-by: lumberyard-employee-dm <[email protected]>
* First version of material conversion. This currently skips scripts and pbr materials. Signed-off-by: Mike Balfour <[email protected]> * Modified comment so it's not a direct TODO. Signed-off-by: Mike Balfour <[email protected]> * PR feedback. Cleaned up VisualMakers construction Added error message if model fails to load. Signed-off-by: Mike Balfour <[email protected]> * Added missing includes and fixed missing asset warning. Signed-off-by: Mike Balfour <[email protected]> * Fixed typo to match fixed typo in development branch. Signed-off-by: Mike Balfour <[email protected]> --------- Signed-off-by: Mike Balfour <[email protected]>
* Fully working material conversions. * Fixed mipmap bug by using AssetId instead of Asset. * Rename GetMeshesFromModel to GetAssetsFromModel since it gets textures now too. --------- Signed-off-by: Mike Balfour <[email protected]> Co-authored-by: lumberyard-employee-dm <[email protected]>
Signed-off-by: Michał Pełka <[email protected]>
michalpelka
approved these changes
Oct 5, 2023
lemonade-dm
approved these changes
Oct 5, 2023
mbalfour-amzn
approved these changes
Oct 5, 2023
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.
This PR includes following changes:
current state imported zoo of urdfs:
Tests: