-
Notifications
You must be signed in to change notification settings - Fork 888
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
Adds option to change the clipping behavior for all Cameras and unifies the default #891
Open
pascal-roth
wants to merge
42
commits into
main
Choose a base branch
from
fix/cam-clipping
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+435
−6
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Mayank Mittal <[email protected]> Signed-off-by: Pascal Roth <[email protected]>
…sim/IsaacLab into feature/cam-init-intrinsic-matrix
…sim/IsaacLab into feature/cam-init-intrinsic-matrix
pascal-roth
added
bug
Something isn't working
enhancement
New feature or request
labels
Aug 28, 2024
pascal-roth
requested review from
Mayankm96,
jsmith-bdai and
Dhoeller19
as code owners
August 28, 2024 14:21
jsmith-bdai
approved these changes
Aug 30, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just prefer more explicit naming of the clipping param
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/camera/camera_cfg.py
Outdated
Show resolved
Hide resolved
Mayankm96
reviewed
Sep 10, 2024
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/camera/camera_cfg.py
Outdated
Show resolved
Hide resolved
Mayankm96
reviewed
Sep 10, 2024
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/camera/tiled_camera_cfg.py
Outdated
Show resolved
Hide resolved
Mayankm96
reviewed
Sep 10, 2024
source/extensions/omni.isaac.lab/omni/isaac/lab/sensors/ray_caster/ray_caster_camera.py
Show resolved
Hide resolved
Mayankm96
reviewed
Sep 10, 2024
@Mayankm96 added test for all the other depth clipping formats, should be good to go now |
@Mayankm96 quick ping, can we get that merged? |
Dhoeller19
approved these changes
Nov 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
dev team
Issue or pull request created by the dev team
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds an option to define the clipping behavior for depth images generated by
RayCasterCamera
andCamera
. In addition, it unifies the clipping behavior for the depth images of all camera implementations. Per default, all values exceeding the range are clipped to zero for bothdistance_to_image_plane
anddistance_to_camera
depth images. Prev.RayCasterCamera
clipped the values to the maximum value of the depth image,Camera
did not clip them and had a different behavior for both types, andTiledCamera
clipped the values to zero.Needs PR #617 to be merged
Type of change
Checklist
pre-commit
checks with./isaaclab.sh --format
config/extension.toml
fileCONTRIBUTORS.md
or my name already exists there