Skip to content

Commit 6e535d5

Browse files
authored
Merge pull request #5 from qualisys/release/1.1.9
Release/1.1.9
2 parents f31ebb9 + 7851282 commit 6e535d5

9 files changed

+705
-64
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.exe filter=lfs diff=lfs merge=lfs -text

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Data
1+
Data
2+
/Templates/Assets/Programs/Theia-Tools/Theia-Tools.exe

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44

55
To download the latest version (not tested) of the example project to your computer, you can either:
66

7-
* [Click here](https://github.com/qualisys/paf-theia-markerless-true-hybrid-example/archive/refs/heads/main.zip) to download it as a zip file.
7+
* [Click here](https://github.com/qualisys/paf-theia-markerless-true-hybrid-example/releases/latest) to download the latest release.
88
<br>_— or —_
99
* Clone this repository to your computer.
1010

11-
To download a release version (tested), please [Click here](https://github.com/qualisys/paf-theia-markerless-true-hybrid-example/releases)
12-
1311
## Preparing QTM project
1412
There are two ways how to set up the project for QTM.
1513
1. Simple method is to unzip the zip file and open the project from QTM (File > Open Project) or by double clicking on Settings.paf in File Explorer.
16-
2. If you plan to create multiple projects based on this example, unzip the zip file to `C:\Program Files (x86)\Qualisys\Qualisys Track Manager\Packages` or to C:\Program Files\Qualisys\Qualisys Track Manager\Packages in case of using QTM 64 bit, name the folder `Theia Markerless Example` and delete Settings.qtmproj. Then go to QTM > File > New Project and create new project based on Theia Markerless Example.
14+
2. Download TheiaTools from the corresponding [release](https://github.com/qualisys/paf-theia-markerless-true-hybrid-example/releases/latest) and move the extracted contents into the `Templates/Assets/Programs/Theia-Tools/` folder in the project directory.
15+
3. If you plan to create multiple projects based on this example, unzip the zip file to `C:\Program Files (x86)\Qualisys\Qualisys Track Manager\Packages` or to C:\Program Files\Qualisys\Qualisys Track Manager\Packages in case of using QTM 64 bit, name the folder `Theia Markerless Example` and delete Settings.qtmproj. Then go to QTM > File > New Project and create new project based on Theia Markerless Example.
1716

1817
## Preparing Qualisys data for Theia3D processing
1918

Settings.paf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Project ID: Open PAF Theia Markerless Example
22
Package Information:
33
Name: Theia Markerless Example True Hybrid
4-
Version: 1.1.8
4+
Version: 1.1.9
55
Required QTM version: 2020.2.5770
66
Encoding bytes: �����
77

Binary file not shown.

Templates/Assets/Programs/Theia-Tools/third_party_licenses.txt

+645
Large diffs are not rendered by default.

Templates/append_model.mdh

+36
Original file line numberDiff line numberDiff line change
@@ -344,3 +344,39 @@ Add_Landmark
344344
! /REFERENCE_LOCATION_NAME=
345345
! /USE_REFERENCE_LOCATION=FALSE
346346
;
347+
Add_Landmark
348+
/LANDMARK_NAME=Lab_Origin
349+
! /CALIBRATION_FILE=
350+
! /USER_GENERATED=TRUE
351+
! /USE_PERCENTAGE=FALSE
352+
! /CALIBRATION_ONLY=FALSE
353+
! /USE_TARGETS=FALSE
354+
/SEGMENT_NAME=LAB
355+
! /TARGET_TYPES=
356+
! /TARGET_NAMES=
357+
! /MCS_ML=0.0
358+
! /MCS_AP=0.0
359+
! /MCS_AXIAL=0
360+
! /LANDMARK_LOCATION=
361+
! /REFERENCE_LOCATION_TYPE=
362+
! /REFERENCE_LOCATION_NAME=
363+
! /USE_REFERENCE_LOCATION=FALSE
364+
;
365+
Add_Landmark
366+
/LANDMARK_NAME=Lab_Z
367+
! /CALIBRATION_FILE=
368+
! /USER_GENERATED=TRUE
369+
! /USE_PERCENTAGE=FALSE
370+
! /CALIBRATION_ONLY=FALSE
371+
! /USE_TARGETS=FALSE
372+
/SEGMENT_NAME=LAB
373+
! /TARGET_TYPES=
374+
! /TARGET_NAMES=
375+
! /MCS_ML=0.0
376+
! /MCS_AP=0.0
377+
/MCS_AXIAL=0.1
378+
! /LANDMARK_LOCATION=
379+
! /REFERENCE_LOCATION_TYPE=
380+
! /REFERENCE_LOCATION_NAME=
381+
! /USE_REFERENCE_LOCATION=FALSE
382+
;

Templates/create_workspace.v3s

+16-4
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,31 @@ Manage_Theia3D_Merge
1515
/MERGE_THEIA3D_AND_OTHER_FILES=TRUE
1616
/THEIA3D_SESSION_FOLDER=TheiaFormatData
1717
/THEIA3D_FILE_MASK=*pose_subject.c3d
18-
! /THEIA3D_PREFIX=
19-
! /THEIA3D_SUBJECT_TAG=
18+
! /THEIA3D_PREFIX=
19+
! /THEIA3D_SUBJECT_TAG=
2020
/OTHER3D_SESSION_FOLDER=<?=$session["Filename"];?>
2121
/OTHER3D_FILE_MASK=<?echo "*Dynamic*.c3d";?>
2222
/OTHER3D_MODEL_MASK=<?echo "*Object*.c3d";?>
23-
/OTHER3D_MODEL_TEMPLATE_MASK=<?=$template_directory . "Object.mdh";?>
23+
/OTHER3D_MODEL_TEMPLATE_MASK=<?=$template_directory . "object.mdh";?>
2424
! /OTHER3D_PREFIX=
2525
! /OTHER3D_SUBJECT_TAG=
2626
! /NUMBER_OF_SESSION_FILES_ALLOWED=
2727
/SAVE_DEFAULT_CMZ_FILES=FALSE
2828
! /OPEN_CMZ_LIBRARY=FALSE
2929
/INPUT_FOLDER_STRUCTURE=QTM
30-
! /VISUAL3D_PIPELINE=
30+
! /VISUAL3D_PIPELINE=
31+
;
32+
33+
Append_Model_Template
34+
/CALIBRATION_FILE=*Object*.c3d
35+
/MODEL_TEMPLATE=<?=$template_directory . "object.mdh";?>
36+
! /VIEW_BUILDMODEL_RESULTS=2
37+
;
38+
39+
Build_Model
40+
!/CALIBRATION_FILE=
41+
/REBUILD_ALL_MODELS=TRUE
42+
! /DISPLAY_RESULTS=TRUE
3143
;
3244

3345
<?

Templates/markerless_model_calculations.v3s

+1-54
Original file line numberDiff line numberDiff line change
@@ -129,60 +129,7 @@ Append_Model_Template
129129
Set_Segment_Auto_Assign_Force
130130
! /CALIBRATION_FILE=
131131
/SEGMENT_NAMES=RTO+LTO+RFT+LFT
132-
/USE_FOR_AUTO_ASSIGN=FALSE+FALSE+TRUE+TRUE
133-
;
134-
135-
!Make LTO amd RTO segment kinematic only
136-
Set_Segment_Properties
137-
/CALIBRATION_FILE=*_static.c3d
138-
/SEGMENT_NAME=LTO
139-
/KINEMATIC_ONLY=TRUE
140-
! /MASS=
141-
! /CG_FROM_PROX_AXIAL=
142-
! /CG_FROM_PROX_ML=
143-
! /CG_FROM_PROX_AP=
144-
! /INERTIA_XX=
145-
! /INERTIA_YY=
146-
! /INERTIA_ZZ=
147-
! /AP_DIRECTION=
148-
! /AXIAL_DIRECTION=
149-
! /MODEL_FILE=
150-
! /MATERIAL_FILE=
151-
! /GRAPHICS_ROT_X=
152-
! /GRAPHICS_ROT_Y=
153-
! /GRAPHICS_ROT_Z=
154-
! /GRAPHICS_SCALE_X=
155-
! /GRAPHICS_SCALE_Y=
156-
! /GRAPHICS_SCALE_Z=
157-
! /GRAPHICS_TRANSLATE_X=
158-
! /GRAPHICS_TRANSLATE_Y=
159-
! /GRAPHICS_TRANSLATE_Z=
160-
;
161-
162-
Set_Segment_Properties
163-
/CALIBRATION_FILE=*_static.c3d
164-
/SEGMENT_NAME=RTO
165-
/KINEMATIC_ONLY=TRUE
166-
! /MASS=
167-
! /CG_FROM_PROX_AXIAL=
168-
! /CG_FROM_PROX_ML=
169-
! /CG_FROM_PROX_AP=
170-
! /INERTIA_XX=
171-
! /INERTIA_YY=
172-
! /INERTIA_ZZ=
173-
! /AP_DIRECTION=
174-
! /AXIAL_DIRECTION=
175-
! /MODEL_FILE=
176-
! /MATERIAL_FILE=
177-
! /GRAPHICS_ROT_X=
178-
! /GRAPHICS_ROT_Y=
179-
! /GRAPHICS_ROT_Z=
180-
! /GRAPHICS_SCALE_X=
181-
! /GRAPHICS_SCALE_Y=
182-
! /GRAPHICS_SCALE_Z=
183-
! /GRAPHICS_TRANSLATE_X=
184-
! /GRAPHICS_TRANSLATE_Y=
185-
! /GRAPHICS_TRANSLATE_Z=
132+
/USE_FOR_AUTO_ASSIGN=TRUE+TRUE+FALSE+FALSE
186133
;
187134

188135
Set_Segment_Properties

0 commit comments

Comments
 (0)