Callibration Mathe
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
title="Erst Homing ausführen">
|
||||
✅ An Roboter senden
|
||||
</button>
|
||||
<span id="homing-status" class="status-badge open">○ Warte</span>
|
||||
<span id="homing-status" class="status-badge idle">○ Warte</span>
|
||||
</div>
|
||||
|
||||
<!-- Fortschrittsbalken -->
|
||||
|
||||
@@ -237,8 +237,9 @@ textarea {
|
||||
background: #1e293b;
|
||||
color: #94a3b8;
|
||||
}
|
||||
.status-badge.idle { color: #60a5fa; }
|
||||
.status-badge.wip { color: #93c5fd; }
|
||||
.status-badge.open { color: #f59e0b; }
|
||||
.status-badge.wip { color: #60a5fa; }
|
||||
.status-badge.done { color: #34d399; background: #064e3b; }
|
||||
|
||||
/* ===== HOMING FORTSCHRITTSBALKEN ===== */
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
const n = cross.map(c => c / crossLen);
|
||||
|
||||
// Baryzentrische Gewichte → Umkreismittelpunkt (doc/04_y_achse.md)
|
||||
// Baryzentrische Gewichte → Umkreismittelpunkt (doc/Kalibrierung.md → [4] Arm1, Verfahren B)
|
||||
const a2 = dist2(P2, P3), b2 = dist2(P1, P3), c2 = dist2(P1, P2);
|
||||
const w1 = a2 * (b2 + c2 - a2);
|
||||
const w2 = b2 * (a2 + c2 - b2);
|
||||
|
||||
Reference in New Issue
Block a user