Skip to content

Commit 5e1be90

Browse files
author
SzabolcsGergely
committed
Merge remote-tracking branch 'origin/develop' into ts_metadata
2 parents 2c4abb3 + 361bca4 commit 5e1be90

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

cmake/Depthai/DepthaiDeviceSideConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
33

44
# "full commit hash of device side binary"
5-
set(DEPTHAI_DEVICE_SIDE_COMMIT "ebfd4684b68c5f8fffdec6e2c00eb6495665840b")
5+
set(DEPTHAI_DEVICE_SIDE_COMMIT "602822fe9eaca68a72c666497dc4979b29291b3e")
66

77
# "version if applicable"
88
set(DEPTHAI_DEVICE_SIDE_VERSION "")

examples/calibration/calibration_dump.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,14 @@ int main() {
2424
std::cout << "No factory calibration: " << ex.what() << std::endl;
2525
}
2626

27+
{
28+
nlohmann::json j = device.readCalibrationRaw();
29+
std::cout << "User calibration raw: " << j.dump() << std::endl << std::endl;
30+
}
31+
{
32+
nlohmann::json j = device.readFactoryCalibrationRaw();
33+
std::cout << "Factory calibration raw: " << j.dump() << std::endl << std::endl;
34+
}
35+
2736
return 0;
2837
}

examples/calibration/calibration_flash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ int main(int argc, char** argv) {
1313
}
1414

1515
// Connect device
16-
dai::Device device;
16+
dai::Device device(dai::OpenVINO::DEFAULT_VERSION, dai::UsbSpeed::HIGH);
1717

1818
dai::CalibrationHandler deviceCalib = device.readCalibration();
1919
deviceCalib.eepromToJsonFile(calibBackUpFile);

0 commit comments

Comments
 (0)