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

[bugfix] - minor generator fixes #1814

Merged
merged 2 commits into from
Feb 23, 2024
Merged

[bugfix] - minor generator fixes #1814

merged 2 commits into from
Feb 23, 2024

Conversation

aclegg3
Copy link
Contributor

@aclegg3 aclegg3 commented Feb 22, 2024

Motivation and Context

This PR contains three minor, independent fixes from #1770:

  1. DebugVisualizer.peek_scene now defaults to a topdown view
  2. ObjectSampler.sample_placement now correctly uses the global "up" vector of the receptacle for initial snap_down position.
  3. improved stability report during settle_sim allowing objects added to a "None" receptacle object for "floor" placements.

How Has This Been Tested

in other branch logic from habitat-llm and #1770

Types of changes

  • [Refactoring] Large changes to the code that improve its functionality or performance
  • [Bug Fix] (non-breaking change which fixes an issue)

Checklist

  • My code follows the code style of this project.
  • I have updated the documentation if required.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes if required.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 22, 2024
Copy link
Contributor

@xavierpuigf xavierpuigf left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks Alex!

Copy link
Contributor

@0mdc 0mdc left a comment

Choose a reason for hiding this comment

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

LGTM!

"position": [0.0, 0.0, 0.0],
"orientation": [0.0, 0.0, 0.0],
"position": [0, 0, 0],
"orientation": [0, 0, 0.0],
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: The Z component is still a float.

Copy link
Contributor

Choose a reason for hiding this comment

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

These values were set to floats specifically by this pr

@aclegg3 aclegg3 merged commit a25a022 into main Feb 23, 2024
1 of 3 checks passed
@aclegg3 aclegg3 deleted the generator-fixes branch February 23, 2024 20:24
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
* a collection of minor, indipendent fixes centered on the generator
HHYHRHY pushed a commit to SgtVincent/habitat-lab that referenced this pull request Aug 31, 2024
* a collection of minor, indipendent fixes centered on the generator
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.

5 participants