Skip to content

Commit

Permalink
Release 0.2.6 (#74)
Browse files Browse the repository at this point in the history
* Fix regression: Without an active stereo config the viewer would crash

* Changelog

---------

Co-authored-by: Filip Jeretina <[email protected]>
  • Loading branch information
zrezke and Filip Jeretina authored Oct 4, 2024
1 parent cfe4f14 commit e909165
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Depthai Viewer changelog

## 0.2.6
- Fix regression: Without an active stereo config the viewer would crash

## 0.2.5
- Fixed depth aligned camera streams not being rectified and undistorted. Resulting in misaligned visualisation.

Expand Down
5 changes: 3 additions & 2 deletions rerun_py/depthai_viewer/_backend/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,9 @@ def update_pipeline(self, runtime_only: bool) -> Message:

# Make sure that it's possible to create stereo depth
try:
stereo_pair = config.stereo.stereo_pair
self._oak.device.readCalibration2().getCameraExtrinsics(stereo_pair[0], stereo_pair[1])
if config.stereo:
stereo_pair = config.stereo.stereo_pair
self._oak.device.readCalibration2().getCameraExtrinsics(stereo_pair[0], stereo_pair[1])
except RuntimeError:
config.stereo = None
if config.stereo:
Expand Down

0 comments on commit e909165

Please sign in to comment.