diff --git a/bindings/python/src/DeviceBindings.cpp b/bindings/python/src/DeviceBindings.cpp index 6460adfaac..9aacd2a03a 100644 --- a/bindings/python/src/DeviceBindings.cpp +++ b/bindings/python/src/DeviceBindings.cpp @@ -1097,6 +1097,14 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack) { }, py::arg("enable"), DOC(dai, DeviceBase, setExternalStrobeEnable)) + .def( + "setExternalStrobeEnable", + [](DeviceBase& d, dai::CameraBoardSocket exposureMasterSocket) { + py::gil_scoped_release release; + d.setExternalStrobeEnable(exposureMasterSocket); + }, + py::arg("exposureMasterSocket"), + DOC(dai, DeviceBase, setExternalStrobeEnable, 2)) .def( "getDeviceName", [](DeviceBase& d) { diff --git a/cmake/Depthai/DepthaiDeviceRVC4Config.cmake b/cmake/Depthai/DepthaiDeviceRVC4Config.cmake index a7429b33de..212636025d 100644 --- a/cmake/Depthai/DepthaiDeviceRVC4Config.cmake +++ b/cmake/Depthai/DepthaiDeviceRVC4Config.cmake @@ -3,4 +3,4 @@ set(DEPTHAI_DEVICE_RVC4_MATURITY "snapshot") # "version if applicable" -set(DEPTHAI_DEVICE_RVC4_VERSION "0.0.1+58d182b6fce698d1c84c07cac440535774defbde") +set(DEPTHAI_DEVICE_RVC4_VERSION "0.0.1+48c2e4a32587a266f11e35d008768a95b72712df") diff --git a/cmake/Depthai/DepthaiDeviceSideConfig.cmake b/cmake/Depthai/DepthaiDeviceSideConfig.cmake index c9a961eab3..398a44bbf5 100644 --- a/cmake/Depthai/DepthaiDeviceSideConfig.cmake +++ b/cmake/Depthai/DepthaiDeviceSideConfig.cmake @@ -2,7 +2,7 @@ set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot") # "full commit hash of device side binary" -set(DEPTHAI_DEVICE_SIDE_COMMIT "ac60599e9650fbfec38ff4b5acb4448a402889b0") +set(DEPTHAI_DEVICE_SIDE_COMMIT "fe5648e9068c9f9cecce8d639c510f702fdb7c9e") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "") diff --git a/include/depthai/device/DeviceBase.hpp b/include/depthai/device/DeviceBase.hpp index 80a71da6e9..936b988c6a 100644 --- a/include/depthai/device/DeviceBase.hpp +++ b/include/depthai/device/DeviceBase.hpp @@ -1216,6 +1216,13 @@ class DeviceBase { */ void setExternalStrobeEnable(bool enable); + /** + * Set which camera will control the external strobe exposure. Automaticaly enables external strobe. + * External strobe signal is low for the duration of exposure, and high for the rest of the frame. + * @param exposureMasterSocket CameraBoardSocket of the camera which will control the external strobe exposure + */ + void setExternalStrobeEnable(dai::CameraBoardSocket exposureMasterSocket); + /** * Mock camera features from a recording. Used for holistic record and replay. */ diff --git a/src/device/DeviceBase.cpp b/src/device/DeviceBase.cpp index 8489282dc6..ac70ff48ea 100644 --- a/src/device/DeviceBase.cpp +++ b/src/device/DeviceBase.cpp @@ -1740,6 +1740,10 @@ void DeviceBase::setExternalStrobeEnable(bool enable) { pimpl->rpcCallCheckedVoid("setExternalStrobeEnable", enable); } +void DeviceBase::setExternalStrobeEnable(dai::CameraBoardSocket exposureMasterSocket) { + pimpl->rpcCallCheckedVoid("setExternalStrobeEnableExposureMaster", exposureMasterSocket); +} + dai::Version DeviceBase::getIMUFirmwareVersion() { isClosed(); std::string versionStr = pimpl->rpcCallChecked("getIMUFirmwareVersion");