ChangeAngles zweites Gelenk

Arbeiten am zweiten Gelenk
This commit is contained in:
chk
2026-05-14 20:30:09 +02:00
parent 3fa1f76413
commit 58837c646a
4 changed files with 46 additions and 10 deletions

View File

@@ -30,6 +30,9 @@ describe("calculate() row223 Ellbow-Rotation Tests", () => {
const result = await calculate(foundMarkers, jsonRobot);
expect(jsonRobot.recognized.y).toBeDefined();
expect(jsonRobot.Joints["jointD"].origin).toBeDefined();
expect(jsonRobot.Joints["jointD"].origin[0]).toBeDefined();
expect(result.status).toBe('ok');
expect(result.result).toBeDefined();
});

View File

@@ -23,9 +23,7 @@ describe("calculate() row223 Ellbow-Rotation Tests", () => {
test('berechnet X-Durchschnitt für Base / Arm1 / Joint1', async () => {
//const markersPath1 = path.resolve('./test/snapshots/snapshot_video0_1777958128576_two_cam.json');
const markersPath1 = path.resolve('./test/snapshots/snapshot_video0_1778406635059_two_cam.json');
//const markersPath2 = path.resolve('./test/snapshots/snapshot_video0_1777957783463_two_cam.json');
const markersPath2 = path.resolve('./test/snapshots/snapshot_video0_1778406621349_two_cam.json');
const markersPath3 = path.resolve('./test/snapshots/snapshot_video0_1778407153025_two_cam.json');
const markersPath4 = path.resolve('./test/snapshots/snapshot_video0_1778407171886_two_cam.json');