fix(allied_vision_camera): transpose fix
Some checks failed
CI for csaxs_bec / test (push) Failing after 1m53s

This commit is contained in:
2026-03-04 10:45:20 +01:00
parent 1897c52200
commit 150b3d14e3

View File

@@ -41,6 +41,7 @@ class AlliedVisionCamera(PSIDeviceBase, DetectorBase):
name="preview",
ndim=2,
num_rotation_90=0,
transpose=False,
doc="Preview signal of the AlliedVision camera.",
)
@@ -58,6 +59,8 @@ class AlliedVisionCamera(PSIDeviceBase, DetectorBase):
name: str,
prefix: str,
poll_rate: int = 5,
num_rotation_90: int = 0,
transpose: bool = False,
scan_info=None,
device_manager=None,
**kwargs,
@@ -77,6 +80,8 @@ class AlliedVisionCamera(PSIDeviceBase, DetectorBase):
self._unique_array_id = 0
self._pv_timeout = 2.0
self.image: ImagePlugin
self.preview.num_rotation_90 = num_rotation_90
self.preview.transpose = transpose
self._live_mode_lock = threading.RLock()
self.live_mode_enabled.subscribe(self._on_live_mode_enabled_changed, run=False)