Upload folder using huggingface_hub
Browse files- docs/placement_asset_notes.md +6 -0
- docs/source_notes/discoverse.md +13 -1
- docs/source_notes/robocasa.md +10 -0
- docs/storage_spec.md +7 -0
- docs/structure_mapping.md +35 -0
docs/placement_asset_notes.md
CHANGED
|
@@ -9,6 +9,12 @@ This repository is intended to support placement-oriented robotics tasks such as
|
|
| 9 |
|
| 10 |
## Currently available local assets
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
### RoboCasa
|
| 13 |
|
| 14 |
RoboCasa currently contributes dishwasher fixtures:
|
|
|
|
| 9 |
|
| 10 |
## Currently available local assets
|
| 11 |
|
| 12 |
+
For any imported source, the upstream-to-local directory mapping is recorded in:
|
| 13 |
+
|
| 14 |
+
```text
|
| 15 |
+
docs/structure_mapping.md
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
### RoboCasa
|
| 19 |
|
| 20 |
RoboCasa currently contributes dishwasher fixtures:
|
docs/source_notes/discoverse.md
CHANGED
|
@@ -9,7 +9,8 @@ Imported from local clone:
|
|
| 9 |
- Imported asset root: `models/`
|
| 10 |
|
| 11 |
```text
|
| 12 |
-
|
|
|
|
| 13 |
├── mjcf/
|
| 14 |
├── meshes/
|
| 15 |
└── urdf/
|
|
@@ -17,6 +18,17 @@ assets/discoverse/collections/models/discoverse_models/
|
|
| 17 |
|
| 18 |
This source is stored as a collection-level asset rather than splitting every XML into a separate asset. Reason: many MJCF files reference sibling meshes and support XML files through relative paths, so preserving the upstream tree is the safest default.
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
Current imported inventory:
|
| 21 |
|
| 22 |
- Total files: 1427
|
|
|
|
| 9 |
- Imported asset root: `models/`
|
| 10 |
|
| 11 |
```text
|
| 12 |
+
upstream: DISCOVERSE/models/
|
| 13 |
+
current : assets/discoverse/collections/models/discoverse_models/
|
| 14 |
├── mjcf/
|
| 15 |
├── meshes/
|
| 16 |
└── urdf/
|
|
|
|
| 18 |
|
| 19 |
This source is stored as a collection-level asset rather than splitting every XML into a separate asset. Reason: many MJCF files reference sibling meshes and support XML files through relative paths, so preserving the upstream tree is the safest default.
|
| 20 |
|
| 21 |
+
## Structure mapping
|
| 22 |
+
|
| 23 |
+
| Upstream | Current | Notes |
|
| 24 |
+
| --- | --- | --- |
|
| 25 |
+
| `models/mjcf/` | `assets/discoverse/collections/models/discoverse_models/mjcf/` | Preserved unchanged. MJCF include/file paths remain relative. |
|
| 26 |
+
| `models/meshes/` | `assets/discoverse/collections/models/discoverse_models/meshes/` | Preserved unchanged. Mesh references stay valid. |
|
| 27 |
+
| `models/urdf/` | `assets/discoverse/collections/models/discoverse_models/urdf/` | Preserved unchanged. |
|
| 28 |
+
| `models/metadata.yaml` | `assets/discoverse/collections/models/discoverse_models/metadata.yaml` | Added locally for indexing. |
|
| 29 |
+
|
| 30 |
+
Reference preservation: yes. The directory tree was wrapped in one collection asset, but no inner filenames were renamed.
|
| 31 |
+
|
| 32 |
Current imported inventory:
|
| 33 |
|
| 34 |
- Total files: 1427
|
docs/source_notes/robocasa.md
CHANGED
|
@@ -38,3 +38,13 @@ Included dishwasher-related files:
|
|
| 38 |
- 25 dishwasher fixture model directories: `Dishwasher031`, `Dishwasher032`, `Dishwasher034`, `Dishwasher036`, `Dishwasher038`, `Dishwasher039`, `Dishwasher040`, `Dishwasher042`, `Dishwasher043`, `Dishwasher044`, `Dishwasher045`, `Dishwasher046`, `Dishwasher048`, `Dishwasher049`, `Dishwasher051`, `Dishwasher053`, `Dishwasher054`, `Dishwasher055`, `Dishwasher058`, `Dishwasher059`, `Dishwasher060`, `Dishwasher061`, `Dishwasher062`, `Dishwasher063`, `Dishwasher067`
|
| 39 |
- Fixture registry: `assets/robocasa/fixtures/fixture_registry/dishwasher.yaml`
|
| 40 |
- Fixture implementation reference: `docs/source_notes/robocasa/dishwasher_fixture.py`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
- 25 dishwasher fixture model directories: `Dishwasher031`, `Dishwasher032`, `Dishwasher034`, `Dishwasher036`, `Dishwasher038`, `Dishwasher039`, `Dishwasher040`, `Dishwasher042`, `Dishwasher043`, `Dishwasher044`, `Dishwasher045`, `Dishwasher046`, `Dishwasher048`, `Dishwasher049`, `Dishwasher051`, `Dishwasher053`, `Dishwasher054`, `Dishwasher055`, `Dishwasher058`, `Dishwasher059`, `Dishwasher060`, `Dishwasher061`, `Dishwasher062`, `Dishwasher063`, `Dishwasher067`
|
| 39 |
- Fixture registry: `assets/robocasa/fixtures/fixture_registry/dishwasher.yaml`
|
| 40 |
- Fixture implementation reference: `docs/source_notes/robocasa/dishwasher_fixture.py`
|
| 41 |
+
|
| 42 |
+
## Structure mapping
|
| 43 |
+
|
| 44 |
+
| Upstream | Current | Notes |
|
| 45 |
+
| --- | --- | --- |
|
| 46 |
+
| `robocasa/models/assets/fixtures/dishwashers/Dishwasher031/` | `assets/robocasa/fixtures/dishwashers/Dishwasher031/` | One-to-one directory mapping for each dishwasher model. `model.xml` and `visuals/` kept intact. |
|
| 47 |
+
| `robocasa/models/assets/fixtures/fixture_registry/dishwasher.yaml` | `assets/robocasa/fixtures/fixture_registry/dishwasher.yaml` | Registry copied without renaming. |
|
| 48 |
+
| `robocasa/models/fixtures/dishwasher.py` | `docs/source_notes/robocasa/dishwasher_fixture.py` | Reference copy for implementation and naming conventions. |
|
| 49 |
+
|
| 50 |
+
Reference preservation: yes. The assets were normalized into the unified library layout, but per-asset filenames and relative mesh references were preserved.
|
docs/storage_spec.md
CHANGED
|
@@ -29,6 +29,13 @@ assets/discoverse/collections/models/discoverse_models/
|
|
| 29 |
- Source asset files, preserving upstream structure where practical.
|
| 30 |
- `metadata.yaml`.
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
## Global index
|
| 33 |
|
| 34 |
All assets must be indexed in:
|
|
|
|
| 29 |
- Source asset files, preserving upstream structure where practical.
|
| 30 |
- `metadata.yaml`.
|
| 31 |
|
| 32 |
+
If a source is reorganized during import, also record the upstream-to-local structure mapping in:
|
| 33 |
+
|
| 34 |
+
```text
|
| 35 |
+
docs/structure_mapping.md
|
| 36 |
+
docs/source_notes/<source>.md
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
## Global index
|
| 40 |
|
| 41 |
All assets must be indexed in:
|
docs/structure_mapping.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Structure Mapping Record
|
| 2 |
+
|
| 3 |
+
Whenever an upstream asset source is reorganized during import, record the mapping between:
|
| 4 |
+
|
| 5 |
+
- original upstream directory layout
|
| 6 |
+
- current on-disk layout in this repository
|
| 7 |
+
- reason for the transformation
|
| 8 |
+
- whether internal relative references were preserved
|
| 9 |
+
|
| 10 |
+
## Required fields
|
| 11 |
+
|
| 12 |
+
For each source, record:
|
| 13 |
+
|
| 14 |
+
- `upstream_root`
|
| 15 |
+
- `original_layout`
|
| 16 |
+
- `current_layout`
|
| 17 |
+
- `mapping_notes`
|
| 18 |
+
- `reference_preservation`
|
| 19 |
+
|
| 20 |
+
## Why this matters
|
| 21 |
+
|
| 22 |
+
Without explicit structure mapping, a repository can no longer answer:
|
| 23 |
+
|
| 24 |
+
- which files came from which upstream directory
|
| 25 |
+
- whether a path change was semantic or only organizational
|
| 26 |
+
- whether relative XML/mesh references were preserved
|
| 27 |
+
- how to re-import a source after upstream updates
|
| 28 |
+
|
| 29 |
+
## Rule
|
| 30 |
+
|
| 31 |
+
If you change a source’s on-disk structure, update:
|
| 32 |
+
|
| 33 |
+
- `docs/source_notes/<source>.md`
|
| 34 |
+
- the source’s `metadata.yaml`
|
| 35 |
+
- any manifest row that stores `path`
|