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

Add ultra depth mode and fix performance depth mode in Zed2i #124

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ This project uses a [CalVer](https://calver.org/) versioning scheme with monthly
### Added
- `PointCloud` dataclass as the main data structure for point clouds in airo-mono
- Notebooks to get started with point clouds, checking performance and logging to rerun
- Functions to crop point clouds and filter points with a mask (e.g. low-confidence points))
- Functions to crop point clouds and filter points with a mask (e.g. low-confidence points)
- Functions to convert from our numpy-based dataclass to and from open3d point clouds
- `BoundingBox3DType`
- `Zed2i.ULTRA_DEPTH_MODE` to enable the ultra depth setting for the Zed2i cameras



Expand All @@ -32,6 +33,7 @@ This project uses a [CalVer](https://calver.org/) versioning scheme with monthly
- Removed camera imports in `airo_camera_toolkit.cameras`: see issue #110.
- Added `__init__.py` to `realsense` and `utils` in `airo_camera_toolkit.cameras`, fixing installs with pip and issue #113.
- Fixed bug that returned a transposed resolution in `MultiprocessRGBReceiver`.
- Using `Zed2i.PERFORMANCE_DEPTH_MODE` will now correctly use the performance mode instead of the quality mode.

### Removed
- `ColoredPointCloudType`
Expand Down
5 changes: 3 additions & 2 deletions airo-camera-toolkit/airo_camera_toolkit/cameras/zed/zed2i.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ class Zed2i(StereoRGBDCamera):
# no depth mode, higher troughput of the RGB images as the GPU has to do less work
# can also turn depth off in the runtime params, which is recommended as it allows for switching at runtime.
NONE_DEPTH_MODE = sl.DEPTH_MODE.NONE
PERFORMANCE_DEPTH_MODE = sl.DEPTH_MODE.QUALITY
PERFORMANCE_DEPTH_MODE = sl.DEPTH_MODE.PERFORMANCE
QUALITY_DEPTH_MODE = sl.DEPTH_MODE.QUALITY
DEPTH_MODES = (NEURAL_DEPTH_MODE, NONE_DEPTH_MODE, PERFORMANCE_DEPTH_MODE, QUALITY_DEPTH_MODE)
ULTRA_DEPTH_MODE = sl.DEPTH_MODE.ULTRA
DEPTH_MODES = (NEURAL_DEPTH_MODE, NONE_DEPTH_MODE, PERFORMANCE_DEPTH_MODE, QUALITY_DEPTH_MODE, ULTRA_DEPTH_MODE)

# for info on image resolution, pixel sizes, fov..., see:
# https://support.stereolabs.com/hc/en-us/articles/360007395634-What-is-the-camera-focal-length-and-field-of-view-
Expand Down
Loading