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

Ported tiles to empty world #217

Merged
merged 1 commit into from
Jun 27, 2022
Merged

Ported tiles to empty world #217

merged 1 commit into from
Jun 27, 2022

Conversation

adityapande-1995
Copy link
Collaborator

Signed-off-by: Aditya [email protected]

This PR ports the Portuguese ledge tiles to a copy of the empty_environment.sdf, called empty_environment_with_tiles.sdf.em

@adityapande-1995 adityapande-1995 mentioned this pull request Jun 20, 2022
15 tasks
add_custom_command(
OUTPUT world_gen_cmd
COMMAND python3 ${CMAKE_CURRENT_SOURCE_DIR}/worlds/empy_expander.py
${CMAKE_CURRENT_SOURCE_DIR}/worlds/${WORLD_NAME}.sdf.em
${CMAKE_CURRENT_BINARY_DIR}/worlds/${WORLD_NAME}.sdf
COMMAND python3 ${CMAKE_CURRENT_SOURCE_DIR}/worlds/empy_expander.py
${CMAKE_CURRENT_SOURCE_DIR}/worlds/${WORLD_NAME_EMPTY}.sdf.em
${CMAKE_CURRENT_BINARY_DIR}/worlds/${WORLD_NAME_EMPTY}.sdf
Copy link
Collaborator

Choose a reason for hiding this comment

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

@adityapande-1995 meta: at some point, it would be nice to have a macro to set up SDF template expansion during builds.

<plugin
filename="ignition-gazebo-physics-system"
name="gz::sim::systems::Physics">
</plugin>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@adityapande-1995 meta: we duplicate a lot across worlds' definitions. At some point, it may be worth exploring having a hierarchy of templates instead.

@adityapande-1995
Copy link
Collaborator Author

Tested locally, this one is working. The CI is failing due to porting of macros, which has been done in main. Merging this one !

@adityapande-1995 adityapande-1995 merged commit 0f592fa into main Jun 27, 2022
@adityapande-1995 adityapande-1995 deleted the aditya/tiles_port branch June 27, 2022 20:23
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