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

Use updated model names for spawned models when generating SDFormat #166

Merged
merged 2 commits into from
Jun 1, 2020

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Jun 1, 2020

This fixes an issue with SDFormat generator where it was not using the updated model names of models spawned with a new name or models that get assigned a new name due to a name conflict. The issue only occurred if the generated SDFormat was expanded, i.e, not using <include>.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey requested a review from chapulina June 1, 2020 17:32
@azeey azeey self-assigned this Jun 1, 2020
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Nice catch and tests, LGTM.

@chapulina chapulina added the 📜 blueprint Ignition Blueprint label Jun 1, 2020
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey merged commit ef44bce into gazebosim:ign-gazebo2 Jun 1, 2020
@azeey azeey deleted the save_new_model_name branch June 1, 2020 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 blueprint Ignition Blueprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants