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

--Address regression and missing stage_id checks #1822

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

jturner65
Copy link
Contributor

Motivation and Context

This PR addresses a regression introduced in this PR where sensorspec position and orientation values were changed to be integers, but are required to be floats for future refactor to magnum vector backend in this sim pr.

This PR also addresses a missed stage ID comparison refactor from a magic number to the habitat_sim.stage_id value.

How Has This Been Tested

Changes tested locally.

Types of changes

  • [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 27, 2024
@jturner65 jturner65 changed the title --Address regression and missing id checks --Address regression and missing stage_id checks Feb 27, 2024
Copy link
Contributor

@aclegg3 aclegg3 left a comment

Choose a reason for hiding this comment

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

Thanks for catching these.

@jturner65 jturner65 merged commit d0c4c21 into main Feb 27, 2024
4 checks passed
@jturner65 jturner65 deleted the Bugfix_SnsrSpecAndStageID branch February 27, 2024 19:07
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
* --need these to be floats for the sensor spec
* --properly bound object ID as being greater than stage_id
HHYHRHY pushed a commit to SgtVincent/habitat-lab that referenced this pull request Aug 31, 2024
* --need these to be floats for the sensor spec
* --properly bound object ID as being greater than stage_id
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.

3 participants