The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: Add setBoardInfo to the DepthAI calibration upload script

authored by

0y8w1x and committed by
Moses Turner
345ac9c6 1472bdf6

+9
+9
scripts/upload_calibration_to_depthai.py
··· 171 171 172 172 calh = dai.CalibrationHandler() 173 173 174 + current_eeprom = device.readCalibration().getEepromData() 175 + 176 + # currently only copies whatever is on the device to the new calibration 177 + calh.setBoardInfo(productName = current_eeprom.productName, boardName = current_eeprom.boardName, 178 + boardRev = current_eeprom.boardRev, boardConf = current_eeprom.boardConf, 179 + hardwareConf = current_eeprom.hardwareConf, batchName = current_eeprom.batchName, 180 + batchTime = current_eeprom.batchTime, boardOptions = current_eeprom.boardOptions, 181 + boardCustom = current_eeprom.boardCustom) 182 + 174 183 calh.setCameraExtrinsics(dai.CameraBoardSocket.LEFT, dai.CameraBoardSocket.RIGHT, 175 184 R, translation=T, specTranslation=[args.baseline, 0, 0]) 176 185