Marker fix
This commit is contained in:
@@ -1132,7 +1132,15 @@ async function initAll() {
|
||||
}
|
||||
|
||||
if (IS_HOMING) {
|
||||
document.getElementById('status').textContent = '→ Homing-Run starten …';
|
||||
// Robot-Modell mit Defaultposition sofort laden (kein Board-Run nötig)
|
||||
fetch('/api/robot').then(r => r.ok ? r.json() : null).then(robot => {
|
||||
if (!robot) return;
|
||||
_currentRobot = robot;
|
||||
buildSkeletonFK(robot, robot.defaultPosition ?? {});
|
||||
document.getElementById('status').textContent = '→ Homing-Run starten …';
|
||||
}).catch(() => {
|
||||
document.getElementById('status').textContent = '→ Homing-Run starten …';
|
||||
});
|
||||
} else {
|
||||
initAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user