Adds option to change the clipping behavior for all Cameras and unifies the default (#891)
# Description This PR adds an option to define the clipping behavior for depth images generated by `RayCasterCamera` and `Camera`. 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 both `distance_to_image_plane` and `distance_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, and `TiledCamera` clipped the values to zero. Needs PR #617 to be merged ## Type of change - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Signed-off-by:Pascal Roth <57946385+pascal-roth@users.noreply.github.com> Signed-off-by:
Kelly Guo <kellyg@nvidia.com> Co-authored-by:
Mayank Mittal <12863862+Mayankm96@users.noreply.github.com> Co-authored-by:
David Hoeller <dhoeller@nvidia.com> Co-authored-by:
Kelly Guo <kellyg@nvidia.com> Co-authored-by:
Kelly Guo <kellyguo123@hotmail.com>
Showing
Please register or sign in to comment