Update scripts/repair_industrial_urdfs.py for tars-fleet rename and repair report
Browse files
scripts/repair_industrial_urdfs.py
CHANGED
|
@@ -5,7 +5,7 @@ Reproducible zero-stub repair & packaging script for the TARS industrial URDF fl
|
|
| 5 |
Reads raw ROS/manufacturer URDFs + meshes from `tars-rs/target/bench/industrial/`,
|
| 6 |
patches missing/stubbed link masses, inertia tensors, joint effort/velocity limits,
|
| 7 |
copies referenced meshes cleanly, and emits `spec.json` with datasheet provenance
|
| 8 |
-
into `tars-
|
| 9 |
"""
|
| 10 |
|
| 11 |
import argparse
|
|
@@ -17,7 +17,7 @@ import xml.etree.ElementTree as ET
|
|
| 17 |
from pathlib import Path
|
| 18 |
|
| 19 |
DEFAULT_SRC = Path("C:/projects/projects.rust.cg/cglibs/tars-rs/target/bench/industrial")
|
| 20 |
-
DEFAULT_DST = Path("C:/projects/projects.rust.cg/cglibs/tars-
|
| 21 |
|
| 22 |
# Standard virtual/frame-only link names that do not carry physical mass.
|
| 23 |
VIRTUAL_LINKS = {
|
|
|
|
| 5 |
Reads raw ROS/manufacturer URDFs + meshes from `tars-rs/target/bench/industrial/`,
|
| 6 |
patches missing/stubbed link masses, inertia tensors, joint effort/velocity limits,
|
| 7 |
copies referenced meshes cleanly, and emits `spec.json` with datasheet provenance
|
| 8 |
+
into `tars-fleet/industrial/<robot>/`.
|
| 9 |
"""
|
| 10 |
|
| 11 |
import argparse
|
|
|
|
| 17 |
from pathlib import Path
|
| 18 |
|
| 19 |
DEFAULT_SRC = Path("C:/projects/projects.rust.cg/cglibs/tars-rs/target/bench/industrial")
|
| 20 |
+
DEFAULT_DST = Path("C:/projects/projects.rust.cg/cglibs/tars-fleet/industrial")
|
| 21 |
|
| 22 |
# Standard virtual/frame-only link names that do not carry physical mass.
|
| 23 |
VIRTUAL_LINKS = {
|