diff --git a/cmake/Depthai/DepthaiDeviceSideConfig.cmake b/cmake/Depthai/DepthaiDeviceSideConfig.cmake index 1ea7aca81..351618039 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 "6046548aea636182aa0b028aff7bf3ec4bdf6988") +set(DEPTHAI_DEVICE_SIDE_COMMIT "913e44e627a6e24f794bce4c4eed2a94691072a4") # "version if applicable" set(DEPTHAI_DEVICE_SIDE_VERSION "") diff --git a/include/depthai/pipeline/node/DynamicCalibrationNode.hpp b/include/depthai/pipeline/node/DynamicCalibrationNode.hpp index 12ef4c74d..dc6630342 100644 --- a/include/depthai/pipeline/node/DynamicCalibrationNode.hpp +++ b/include/depthai/pipeline/node/DynamicCalibrationNode.hpp @@ -198,6 +198,9 @@ class DynamicCalibration : public DeviceNodeCRTPgetCalibration(); auto eepromData = calibrationHandler.getEepromData(); auto platform = daiDevice->getPlatform(); - if(platform == dai::Platform::RVC2 && (!eepromData.stereoEnableDistortionCorrection || eepromData.stereoUseSpecTranslation)) { - throw std::runtime_error("The calibration on the device is too old to perform DynamicCalibration, full re-calibration required!"); + if(platform == dai::Platform::RVC2 && !eepromData.stereoEnableDistortionCorrection && !oldCalibrationWarningIssued) { + logger->info("The calibration on the device is old (distortion correction is disabled), for optimal performance full re-calibration is recommended!"); + oldCalibrationWarningIssued = true; } auto [calibA, calibB] = DclUtils::convertDaiCalibrationToDcl(calibrationHandler, daiSocketA, daiSocketB, resolutionA, resolutionB); diff --git a/src/remote_connection/RemoteConnectionImpl.cpp b/src/remote_connection/RemoteConnectionImpl.cpp index 531b8fdf8..476354b07 100644 --- a/src/remote_connection/RemoteConnectionImpl.cpp +++ b/src/remote_connection/RemoteConnectionImpl.cpp @@ -454,7 +454,7 @@ void RemoteConnectionImpl::exposeLibraryVersionService() { assert(ids.size() == 1); auto id = ids[0]; - serviceMap[id] = [this](foxglove::ServiceResponse request) { + serviceMap[id] = [](foxglove::ServiceResponse request) { nlohmann::json jsonRequest = nlohmann::json::parse(request.data); std::string responseMsg = std::string(build::VERSION); foxglove::ServiceResponse ret;