Repository navigation
feat(calibration): 1920x1080 参考鱼眼内参 FISHEYE_FALLBACK_CAL_HD - #45
Merged
Merged
Conversation
用户要求把主爪 TCGU01A28Z0116m(相机 XCA28Z0116m、固件 1.3.1)在 1920x1080 下的 标定记为 SDK 参考:棋盘格 16 张、RMS 0.145 px,2026-11-22,取设备 flash 读回的 float32 值。理论上所有设备都应重新标定,这组只作参考。 - FISHEYE_FALLBACK_CAL_HD / FISHEYE_FALLBACK_CAL_HD_SOURCE / fisheye_fallback_cal_for(w, h) (C++ / Python)。 - resolve_fisheye_for(1920, 1080) 退回 HD 参考(尺寸 1920x1080),不再退回在该尺寸下 会被去畸变拒绝的 640x480 参考:1080p 腕部相机在完全没有标定的设备上改为用 HD 参考 并告警(原先抛错);只有另一分辨率标定时仍抛错。 - matches_fisheye_fallback_cal(cal, w, h) 按尺寸比对,matches_reference 与写入告警改用 它;HD 参考就是 0116m 自己的标定,那台按构造会匹配,告警里写明。单参数形式不变(640)。 C++ 666 passed(两个旧用例按新行为改写,新增 2 个),pytest 176 passed / 2 skipped。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
用户要求把主爪 TCGU01A28Z0116m(相机 XCA28Z0116m、固件 1.3.1)2026-11-22 在 1920x1080 下的标定(棋盘格 16 张,RMS 0.145 px)记为 SDK 的 1080p 参考内参;理论上所有设备都应重新标定,这组只作参考。数值取自设备 flash 读回的 float32(经产线配置工具会话转来)。
改动
FISHEYE_FALLBACK_CAL_HD、FISHEYE_FALLBACK_CAL_HD_SOURCE、fisheye_fallback_cal_for(w, h)(C++ / Python)。resolve_fisheye_for(1920, 1080)槽空时退回 HD 参考(尺寸 1920x1080)。行为变化:1080p 腕部相机在完全没有标定的设备上改为用 HD 参考并告警(原先抛错);只有另一分辨率标定时仍抛错。matches_fisheye_fallback_cal(cal, w, h)按尺寸比对;matches_reference与写入告警改用它。HD 参考就是 0116m 自己的标定,那台按构造会匹配(告警写明)。单参数形式不变。[Unreleased]。验证
ResolveForAnEmptySlotFallsBackToTheReference、NoCalibrationAnywhereFallsBackToTheReference按新行为改写;新增TheHdReferenceIsMatchedBySize、AnHdSlotHoldingTheHdReferenceIsFlagged);pytest 176 passed / 2 skipped;ruff 通过。🤖 Generated with Claude Code