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

Improve physics object library loading #248

Merged
merged 4 commits into from
Oct 1, 2019
Merged

Conversation

aclegg3
Copy link
Contributor

@aclegg3 aclegg3 commented Sep 25, 2019

Motivation and Context

This change improves object library loading from physics config file by allowing loading of entire directories of objects and allowing all paths to be either relative or global. This PR updates Corrade submodule to access new utility functions.

Note: The mesh references inside a physics object properties file (e.g. "cheezit.phys_properties.json") can already be either relative or global since PR #231. This change affects the paths specified inside the global physics config file (e.g. "default.phys_scene_config.json").

How Has This Been Tested

Local testing with global file paths and directories of objects.

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.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 25, 2019
src/esp/assets/ResourceManager.cpp Outdated Show resolved Hide resolved
src/esp/assets/ResourceManager.cpp Outdated Show resolved Hide resolved
src/esp/assets/ResourceManager.cpp Outdated Show resolved Hide resolved
@aclegg3 aclegg3 merged commit d27bd5b into master Oct 1, 2019
@aclegg3 aclegg3 deleted the improve_object_lib_loading branch October 1, 2019 17:59
eundersander pushed a commit to eundersander/habitat-sim that referenced this pull request Aug 6, 2020
Fix wrong return type of SimulatorTaskAction.step
Ram81 pushed a commit to Ram81/habitat-web-sim that referenced this pull request Dec 10, 2020
* Enable directory loading and global filepaths in object lib loader from physics config file

* Pulled Corrade module commit to get isDirectory

* Refactor with Corrade Utils
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.

None yet

4 participants