|
Download README.md from kthulhu/tars-fleet: direct link, hf CLI and curl.
- Browser
- Download file 6.96 kB
-
https://huggingface.co/datasets/kthulhu/tars-fleet/resolve/main/README.md
- Command line
-
hf download hf://datasets/kthulhu/tars-fleet/README.md
-
curl -L -o README.md https://huggingface.co/datasets/kthulhu/tars-fleet/resolve/main/README.md
6.96 kB
| license: apache-2.0 | |
| task_categories: | |
| - robotics | |
| tags: | |
| - urdf | |
| - mjcf | |
| - mujoco | |
| - openusd | |
| - robotics-simulation | |
| - tars-rs | |
| # TARS Fleet Dataset | |
| 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`. | |
| - **GitHub (private, Git LFS)**: `ssoj13/tars-fleet` | |
| - **HuggingFace**: [`kthulhu/tars-fleet`](https://huggingface.co/datasets/kthulhu/tars-fleet) | |
| ## Subsets | |
| | Subset | Models | Files | Size | Description | | |
| |---|---:|---:|---:|---| | |
| | `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`). | | |
| | `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). | | |
| | `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`). | | |
| | `usd/` | 32 | 32 | 118.85 MiB (124.62 MB) | Pre-baked binary OpenUSD (`.usdc`) scene assets from `gracefold-show-rs/crates/scene-usd/assets/`. | | |
| | `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`). | | |
| | **Total** | **148** | **2,169** | **1.23 GiB** | Indexed in `manifest.json` with per-model entrypoints, sizes, file counts, joint/equality features, and licenses. | | |
| --- | |
| ## Upstream Issues Found & Repairs Applied | |
| 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. | |
| ### 1. Industrial URDFs (`industrial/`, 22 robots — `scripts/repair_industrial_urdfs.py`) | |
| - **Missing or zero-mass physical links**: Many upstream ROS URDFs omitted `<inertial>` blocks or used placeholder `mass="0"` / unit masses on physical links. | |
| - *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`). | |
| - **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. | |
| - *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. | |
| - **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. | |
| - *Fix*: Stripped `<collision>` geometry from passive balancer bodies (`apply_collision_repairs`) while keeping their `<visual>` and `<inertial>` properties intact. | |
| - **Missing top-level `<material>` declarations**: Links referenced named materials without top-level `<material>` definitions. | |
| - *Fix*: Injected a standard RGBA fallback palette (`fix_urdf_materials`) at the `<robot>` root. | |
| - **Non-portable `package://` mesh paths**: | |
| - *Fix*: Copied all referenced `.stl`, `.dae`, and `.obj` meshes into each robot's local `meshes/` directory and rewrote URIs to relative paths. | |
| - **Verification**: Every `industrial/<robot>/spec.json` records `verification.zero_mass_physical_links = []` and `verification.zero_effort_joints = []`. | |
| ### 2. `example_robot_data/` (61 robots — `scripts/repair_example_robot_data.py`) | |
| - **Broken `package://` mesh URIs**: URDFs failed to load standalone because meshes lived in external ROS packages. | |
| - *Fix*: Resolved `package://` URIs (`resolve_package_uri`), copied all referenced meshes into local `meshes/`, and rewrote URDF mesh paths to relative paths. | |
| - **Non-positive masses & non-SPD inertia tensors**: Several links had zero/negative mass or inertia matrices violating positive-definiteness (Sylvester / eigenvalue check). | |
| - *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. | |
| - **Missing top-level `<material>` definitions**: Added `KNOWN_MATERIAL_RGBA` definitions for unreferenced named materials. | |
| - **Verification**: **61/61 PASS** in `tars-rs`. | |
| ### 3. Pre-baked OpenUSD Scenes (`usd/`, 32 `.usdc` files) & Downstream Fixes | |
| - **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`. | |
| - **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. | |
| - **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. | |
| --- | |
| ## Reproduction | |
| To regenerate `industrial/` from raw ROS URDFs: | |
| ```bash | |
| python scripts/repair_industrial_urdfs.py | |
| ``` | |
| To regenerate `example_robot_data/`: | |
| ```bash | |
| python scripts/repair_example_robot_data.py | |
| ``` | |
| 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`. | |