Arm 1 Log
This commit is contained in:
@@ -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 ──
|
||||
const obs = {};
|
||||
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 normalErrors = [];
|
||||
for (const [midStr, {pos: opos, nor: oNor}] of Object.entries(obs)) {
|
||||
|
||||
Reference in New Issue
Block a user