From 6351591a740e0da029f89e0195559c5838c98ae8 Mon Sep 17 00:00:00 2001 From: chk <79915315+ChKendel@users.noreply.github.com> Date: Sat, 30 May 2026 08:33:51 +0200 Subject: [PATCH] file struktur --- data/simulated/test.txt | 1 - data/simulation/Set6/test.txt | 0 .../precheck/check_constraints.py | 2 +- .../precheck/json_to_urdf.py | 2 +- pipeline/precheck/robot.urdf | 179 ++++++++++++++++++ 5 files changed, 181 insertions(+), 3 deletions(-) delete mode 100644 data/simulated/test.txt create mode 100644 data/simulation/Set6/test.txt rename check_constraints.py => pipeline/precheck/check_constraints.py (98%) rename json_to_urdf.py => pipeline/precheck/json_to_urdf.py (99%) create mode 100644 pipeline/precheck/robot.urdf diff --git a/data/simulated/test.txt b/data/simulated/test.txt deleted file mode 100644 index 0519ecb..0000000 --- a/data/simulated/test.txt +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/data/simulation/Set6/test.txt b/data/simulation/Set6/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/check_constraints.py b/pipeline/precheck/check_constraints.py similarity index 98% rename from check_constraints.py rename to pipeline/precheck/check_constraints.py index 7cb049c..4496cd1 100644 --- a/check_constraints.py +++ b/pipeline/precheck/check_constraints.py @@ -2,7 +2,7 @@ import json import math # Load robot.json -with open(r'robot.json') as f: +with open(r'../../data/robot/robot.json') as f: robot = json.load(f) # Extract markers by link diff --git a/json_to_urdf.py b/pipeline/precheck/json_to_urdf.py similarity index 99% rename from json_to_urdf.py rename to pipeline/precheck/json_to_urdf.py index 77ffe4c..75ee61d 100644 --- a/json_to_urdf.py +++ b/pipeline/precheck/json_to_urdf.py @@ -9,7 +9,7 @@ from xml.dom import minidom # CONFIG # ============================================================ -ROBOT_JSON = "robot.json" +ROBOT_JSON = "../../data/robot/robot.json" OUTPUT_URDF = "robot.urdf" # ============================================================ diff --git a/pipeline/precheck/robot.urdf b/pipeline/precheck/robot.urdf new file mode 100644 index 0000000..42e4a5a --- /dev/null +++ b/pipeline/precheck/robot.urdf @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +