feat(assets): integrate realistic 3d openusd assets, modular builder, and robot animator

This commit is contained in:
2026-10-21 15:39:16 +05:30
parent 56f146ede0
commit e9c573ddc2
32 changed files with 34111 additions and 51 deletions
+47 -7
View File
@@ -19,11 +19,49 @@
| **Phase 6** | **Analytics and experiment framework** | **COMPLETED** | **129 passed** |
| **Phase 7** | **Omniverse USD visualization** | **COMPLETED** | **137 passed** |
| **Phase 8** | **Operational dashboard** | **COMPLETED** | **144 passed** |
| **Phase 9** | **Optimization and final demonstration** | **COMPLETED** | **157 passed (100%)** |
| **Phase 9** | **Optimization and final demonstration** | **COMPLETED** | **157 passed** |
| **Extension** | **Realistic 3D Asset Integration** | **COMPLETED** | **164 passed (100%)** |
---
## 2. Completed Tasks (Phase 9)
## 2. Completed Tasks (Realistic 3D Asset Integration)
- [x] Conducted Repository Inspection & Asset Analysis:
- Validated Kit 110.4 environment at `/home/dmhai/Desktop/nvidia-omniverse/kit-app-template/source/apps/warehouse_twin.kit`.
- Identified coordinate conventions: $1.0\text{m}$ units, `upAxis = "Z"`, right-handed Cartesian.
- Documented low disk space constraint (~11 GB free, 99% usage) to avoid heavy external downloads.
- [x] Designed & Created Modular Industrial 3D OpenUSD Assets (`assets/` and `omniverse/assets/`):
- `assets/racks/pallet_rack_heavy.usda`: Multi-tier heavy pallet rack with 4 upright columns, 3 safety orange load beam levels, steel grates, footplates.
- `assets/racks/shelving_unit_light.usda`: High-density parts shelving unit for Zone A with slotted posts, 4 powder-coated blue steel shelves, canopy cover.
- `assets/pallets/euro_pallet.usda`: Standard European EPAL wooden pallet with 5 deck boards, stringers, 9 solid spacer blocks, and base runners.
- `assets/pallets/pallet_with_cartons.usda`: Euro-pallet loaded with corrugated cardboard cartons, shipping labels, strap bands.
- `assets/robots/amr_light.usda`: Agile lightweight AMR with beveled chassis, recessed drive wheels, casters, LiDAR scanner, 360 status dome, E-stop.
- `assets/robots/amr_heavy.usda`: Heavy-duty pallet AMR with reinforced steel chassis, dual high-torque wheels, corner LiDARs, hydraulic pallet lift bed.
- `assets/stations/dock_inbound.usda`: Inbound loading bay with hydraulic leveler ramp, bumpers, safety bollards, roll-up door frame.
- `assets/stations/picking_station.usda`: Ergonomic workstation table, articulated terminal display arm, roller conveyor, kitting tote bins.
- `assets/stations/charging_station.usda`: Automated inductive charging station with copper contact strips, vertical power pedestal tower, telemetry display.
- `assets/warehouse/safety_barrier.usda`: High-vis yellow tubular steel safety guardrail.
- `assets/warehouse/building_shell.usda`: Industrial concrete floor slab, exterior architectural walls, structural I-beam columns with hazard base guards.
- [x] Created Declarative Asset Manifest (`config/asset_manifest.json`):
- Catalog defining asset IDs, roles, paths, dimensions, scales, orientations, and zone suitability metadata.
- [x] Implemented Reusable 3D Visualization Architecture (`src/warehouse_twin/visualization/`):
- `asset_loader.py` (`AssetManifest`, `USDAssetLoader`): Safe reference instantiation, relative path resolution, collision prevention.
- `coordinate_mapper.py` (`CoordinateMapper`): Graph-to-world Cartesian transformation, elevation offsets, multi-tier shelf heights.
- `materials.py` (`MaterialManager`): PBR `UsdPreviewSurface` materials library (Concrete, Steel, Safety Yellow/Amber, Pine Wood, Kraft Cardboard, Beacon Emissive).
- `route_visualizer.py` (`RouteVisualizer`): Navigation highway corridors, lane visualizers, and aisle markings.
- `warehouse_builder.py` (`Warehouse3DBuilder`): Constructs complete static 3D warehouse referencing modular assets.
- `robot_animator.py` (`Robot3DAnimator`): Generates time-sampled kinematic tracks for 3D AMRs, dynamic status beacons, and mounted cargo attachments.
- [x] Updated CLI Interface (`src/warehouse_twin/cli.py`):
- `warehouse-twin export-usd` default generates realistic 3D scenes (`warehouse_realistic.usda` and `warehouse_realistic_animated.usda`).
- Added `--legacy-blocks` and `--manifest` flags for full backward compatibility.
- [x] Documentation & Test Suite:
- Created `IMPLEMENTATION.md` detailing architecture, assets, coordinate conventions, and Omniverse instructions.
- Added 7 new unit tests in `test_assets_validation.py` and `test_realistic_3d_assets.py`.
- Expanded test suite to **164 passed unit tests (100% pass rate in 2.53s)**.
---
## 3. Completed Tasks (Phase 9)
- [x] Implemented Layout Variation & Optimization Engine (`src/warehouse_twin/optimization/layout_optimizer.py`):
- 5 layout architectural variants: `baseline`, `decentralized_charging`, `directional_highways`, `velocity_slotting`, and `hybrid_optimal`.
@@ -168,12 +206,12 @@
---
## 6. Test & Validation Summary
## 7. Test & Validation Summary
- **Total Unit Tests Executed**: 157
- **Passed**: 157
- **Total Unit Tests Executed**: 164
- **Passed**: 164
- **Failed**: 0
- **Execution Time**: ~3.05 seconds
- **Execution Time**: ~2.53 seconds
- **Pass Rate**: 100.0%
- **Test Suites**:
- `test_environment.py`: 5 passed
@@ -211,10 +249,12 @@
- `test_fleet_optimizer.py`: 4 passed
- `test_benchmark_comparator.py`: 2 passed
- `test_final_demo.py`: 2 passed
- `test_assets_validation.py`: 3 passed
- `test_realistic_3d_assets.py`: 4 passed
---
## 7. Benchmark Performance & Optimization Results
## 8. Benchmark Performance & Optimization Results
### Baseline vs. Hybrid Optimal Layout (1,800s Simulation, Seed 42)