Merge branch 'main' of http://thinkcentre.local:3000/ChK/appRobotHoming
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {1}Info}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2}Angles}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Bizeps {\bf \tt y}}{2}{}\protected@file@percent }
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Video Capture with recognized Aruco markers}}{2}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Ellbow -- Rotation}{3}{}\protected@file@percent }
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Front view and sideview of the forearm with calculation variables.}}{3}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Forearm}{3}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.4}Hand}{4}{}\protected@file@percent }
|
||||
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces \small Hand with points to calculate the values for {\tt b, c, e}.}}{4}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {paragraph}{Limitations with the Hand:}{4}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {3}Program}{4}{}\protected@file@percent }
|
||||
\gdef \@abspage@last{4}
|
||||
@@ -1,292 +0,0 @@
|
||||
This is pdfTeX, Version 3.141592653-2.6-1.40.27 (MiKTeX 25.4) (preloaded format=pdflatex 2025.6.3) 29 APR 2026 15:02
|
||||
entering extended mode
|
||||
restricted \write18 enabled.
|
||||
%&-line parsing enabled.
|
||||
**./position.tex
|
||||
(position.tex
|
||||
LaTeX2e <2024-11-01> patch level 2
|
||||
L3 programming layer <2025-04-29>
|
||||
(C:\Program Files\MiKTeX\tex/latex/base\article.cls
|
||||
Document Class: article 2024/06/29 v1.4n Standard LaTeX document class
|
||||
(C:\Program Files\MiKTeX\tex/latex/base\size11.clo
|
||||
File: size11.clo 2024/06/29 v1.4n Standard LaTeX file (size option)
|
||||
)
|
||||
\c@part=\count272
|
||||
\c@section=\count273
|
||||
\c@subsection=\count274
|
||||
\c@subsubsection=\count275
|
||||
\c@paragraph=\count276
|
||||
\c@subparagraph=\count277
|
||||
\c@figure=\count278
|
||||
\c@table=\count279
|
||||
\abovecaptionskip=\skip49
|
||||
\belowcaptionskip=\skip50
|
||||
\bibindent=\dimen146
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/base\inputenc.sty
|
||||
Package: inputenc 2024/02/08 v1.3d Input encoding file
|
||||
\inpenc@prehook=\toks17
|
||||
\inpenc@posthook=\toks18
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/base\fontenc.sty
|
||||
Package: fontenc 2021/04/29 v2.0v Standard LaTeX package
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty
|
||||
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty
|
||||
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
|
||||
\KV@toks@=\toks19
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty
|
||||
Package: graphics 2024/08/06 v1.4g Standard LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty
|
||||
Package: trig 2023/12/02 v1.11 sin cos tan (DPC)
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg
|
||||
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
|
||||
)
|
||||
Package graphics Info: Driver file: pdftex.def on input line 106.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/graphics-def\pdftex.def
|
||||
File: pdftex.def 2024/04/13 v1.2c Graphics/color driver for pdftex
|
||||
))
|
||||
\Gin@req@height=\dimen147
|
||||
\Gin@req@width=\dimen148
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\lmodern.sty
|
||||
Package: lmodern 2015/05/01 v1.6.1 Latin Modern Fonts
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
|
||||
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
|
||||
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
|
||||
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 23.
|
||||
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
|
||||
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
|
||||
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
|
||||
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
|
||||
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
|
||||
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
|
||||
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 27.
|
||||
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
|
||||
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
|
||||
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
|
||||
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
|
||||
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
|
||||
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
|
||||
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
|
||||
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
|
||||
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
|
||||
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
|
||||
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
|
||||
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
|
||||
)
|
||||
LaTeX Font Info: Trying to load font information for T1+lmr on input line 20
|
||||
.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\t1lmr.fd
|
||||
File: t1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
(C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-pdftex.def
|
||||
File: l3backend-pdftex.def 2025-04-14 L3 backend support: PDF output (pdfTeX)
|
||||
\l__color_backend_stack_int=\count280
|
||||
)
|
||||
(position.aux)
|
||||
\openout1 = `position.aux'.
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 20.
|
||||
LaTeX Font Info: ... okay on input line 20.
|
||||
(C:\Program Files\MiKTeX\tex/context/base/mkii\supp-pdf.mkii
|
||||
[Loading MPS to PDF converter (version 2006.09.02).]
|
||||
\scratchcounter=\count281
|
||||
\scratchdimen=\dimen149
|
||||
\scratchbox=\box53
|
||||
\nofMPsegments=\count282
|
||||
\nofMParguments=\count283
|
||||
\everyMPshowfont=\toks20
|
||||
\MPscratchCnt=\count284
|
||||
\MPscratchDim=\dimen150
|
||||
\MPnumerator=\count285
|
||||
\makeMPintoPDFobject=\count286
|
||||
\everyMPtoPDFconversion=\toks21
|
||||
) (C:\Program Files\MiKTeX\tex/latex/epstopdf-pkg\epstopdf-base.sty
|
||||
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
|
||||
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
|
||||
85.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/00miktex\epstopdf-sys.cfg
|
||||
File: epstopdf-sys.cfg 2021/03/18 v2.0 Configuration of epstopdf for MiKTeX
|
||||
))
|
||||
LaTeX Font Info: Trying to load font information for OT1+lmr on input line 2
|
||||
2.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\ot1lmr.fd
|
||||
File: ot1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
LaTeX Font Info: Trying to load font information for OML+lmm on input line 2
|
||||
2.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\omllmm.fd
|
||||
File: omllmm.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
LaTeX Font Info: Trying to load font information for OMS+lmsy on input line
|
||||
22.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\omslmsy.fd
|
||||
File: omslmsy.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
LaTeX Font Info: Trying to load font information for OMX+lmex on input line
|
||||
22.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\omxlmex.fd
|
||||
File: omxlmex.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
LaTeX Font Info: External font `lmex10' loaded for size
|
||||
(Font) <12> on input line 22.
|
||||
LaTeX Font Info: External font `lmex10' loaded for size
|
||||
(Font) <8> on input line 22.
|
||||
LaTeX Font Info: External font `lmex10' loaded for size
|
||||
(Font) <6> on input line 22.
|
||||
LaTeX Font Info: External font `lmex10' loaded for size
|
||||
(Font) <10.95> on input line 37.
|
||||
|
||||
|
||||
[1
|
||||
|
||||
{C:/Users/kech/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map}{C:/Program Fil
|
||||
es/MiKTeX/fonts/enc/dvips/lm/lm-ec.enc}]
|
||||
LaTeX Font Info: Trying to load font information for T1+lmtt on input line 4
|
||||
6.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\t1lmtt.fd
|
||||
File: t1lmtt.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
<pic/robot_image_a.png, id=9, 885.3075pt x 402.75468pt>
|
||||
File: pic/robot_image_a.png Graphic file (type png)
|
||||
<use pic/robot_image_a.png>
|
||||
Package pdftex.def Info: pic/robot_image_a.png used on input line 56.
|
||||
(pdftex.def) Requested size: 360.0pt x 163.77846pt.
|
||||
LaTeX Font Info: Trying to load font information for TS1+lmr on input line 7
|
||||
1.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\ts1lmr.fd
|
||||
File: ts1lmr.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
Underfull \hbox (badness 2293) in paragraph at lines 72--74
|
||||
\T1/lmr/m/n/10.95 (each po-si-tion on its
|
||||
[]
|
||||
|
||||
<pic/robot_sideView_measurements.pdf, id=11, 595.22375pt x 429.605pt>
|
||||
File: pic/robot_sideView_measurements.pdf Graphic file (type pdf)
|
||||
<use pic/robot_sideView_measurements.pdf>
|
||||
Package pdftex.def Info: pic/robot_sideView_measurements.pdf used on input lin
|
||||
e 79.
|
||||
(pdftex.def) Requested size: 216.0022pt x 155.8966pt.
|
||||
|
||||
|
||||
[2{C:/Program Files/MiKTeX/fonts/enc/dvips/lm/lm-mathit.enc}{C:/Program Files/M
|
||||
iKTeX/fonts/enc/dvips/lm/lm-rm.enc}{C:/Program Files/MiKTeX/fonts/enc/dvips/lm/
|
||||
lm-mathsy.enc}{C:/Program Files/MiKTeX/fonts/enc/dvips/lm/lm-ts1.enc} <./pic/ro
|
||||
bot_image_a.png> <./pic/robot_sideView_measurements.pdf>]
|
||||
LaTeX Font Info: Trying to load font information for OT1+lmtt on input line
|
||||
103.
|
||||
|
||||
(C:\Program Files\MiKTeX\tex/latex/lm\ot1lmtt.fd
|
||||
File: ot1lmtt.fd 2015/05/01 v1.6.1 Font defs for Latin Modern
|
||||
)
|
||||
<pic/robot_frontView_forearm.pdf, id=1406, 249.93375pt x 203.76125pt>
|
||||
File: pic/robot_frontView_forearm.pdf Graphic file (type pdf)
|
||||
<use pic/robot_frontView_forearm.pdf>
|
||||
Package pdftex.def Info: pic/robot_frontView_forearm.pdf used on input line 11
|
||||
4.
|
||||
(pdftex.def) Requested size: 132.4757pt x 108.0011pt.
|
||||
<pic/robot_sideView_forearm.pdf, id=1407, 492.84125pt x 216.81pt>
|
||||
File: pic/robot_sideView_forearm.pdf Graphic file (type pdf)
|
||||
<use pic/robot_sideView_forearm.pdf>
|
||||
Package pdftex.def Info: pic/robot_sideView_forearm.pdf used on input line 115
|
||||
.
|
||||
(pdftex.def) Requested size: 245.50255pt x 108.0011pt.
|
||||
|
||||
Overfull \hbox (27.11282pt too wide) in paragraph at lines 113--116
|
||||
[]| [] []
|
||||
[]
|
||||
|
||||
LaTeX Font Info: External font `lmex10' loaded for size
|
||||
(Font) <9> on input line 148.
|
||||
LaTeX Font Info: External font `lmex10' loaded for size
|
||||
(Font) <5> on input line 148.
|
||||
|
||||
|
||||
[3{C:/Program Files/MiKTeX/fonts/enc/dvips/lm/lm-rmtt.enc} <./pic/robot_frontVi
|
||||
ew_forearm.pdf> <./pic/robot_sideView_forearm.pdf
|
||||
|
||||
pdfTeX warning: miktex-pdftex.exe (file ./pic/robot_sideView_forearm.pdf): PDF
|
||||
inclusion: multiple pdfs with page group included in a single page
|
||||
>]
|
||||
<pic/robot_hand_sideView.pdf, id=2048, 459.7175pt x 317.185pt>
|
||||
File: pic/robot_hand_sideView.pdf Graphic file (type pdf)
|
||||
<use pic/robot_hand_sideView.pdf>
|
||||
Package pdftex.def Info: pic/robot_hand_sideView.pdf used on input line 155.
|
||||
(pdftex.def) Requested size: 156.53336pt x 108.0011pt.
|
||||
<pic/robot_hand_topView.pdf, id=2049, 337.26pt x 284.06125pt>
|
||||
File: pic/robot_hand_topView.pdf Graphic file (type pdf)
|
||||
<use pic/robot_hand_topView.pdf>
|
||||
Package pdftex.def Info: pic/robot_hand_topView.pdf used on input line 157.
|
||||
(pdftex.def) Requested size: 111.12631pt x 93.59802pt.
|
||||
|
||||
|
||||
[4 <./pic/robot_hand_sideView.pdf> <./pic/robot_hand_topView.pdf
|
||||
|
||||
pdfTeX warning: miktex-pdftex.exe (file ./pic/robot_hand_topView.pdf): PDF incl
|
||||
usion: multiple pdfs with page group included in a single page
|
||||
>] (position.aux)
|
||||
***********
|
||||
LaTeX2e <2024-11-01> patch level 2
|
||||
L3 programming layer <2025-04-29>
|
||||
***********
|
||||
)
|
||||
Here is how much of TeX's memory you used:
|
||||
1877 strings out of 469923
|
||||
30745 string characters out of 5479241
|
||||
432319 words of memory out of 5000000
|
||||
28679 multiletter control sequences out of 15000+600000
|
||||
685554 words of font info for 81 fonts, out of 8000000 for 9000
|
||||
1141 hyphenation exceptions out of 8191
|
||||
57i,8n,65p,227b,261s stack positions out of 10000i,1000n,20000p,200000b,200000s
|
||||
<C:/Program Files/MiKTeX/fonts/type1/public/lm/lmbx10.pfb><C:/Program Files/M
|
||||
iKTeX/fonts/type1/public/lm/lmbx12.pfb><C:/Program Files/MiKTeX/fonts/type1/pub
|
||||
lic/lm/lmmi10.pfb><C:/Program Files/MiKTeX/fonts/type1/public/lm/lmmi8.pfb><C:/
|
||||
Program Files/MiKTeX/fonts/type1/public/lm/lmr10.pfb><C:/Program Files/MiKTeX/f
|
||||
onts/type1/public/lm/lmr12.pfb><C:/Program Files/MiKTeX/fonts/type1/public/lm/l
|
||||
mr17.pfb><C:/Program Files/MiKTeX/fonts/type1/public/lm/lmr6.pfb><C:/Program Fi
|
||||
les/MiKTeX/fonts/type1/public/lm/lmr8.pfb><C:/Program Files/MiKTeX/fonts/type1/
|
||||
public/lm/lmr9.pfb><C:/Program Files/MiKTeX/fonts/type1/public/lm/lmsy10.pfb><C
|
||||
:/Program Files/MiKTeX/fonts/type1/public/lm/lmtt10.pfb><C:/Program Files/MiKTe
|
||||
X/fonts/type1/public/lm/lmtt12.pfb>
|
||||
Output written on position.pdf (4 pages, 1766750 bytes).
|
||||
PDF statistics:
|
||||
3090 PDF objects out of 3580 (max. 8388607)
|
||||
0 named destinations out of 1000 (max. 500000)
|
||||
31 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||
|
||||
Binary file not shown.
@@ -89,7 +89,8 @@ describe("calculate() Snapshot Tests", () => {
|
||||
|
||||
var valueDeg = result.features["forearm.angleZ"].valueDeg
|
||||
|
||||
//expect(valueDeg).toBeCloseTo(0, 10); // Erwartet ca. -137.28° mit 1 Dezimalstelle Genauigkeit
|
||||
// expect(valueDeg).toBeCloseTo(7.4595, 1); // Erwartet ca. -137.28° mit 1 Dezimalstelle Genauigkeit
|
||||
|
||||
//expect(logValue).toMatch(/Starte Berechnung/);
|
||||
//expect(logValue).toMatch(/CSV-Daten geladen/);
|
||||
});
|
||||
|
||||
53
test/calculateAction.03_EasyCSV.test.js
Normal file
53
test/calculateAction.03_EasyCSV.test.js
Normal file
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
describe("calculate() Snapshot Tests", () => {
|
||||
|
||||
let calculate;
|
||||
let snapshotFile;
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
// Standard: irgendeine Datei setzen, falls Test nichts setzt
|
||||
snapshotFile = "snapshot_default.csv";
|
||||
|
||||
// DOM erzeugen
|
||||
document.body.innerHTML = `
|
||||
<textarea id="analysis-log"></textarea>
|
||||
`;
|
||||
|
||||
// Fetch dynamisch mocken
|
||||
global.fetch = jest.fn(async () => {
|
||||
|
||||
const csvPath = path.join(__dirname, "snapshots", snapshotFile);
|
||||
const csvContent = fs.readFileSync(csvPath, "utf8");
|
||||
|
||||
return {
|
||||
ok: true,
|
||||
headers: { get: () => "text/csv" },
|
||||
text: async () => csvContent
|
||||
};
|
||||
});
|
||||
|
||||
// Modul erst JETZT laden (DOM existiert)
|
||||
({ calculate } = require("../public/calculateActions.js"));
|
||||
});
|
||||
|
||||
// ✅ Beispiel 1: Die Datei aus deiner Frage
|
||||
test("Snapshot 1775406055428 wird korrekt geladen", async () => {
|
||||
|
||||
snapshotFile = "snapshot_video0_1775406055428_two_cam.csv";
|
||||
|
||||
var result = await calculate();
|
||||
|
||||
expect(global.fetch).toHaveBeenCalledWith("/api/latest-snapshot");
|
||||
|
||||
//console.log("Berechnungsergebnis:", result.features["forearm.angleZ"].valueDeg);
|
||||
const r = result.features["forearm.angleZ"].valueDeg
|
||||
expect(r).toBeCloseTo(131.3436, 1);
|
||||
});
|
||||
});
|
||||
BIN
test/snapshots/snapshot_video0_1775406055428.jpg
Normal file
BIN
test/snapshots/snapshot_video0_1775406055428.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 169 KiB |
20
test/snapshots/snapshot_video0_1775406055428_two_cam.csv
Normal file
20
test/snapshots/snapshot_video0_1775406055428_two_cam.csv
Normal file
@@ -0,0 +1,20 @@
|
||||
id,x_mm,y_mm,z_mm,roll_deg,pitch_deg,yaw_deg,seen_by
|
||||
camera 0,20.57,-610.52,589.07,-122.982,0.983,-21.216
|
||||
camera 1,285.64,-323.91,1175.28,-163.532,-2.871,-2.320
|
||||
197,294.33,-107.10,42.66,24.178,87.583,-153.262,1
|
||||
198,322.36,-51.62,105.51,-4.006,2.569,0.264,3
|
||||
200,253.83,-32.23,119.85,1.613,0.280,1.853,3
|
||||
201,229.66,88.35,77.42,54.528,62.860,30.165,1
|
||||
204,255.24,119.60,126.69,0.415,2.861,0.328,3
|
||||
205,853.43,-61.26,-149.90,20.853,-37.717,-9.272,2
|
||||
207,847.45,33.87,-129.33,1.040,-7.604,-2.451,2
|
||||
208,506.94,-73.83,-90.70,22.575,-11.879,-0.931,2
|
||||
210,-2.98,-0.29,-1.22,-1.583,0.163,0.432,3
|
||||
211,199.83,-0.12,-0.03,0.528,1.427,-0.276,3
|
||||
215,199.72,-90.28,-0.47,-0.349,-0.487,-0.415,3
|
||||
217,593.42,4.85,-8.36,115.523,-38.198,-61.266,3
|
||||
218,392.41,-89.81,171.69,-56.876,7.958,168.535,3
|
||||
219,397.44,-21.62,249.19,-58.657,26.538,137.623,3
|
||||
222,411.95,-166.81,94.12,-51.900,-3.795,-176.339,3
|
||||
229,324.14,-141.95,110.20,-4.029,2.223,0.193,3
|
||||
243,341.92,-141.96,39.90,89.294,1.545,1.379,1
|
||||
|
266
test/snapshots/snapshot_video0_1775406055428_two_cam.json
Normal file
266
test/snapshots/snapshot_video0_1775406055428_two_cam.json
Normal file
@@ -0,0 +1,266 @@
|
||||
{
|
||||
"metadata": {
|
||||
"timestamp": "2026-04-05 16:20:55",
|
||||
"reference_markers": [
|
||||
210,
|
||||
211,
|
||||
215
|
||||
],
|
||||
"dict": "DICT_4X4_250",
|
||||
"marker_size_mm": 25.0,
|
||||
"rms_refs_px_cam1": 3.254055063488035,
|
||||
"rms_refs_px_cam2": 2.329978520523634,
|
||||
"description": "Two-camera joint optimization with triangulation"
|
||||
},
|
||||
"cameras": [
|
||||
{
|
||||
"id": "camera1",
|
||||
"position_mm": [
|
||||
20.567992853963712,
|
||||
-610.5178800181857,
|
||||
589.0698645481658
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -122.98164282878035,
|
||||
"pitch": 0.9825995865612873,
|
||||
"yaw": -21.215599879804127
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "camera2",
|
||||
"position_mm": [
|
||||
285.63593460306214,
|
||||
-323.91360133208565,
|
||||
1175.2847066246202
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -163.5318691962207,
|
||||
"pitch": -2.8712676709036873,
|
||||
"yaw": -2.319894538293139
|
||||
}
|
||||
}
|
||||
],
|
||||
"markers": [
|
||||
{
|
||||
"id": 197,
|
||||
"position_mm": [
|
||||
294.33174809359764,
|
||||
-107.09776686381556,
|
||||
42.657521092593576
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 24.177685786502696,
|
||||
"pitch": 87.58261710989703,
|
||||
"yaw": -153.26161785260203
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 198,
|
||||
"position_mm": [
|
||||
322.35528564453125,
|
||||
-51.62440872192383,
|
||||
105.50933074951172
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -4.0056133311584,
|
||||
"pitch": 2.5694651141051086,
|
||||
"yaw": 0.2642697205016838
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 200,
|
||||
"position_mm": [
|
||||
253.8253936767578,
|
||||
-32.23002624511719,
|
||||
119.85144805908203
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 1.6127513507983577,
|
||||
"pitch": 0.28021370340515495,
|
||||
"yaw": 1.8527495496984367
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 201,
|
||||
"position_mm": [
|
||||
229.66471968685903,
|
||||
88.34733189894173,
|
||||
77.41605123374995
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 54.52810378585272,
|
||||
"pitch": 62.8599359935973,
|
||||
"yaw": 30.165344197733074
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 204,
|
||||
"position_mm": [
|
||||
255.2445831298828,
|
||||
119.60195922851562,
|
||||
126.68728637695312
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 0.4145305769690522,
|
||||
"pitch": 2.860736864204838,
|
||||
"yaw": 0.32845819664980447
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 205,
|
||||
"position_mm": [
|
||||
853.431005136878,
|
||||
-61.25721442245891,
|
||||
-149.89679670473998
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 20.852865291435734,
|
||||
"pitch": -37.71692833356208,
|
||||
"yaw": -9.272061737418596
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 207,
|
||||
"position_mm": [
|
||||
847.4521233610369,
|
||||
33.873936675138275,
|
||||
-129.32930925154884
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 1.0401371636363885,
|
||||
"pitch": -7.6044864818447975,
|
||||
"yaw": -2.450876228459906
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 208,
|
||||
"position_mm": [
|
||||
506.93763250636556,
|
||||
-73.82927207192274,
|
||||
-90.70161319207948
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 22.574697007159163,
|
||||
"pitch": -11.878815029635385,
|
||||
"yaw": -0.930861116435157
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 210,
|
||||
"position_mm": [
|
||||
-2.9841384887695312,
|
||||
-0.2894434630870819,
|
||||
-1.2217036485671997
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -1.5829030552869041,
|
||||
"pitch": 0.16287337882520173,
|
||||
"yaw": 0.4319764191460346
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 211,
|
||||
"position_mm": [
|
||||
199.83383178710938,
|
||||
-0.11946921795606613,
|
||||
-0.029889743775129318
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 0.5280528898583173,
|
||||
"pitch": 1.42715303979363,
|
||||
"yaw": -0.2762037188762131
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 215,
|
||||
"position_mm": [
|
||||
199.71726989746094,
|
||||
-90.28231048583984,
|
||||
-0.47207993268966675
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -0.34887731639439074,
|
||||
"pitch": -0.4866200044208423,
|
||||
"yaw": -0.4154891149763061
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 217,
|
||||
"position_mm": [
|
||||
593.4248657226562,
|
||||
4.84699010848999,
|
||||
-8.357927322387695
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 115.52338058003483,
|
||||
"pitch": -38.1982958889267,
|
||||
"yaw": -61.26648945435826
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 218,
|
||||
"position_mm": [
|
||||
392.41168212890625,
|
||||
-89.81021881103516,
|
||||
171.6865997314453
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -56.87609794413502,
|
||||
"pitch": 7.9576512305228695,
|
||||
"yaw": 168.53487924220425
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 219,
|
||||
"position_mm": [
|
||||
397.4364013671875,
|
||||
-21.623811721801758,
|
||||
249.1935577392578
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -58.65730680858089,
|
||||
"pitch": 26.538451116793357,
|
||||
"yaw": 137.6231555522311
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 222,
|
||||
"position_mm": [
|
||||
411.9534606933594,
|
||||
-166.8076629638672,
|
||||
94.11588287353516
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -51.89961208258986,
|
||||
"pitch": -3.794728013253899,
|
||||
"yaw": -176.3389557230221
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 229,
|
||||
"position_mm": [
|
||||
324.13897705078125,
|
||||
-141.9525909423828,
|
||||
110.19646453857422
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": -4.029478015347812,
|
||||
"pitch": 2.2227848455796204,
|
||||
"yaw": 0.19265697941371004
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 243,
|
||||
"position_mm": [
|
||||
341.92465540725135,
|
||||
-141.9580916788701,
|
||||
39.89962774242517
|
||||
],
|
||||
"orientation_deg": {
|
||||
"roll": 89.29427272560588,
|
||||
"pitch": 1.545160298154013,
|
||||
"yaw": 1.3793023005400504
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 269 KiB |
BIN
test/snapshots/snapshot_video0_1775406055428_two_cam_overlay.png
Normal file
BIN
test/snapshots/snapshot_video0_1775406055428_two_cam_overlay.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
test/snapshots/snapshot_video1_1775406055428.jpg
Normal file
BIN
test/snapshots/snapshot_video1_1775406055428.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 148 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 232 KiB |
BIN
test/snapshots/snapshot_video1_1775406055428_two_cam_overlay.png
Normal file
BIN
test/snapshots/snapshot_video1_1775406055428_two_cam_overlay.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Reference in New Issue
Block a user