kthulhu commited on
Commit
e44e04e
·
verified ·
1 Parent(s): f4ed0b9

Update README.md for tars-fleet rename and repair report

Browse files
Files changed (1) hide show
  1. README.md +51 -5
README.md CHANGED
@@ -11,25 +11,71 @@ tags:
11
  - tars-rs
12
  ---
13
 
14
- # TARS Robotics Fleet Dataset
15
 
16
- Curated, simulation-ready robot descriptions (**148 models**, **2,169 files**, **1.23 GiB / 1.32 GB**) with verified physical masses, inertia tensors, actuator effort/velocity limits, and per-robot provenance for [tars-rs](https://github.com/joss13/tars-rs) and `gracefold-show`.
 
 
 
17
 
18
  ## Subsets
19
 
20
  | Subset | Models | Files | Size | Description |
21
  |---|---:|---:|---:|---|
22
- | `industrial/` | 22 | 374 | 119.68 MiB (125.49 MB) | ABB, FANUC, KUKA, Yaskawa Motoman, Stäubli, and Universal Robots URDFs repaired via `scripts/repair_industrial_urdfs.py` (0 zero-effort / 0 zero-mass physical links, top-level `<material>` definitions, `spec.json` provenance + `UrdfDriveGains`). |
23
  | `menagerie/` | 26 | 1,066 | 654.63 MiB (686.43 MB) | 24 validated MuJoCo Menagerie models + `franka_fr3_duo` & `fanuc_crx5ia` (preserving XMLs, `assets/`, and upstream `LICENSE` files). |
24
  | `fun/` | 7 | 7 | 50.21 KiB (51,417 B) | Bipeds, ballbots, wheeled biped, and drone from `tars-rs/examples/fun` (`agility_cassie`, `bb8_ballbot`, `bdx_droid`, `bdx_droid_filtered`, `r2d2`, `skydio_x2_drone`, `upkie_wheeled_biped`). |
25
  | `usd/` | 32 | 32 | 118.85 MiB (124.62 MB) | Pre-baked binary OpenUSD (`.usdc`) scene assets from `gracefold-show-rs/crates/scene-usd/assets/`. |
26
  | `example_robot_data/` | 61 | 690 | 362.06 MiB (379.65 MB) | `example-robot-data` URDFs repaired via `scripts/repair_example_robot_data.py` (self-contained `meshes/`, SPD inertias + moving/root `<inertial>` synthesis, top-level `<material>` defs; **61/61 PASS** in `tars-rs`). |
27
  | **Total** | **148** | **2,169** | **1.23 GiB** | Indexed in `manifest.json` with per-model entrypoints, sizes, file counts, joint/equality features, and licenses. |
28
 
29
- ## Provenance & Reproduction
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  To regenerate `industrial/` from raw ROS URDFs:
32
  ```bash
33
  python scripts/repair_industrial_urdfs.py
34
  ```
35
- Each `industrial/<robot>/` folder contains its self-contained `.urdf`, `meshes/`, and `spec.json` with datasheet provenance, `DS`/`EST`/`URDF` torque tags, and recommended `UrdfDriveGains` (`rev_kp`, `rev_kd`, `pri_kp`, `pri_kd`) for `< 0.01 rad` static gravity sag with critical damping.
 
 
 
 
 
 
 
11
  - tars-rs
12
  ---
13
 
14
+ # TARS Fleet Dataset
15
 
16
+ Curated, simulation-ready robot descriptions (**148 models**, **2,169 files**, **1.23 GiB / 1.32 GB**) with verified physical masses, SPD inertia tensors, datasheet-backed actuator effort/velocity limits, and per-robot provenance for [tars-rs](https://github.com/ssoj13/tars-rs) and `gracefold-show`.
17
+
18
+ - **GitHub (private, Git LFS)**: `ssoj13/tars-fleet`
19
+ - **HuggingFace**: [`kthulhu/tars-fleet`](https://huggingface.co/datasets/kthulhu/tars-fleet)
20
 
21
  ## Subsets
22
 
23
  | Subset | Models | Files | Size | Description |
24
  |---|---:|---:|---:|---|
25
+ | `industrial/` | 22 | 374 | 119.68 MiB (125.49 MB) | ABB, FANUC, KUKA, Yaskawa Motoman, Stäubli, and Universal Robots URDFs repaired via `scripts/repair_industrial_urdfs.py` (0 zero-effort / 0 zero-mass physical links, top-level `<material>` definitions, `spec.json` provenance + `urdf_drive_gains`). |
26
  | `menagerie/` | 26 | 1,066 | 654.63 MiB (686.43 MB) | 24 validated MuJoCo Menagerie models + `franka_fr3_duo` & `fanuc_crx5ia` (preserving XMLs, `assets/`, and upstream `LICENSE` files). |
27
  | `fun/` | 7 | 7 | 50.21 KiB (51,417 B) | Bipeds, ballbots, wheeled biped, and drone from `tars-rs/examples/fun` (`agility_cassie`, `bb8_ballbot`, `bdx_droid`, `bdx_droid_filtered`, `r2d2`, `skydio_x2_drone`, `upkie_wheeled_biped`). |
28
  | `usd/` | 32 | 32 | 118.85 MiB (124.62 MB) | Pre-baked binary OpenUSD (`.usdc`) scene assets from `gracefold-show-rs/crates/scene-usd/assets/`. |
29
  | `example_robot_data/` | 61 | 690 | 362.06 MiB (379.65 MB) | `example-robot-data` URDFs repaired via `scripts/repair_example_robot_data.py` (self-contained `meshes/`, SPD inertias + moving/root `<inertial>` synthesis, top-level `<material>` defs; **61/61 PASS** in `tars-rs`). |
30
  | **Total** | **148** | **2,169** | **1.23 GiB** | Indexed in `manifest.json` with per-model entrypoints, sizes, file counts, joint/equality features, and licenses. |
31
 
32
+ ---
33
+
34
+ ## Upstream Issues Found & Repairs Applied
35
+
36
+ Raw ROS, manufacturer, and `example-robot-data` URDFs frequently fail or behave unphysically in rigid-body simulators. Below is the complete ledger of issues discovered and repairs applied across the dataset and its baked USD assets.
37
+
38
+ ### 1. Industrial URDFs (`industrial/`, 22 robots — `scripts/repair_industrial_urdfs.py`)
39
+
40
+ - **Missing or zero-mass physical links**: Many upstream ROS URDFs omitted `<inertial>` blocks or used placeholder `mass="0"` / unit masses on physical links.
41
+ - *Fix*: Physical links (excluding virtual/frame-only links such as `base`, `flange`, `tool0`, etc.) are either rescaled proportionally (`rescale_existing_inertial`) to match the manufacturer datasheet `mass_kg` (`verified_urdf_mass_kg == mass_kg`) or assigned synthesized 7-link mass fractions and diagonal inertia tensors scaled by `reach_m` (`set_inertial`).
42
+ - **Zero or missing joint effort/velocity limits (gravity collapse)**: Several KUKA (`kr6r900sixx`, `kr16_2`, `kr120r2500pro`, `kr210l150`), Universal Robots (`ur16e`, `ur20`, `ur30`), Stäubli (`tx2_60`, `tx90`, `rx160`), ABB, FANUC, and Motoman URDFs shipped with `effort="0"` or missing `<limit>` values, causing manipulators to drop immediately under gravity when actuated.
43
+ - *Fix*: Populated per-joint `torques_nm` and `speeds_rad_s` from manufacturer product specifications (tagged per axis in `spec.json` as `DS` = datasheet, `EST` = engineering estimate, or `URDF` = upstream). Computed `urdf_drive_gains` (`rev_kp`, `rev_kd`, `pri_kp`, `pri_kd`, `i_load_kg_m2`, `tau_grav_nm`) targeting `< 0.01 rad` static gravity sag with critical damping.
44
+ - **Overlapping passive balancer / parallel-link `<collision>` meshes**: Industrial arms with passive telescoping or parallel-link counterbalances had `<collision>` meshes that overlapped adjacent links by design, triggering self-collision blow-ups.
45
+ - *Fix*: Stripped `<collision>` geometry from passive balancer bodies (`apply_collision_repairs`) while keeping their `<visual>` and `<inertial>` properties intact.
46
+ - **Missing top-level `<material>` declarations**: Links referenced named materials without top-level `<material>` definitions.
47
+ - *Fix*: Injected a standard RGBA fallback palette (`fix_urdf_materials`) at the `<robot>` root.
48
+ - **Non-portable `package://` mesh paths**:
49
+ - *Fix*: Copied all referenced `.stl`, `.dae`, and `.obj` meshes into each robot's local `meshes/` directory and rewrote URIs to relative paths.
50
+ - **Verification**: Every `industrial/<robot>/spec.json` records `verification.zero_mass_physical_links = []` and `verification.zero_effort_joints = []`.
51
+
52
+ ### 2. `example_robot_data/` (61 robots — `scripts/repair_example_robot_data.py`)
53
+
54
+ - **Broken `package://` mesh URIs**: URDFs failed to load standalone because meshes lived in external ROS packages.
55
+ - *Fix*: Resolved `package://` URIs (`resolve_package_uri`), copied all referenced meshes into local `meshes/`, and rewrote URDF mesh paths to relative paths.
56
+ - **Non-positive masses & non-SPD inertia tensors**: Several links had zero/negative mass or inertia matrices violating positive-definiteness (Sylvester / eigenvalue check).
57
+ - *Fix*: Validated 3×3 inertia tensors via `symmetric_3x3_eigenvalues` / `is_spd_inertia`; synthesized positive-definite fallback inertias (`fallback_inertia_for_link`) and valid positive masses for moving/root physical links.
58
+ - **Missing top-level `<material>` definitions**: Added `KNOWN_MATERIAL_RGBA` definitions for unreferenced named materials.
59
+ - **Verification**: **61/61 PASS** in `tars-rs`.
60
+
61
+ ### 3. Pre-baked OpenUSD Scenes (`usd/`, 32 `.usdc` files) & Downstream Fixes
62
+
63
+ - **COLLADA `<up_axis>Z_UP</up_axis>` mesh orientation (`abb_irb4600_40_255`)**: `ABB IRB 4600-40/2.55` `.dae` meshes authored with `<up_axis>Z_UP</up_axis>` appeared rotated/exploded when `Y_UP` was assumed during mesh extraction. Fixed `.dae` up-axis normalization in `gracefold-show-rs` (`mesh_extract`) and re-baked `usd/abb_irb4600_40_255.usdc`.
64
+ - **Floating industrial `base_link`**: Industrial URDFs without an explicit world-fixed joint were spawned unanchored. Anchored `base_link` to the world frame during USD baking (`bake_tars_fleet`) and re-baked the industrial `.usdc` scenes.
65
+ - **Under-damped / under-powered arm drives**: Replaced uniform placeholder PD gains in `gracefold-show-rs` (`drives.rs` / `arms.rs`) with `spec.json`-derived `urdf_drive_gains` so heavy KUKA, UR, Stäubli, ABB, FANUC, and Motoman arms hold commanded trajectories without sagging.
66
+
67
+ ---
68
+
69
+ ## Reproduction
70
 
71
  To regenerate `industrial/` from raw ROS URDFs:
72
  ```bash
73
  python scripts/repair_industrial_urdfs.py
74
  ```
75
+
76
+ To regenerate `example_robot_data/`:
77
+ ```bash
78
+ python scripts/repair_example_robot_data.py
79
+ ```
80
+
81
+ Each `industrial/<robot>/` folder contains its self-contained `.urdf`, `meshes/`, and `spec.json` with datasheet provenance, `DS`/`EST`/`URDF` torque tags, and `urdf_drive_gains`.