Arm 1 Log

This commit is contained in:
chk
2026-06-14 19:49:08 +02:00
parent 43e5991ffa
commit 659e2845a1

View File

@@ -858,6 +858,17 @@ function rebuild() {
} }
} }
// Debug: log model marker IDs and visibility state
try {
console.log('sceneViewer:model', {
tModel: document.getElementById('tModel')?.checked,
modelIds: Object.keys(modelPositions || {}),
gModelChildren: gModel.children.length
});
} catch (e) {
console.warn('sceneViewer: failed to log model info', e);
}
// ── observed markers + normals + error lines ── // ── observed markers + normals + error lines ──
const obs = {}; const obs = {};
if (arucoData) { if (arucoData) {
@@ -875,6 +886,17 @@ function rebuild() {
} }
} }
// Debug: log observed markers and observed-toggle
try {
console.log('sceneViewer:observations', {
tObserved: document.getElementById('tObserved')?.checked,
arucoMarkers: (arucoData?.markers?.length ?? 0),
obsIds: Object.keys(obs || {})
});
} catch (e) {
console.warn('sceneViewer: failed to log observations', e);
}
const errors = []; const errors = [];
const normalErrors = []; const normalErrors = [];
for (const [midStr, {pos: opos, nor: oNor}] of Object.entries(obs)) { for (const [midStr, {pos: opos, nor: oNor}] of Object.entries(obs)) {