Skip to content
Merged
2 changes: 1 addition & 1 deletion cmake/Depthai/DepthaiDeviceSideConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")
3 changes: 3 additions & 0 deletions include/depthai/pipeline/node/DynamicCalibrationNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ class DynamicCalibration : public DeviceNodeCRTP<DeviceNode, DynamicCalibration,
* - Reseting of data
*/
bool runOnHostVar = true;

// When old calibration is encountered, issue a warning once
bool oldCalibrationWarningIssued = false;
};

} // namespace node
Expand Down
5 changes: 3 additions & 2 deletions src/pipeline/node/DynamicCalibrationNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,9 @@ DynamicCalibration::ErrorCode DynamicCalibration::initializePipeline(const std::
calibrationHandler = daiDevice->getCalibration();
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);

Expand Down
2 changes: 1 addition & 1 deletion src/remote_connection/RemoteConnectionImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading