Skip to content

Commit 361bca4

Browse files
committed
Updated FW to handle new board revisions
1 parent ad35e0f commit 361bca4

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
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 "85e7fbf0bcad3fc8b72402596eb55644106f16c9")
5+
set(DEPTHAI_DEVICE_SIDE_COMMIT "89ec5d6cd261b354a09915267fb751a294d14ec4")
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)