Initial commit: Vision-Guided Robotic Pick-and-Place Simulation
This commit is contained in:
@@ -0,0 +1,534 @@
|
||||
# Changelog
|
||||
**Vision-Guided Robotic Pick-and-Place Simulation**
|
||||
**NVIDIA Omniverse™ / Isaac Sim™ Ecosystem**
|
||||
|
||||
---
|
||||
|
||||
## [Enhancement: NVIDIA SimReady 3D Automotive Assets for Warehouse Shelves] - 2026-11-02
|
||||
|
||||
### Assets Integrated
|
||||
- **Replaced all primitive warehouse shelf inventory boxes with authentic NVIDIA SimReady 3D OpenUSD Assets** (`nvidia/simready-assets`):
|
||||
- **`brakeSystem_rotor_b01`**: Heavy-Duty Machined Ventilated Brake Rotor Disc with cross-drilled cooling vents (`sm_brakeSystem_rotor_b01_01.usd`).
|
||||
- **`brakeSystem_caliper_b01`**: Dual-Piston Hydraulic Brake Caliper with cast surface details and mounting brackets (`sm_brakeSystem_caliper_b01_01.usd`).
|
||||
- **`engineComponent_oil_filter_a01`**: John Deere Plus-50™ II Spin-On Automotive Engine Oil Filter with manufacturer labelling (`sm_engineComponent_oil_filter_a01_01.usd`).
|
||||
- **`consumable_fuel_filter_canister_a01`**: Cast Aluminum Heavy-Duty Fuel Filter Canister (`sm_consumable_fuel_filter_canister_a01_01.usd`).
|
||||
- **`consumable_engine_oil_a01`**: John Deere Plus-50™ II 15W-40 Synthetic Blend Engine Oil Bottle (`sm_consumable_engine_oil_a01_01.usd`).
|
||||
- **`electricalSystem_engine_control_module_a01`**: John Deere CommandCenter™ Engine Control Module (ECM) with aluminum heatsink fins (`sm_electricalSystem_engine_control_module_a01_01.usd`).
|
||||
- **`brakeSystem_pad_b01`**: Semi-Metallic Brake Pad Friction Set (`sm_brakeSystem_pad_b01_01.usd`).
|
||||
- **`engineComponent_spark_plug_b01`**: Ceramic-Insulated High-Durability Spark Plug (`sm_engineComponent_spark_plug_b01_01.usd`).
|
||||
- **Complete Shader Architecture**:
|
||||
- Downloaded and linked native NVIDIA `OmniPBR.mdl`, `OmniPBRBase.mdl`, and `OmniPBR_ClearCoat.mdl` shaders with high-resolution $2\text{K}$ diffuse, normal, and ORM (Occlusion-Roughness-Metallic) texture maps for photorealistic RTX rendering.
|
||||
|
||||
### Files Created & Modified
|
||||
- `scripts/download_automotive_assets.py`: Automated multi-threaded asset downloader for NVIDIA SimReady Hugging Face repository.
|
||||
- `src/environment/object_generator.py`:
|
||||
- Added `spawn_automotive_asset()` method to instantiate 3D OpenUSD assets with USD references, $SO(3)$ orientations, scaling, PhysX rigid bodies, and Replicator semantic annotations.
|
||||
- Enhanced `spawn_inventory_boxes_on_shelf()` to support `usd_path` assets with 2D clearance rejection sampling on storage shelves.
|
||||
- `config/environment_config.yaml`:
|
||||
- Overhauled `inventory_boxes` to reference authentic 3D SimReady OpenUSD automotive assets across all non-active shelves.
|
||||
- `src/robot/articulation.py`:
|
||||
- Guarded `get_arm_joint_positions()`, `get_finger_positions()`, `get_all_dof_positions()`, `get_arm_joint_velocities()`, and `get_all_dof_velocities()` against invalid physics tensor states during timeline stops or state transitions.
|
||||
- `src/motion/cumotion_planner.py`:
|
||||
- Enhanced `check_collision_free()` with `is_terminal_segment` parameter to prevent false-positive shelf level collisions during deliberate terminal placement deposits.
|
||||
- `docs/renders/robot_warehouse_preview.png`:
|
||||
- Rendered high-resolution RTX verification image showcasing the Franka arm in the warehouse with authentic 3D automotive parts on all storage shelves.
|
||||
|
||||
---
|
||||
|
||||
## [Enhancement: John Deere Industrial & Automotive Parts Overhaul] - 2026-11-02
|
||||
|
||||
### Components Replaced
|
||||
- **Active Picking Shelf Primitives Replaced with Authentic John Deere Heavy Machinery Parts**:
|
||||
- `deere_powertech_piston`: John Deere PowerTech™ 6.8L / 9.0L Diesel Engine Piston (Forged aluminum alloy / graphite skirt, `#D1D9E0`).
|
||||
- `deere_hydraulic_valve_block`: John Deere Selective Control Valve (SCV) Manifold Block (Ductile cast iron hydraulic block, `#3D4247`).
|
||||
- `deere_transmission_pinion_gear`: John Deere Helical Transmission Pinion Shaft (Case-hardened alloy steel, `#4D5259`).
|
||||
- `deere_commandcenter_ecu`: John Deere CommandCenter™ Powertrain Electronic Control Unit (Signature Green chassis, `#367C2B`).
|
||||
- `deere_common_rail_fuel_injector`: John Deere PowerTech™ Common-Rail Fuel Injector (Polished precision steel, `#BFC4CC`).
|
||||
- `deere_hydraulic_coupler`: John Deere Breakaway Quick-Disconnect Hydraulic Coupler (Zinc-plated steel, `#B8BCC2`).
|
||||
- **Warehouse Storage Packaging Replaced with Genuine John Deere Maintenance Inventory**:
|
||||
- `deere_plus50_oil_filter`: John Deere Plus-50™ II Heavy-Duty Spin-On Engine Oil Filter Canister (Signature Green `#367C2B`).
|
||||
- `deere_hygard_fluid_jug`: John Deere Hy-Gard™ Hydraulic/Transmission Oil Container (Signature Green `#367C2B`).
|
||||
- `deere_plus50_engine_oil_jug`: John Deere Plus-50™ II 15W-40 Synthetic Blend Engine Oil Jug (`#2E7026`).
|
||||
- `deere_fuel_filter_box`: John Deere Genuine Fuel Filter Cartridge Packaging (Signature Industrial Yellow `#FFDE00`).
|
||||
- `deere_starter_motor_box`: John Deere Reman PowerTech™ Starter Motor OEM Case (`#367C2B`).
|
||||
- `deere_reman_alternator_box`: John Deere Reman Industrial Alternator Box (Signature Yellow `#FFDE00`).
|
||||
- `deere_klt_parts_tote`: John Deere Plant Assembly KLT Component Tote (`#367C2B`).
|
||||
|
||||
### Files Modified
|
||||
- `config/environment_config.yaml`: Overhauled `supported_shapes` and `inventory_boxes` schemas with realistic John Deere physical dimensions, masses, and brand colors.
|
||||
- `src/environment/object_generator.py`: Updated shape sampling, randomized shelf generation, and expanded shelf picking zone to `[0.28m, 0.54m]` with $\ge 8.7\text{ cm}$ center-to-center spacing, eliminating gripper collision with adjacent parts.
|
||||
- `src/vision/detector.py`: Updated `LABEL_TO_SHAPE`, `CLASS_COLORS`, and fallback heuristics with John Deere component labels and brand colors.
|
||||
- `src/vision/pose_estimator.py`: Fixed `DetectedObject2D.centroid_3d` attribute fallback, filtering out distant passive storage boxes from active picking candidates.
|
||||
- `src/execution/manipulation_fsm.py`: Integrated John Deere part matching in `_resolve_target_prim_path`, filtered out passive inventory items, and upgraded in-viewport HUD telemetry cards with formatted John Deere names.
|
||||
- `exts/omni.isaac.pick_place/omni/isaac/pick_place/ui/window.py`: Upgraded Kit UI dashboard header to "John Deere Autonomous Parts Sorting & Logistics".
|
||||
- `scripts/demo_multi_object_manipulation.py`: Branded multi-movement continuous sorting demo with John Deere brand identity and HUD cards.
|
||||
- `scripts/render_robot_warehouse_snapshot.py`: Configured rendering pipeline to capture John Deere warehouse racks and Franka arm.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/demo_multi_object_manipulation.py --headless --num-movements 4`: **4/4 Succeeded (100.0%)**, Mean Error: **0.00 mm**, Total Time: **47.42 s**.
|
||||
|
||||
---
|
||||
|
||||
## [Phase 10: Final Application & UI Dashboard] - 2026-10-31
|
||||
|
||||
### Files Created
|
||||
- `src/metrics/telemetry_collector.py`: Standardized performance telemetry engine (`TelemetryCollector`), trial telemetry dataclass (`TrialResult`), and aggregate performance summary (`KPISummary`). Implements mathematical tracking of all 10 KPIs defined in `docs/KPI_DEFINITIONS.md`, automated JSON trial exports, and aggregate CSV logging.
|
||||
- `src/metrics/__init__.py`: Package module exposing `TelemetryCollector`, `TrialTelemetry`, and `KPISummary`.
|
||||
- `scripts/run_application.py`: Master standalone interactive application launcher. Launches Isaac Sim with interactive 3D viewport, docks the `PickPlaceWindow` dashboard, loads warehouse, robot, perception, cuMotion, and FSM with live runtime controls.
|
||||
- `scripts/run_phase10_validation.py`: Standalone automated validation suite for Phase 10 covering extension loading, 10-KPI mathematical verification, closed-loop telemetry integration, data persistence, UI status reflection, and visual deliverable generation.
|
||||
- `scripts/view_phase10_deliverables.py`: Interactive deliverables inspector and headless report viewer displaying benchmark KPI metrics and launch options.
|
||||
- `docs/renders/final_dashboard_preview.png`: 4-panel visual deliverable capturing lifecycle success breakdown, system accuracy vs acceptance limits, trajectory dynamics, and extension system status (286.0 KB).
|
||||
- `docs/phase10_validation_report.json`: Machine-readable Phase 10 validation report confirming 6/6 passed tests.
|
||||
- `metrics/kpi_summary.csv`: Aggregate benchmark summary log across evaluated manipulation trials.
|
||||
- `metrics/experiments/`: Structured directory storing per-trial JSON telemetry records.
|
||||
|
||||
### Files Modified
|
||||
- `exts/omni.isaac.pick_place/omni/isaac/pick_place/ui/window.py`: Re-architected `PickPlaceWindow` into a comprehensive, high-performance in-viewport dashboard featuring execution state Gantt readouts, interactive simulation controls, vision perception readouts, live 10-KPI meters, and instant export buttons.
|
||||
- `exts/omni.isaac.pick_place/omni/isaac/pick_place/extension.py`: Added `window` property on `PickPlaceExtension` to provide programmatic access to UI components.
|
||||
- `src/robot/articulation.py`: Added `_ensure_physics_tensor_valid()` helper across all DOF read/write methods to guarantee physics tensor validity across GUI updates and Replicator frame captures.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 10 COMPLETED in Master Phase Matrix and added Section 9 Phase 10 Completion Review. All 10 phases now complete.
|
||||
- `docs/API_REFERENCE.md`: Added Section 9 documenting `src.metrics` and `PickPlaceWindow`.
|
||||
- `docs/ALGORITHMS.md`: Added Section 2.15 documenting trajectory path integration and UI event dispatch.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added test matrix entries `TC-P10-01` through `TC-P10-06`.
|
||||
- `README.md`: Updated Phase 10 status, architecture tree, and execution quick-start.
|
||||
|
||||
### Features Added
|
||||
- Native `omni.ui` In-Viewport Control Panel: Live color-coded FSM status, item details, grasp ID, aperture, pushbuttons for cycle execution, home reset, inventory randomization, and emergency halt.
|
||||
- Full Standardized 10-KPI Evaluation: $100\%$ detection accuracy, $2.83\text{ mm}$ position error, $1.20^\circ$ yaw error, $100\%$ grasp success, $100\%$ pick success, $100\%$ placement success ($0.00\text{ mm}$ error), $13.35\text{ s}$ cycle time, $2.469\text{ m}$ trajectory length, $0$ collisions, $0$ failed tasks.
|
||||
- Clean Persistence: Automated per-trial JSON export and CSV summary logging.
|
||||
- Master Application Launcher: One-line launch of complete application with docked UI and full 3D interactive controls (`/home/dmhai/isaacsim/python.sh scripts/run_application.py`).
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase10_validation.py`: **PASSED (6/6 tests, 100%)**.
|
||||
- Executed `scripts/view_phase10_deliverables.py`: Verified formatted terminal report and visual artifacts.
|
||||
|
||||
---
|
||||
|
||||
## [Phase 9: Testing & Edge Cases Benchmarking Engine] - 2026-10-31
|
||||
|
||||
### Files Created
|
||||
- `src/testing/edge_case_runner.py`: Benchmarking engine (`EdgeCaseRunner`), trial telemetry dataclass (`TrialResult`), and aggregate performance report (`EdgeCaseBenchmarkReport`). Implements Monte Carlo multi-trial batteries, kinematically unreachable and oversized candidate rejection, active mid-transit slip/drop fault detection, visual occlusion handling, and physical corridor clearance verification.
|
||||
- `src/testing/__init__.py`: Package module exposing `EdgeCaseRunner`, `TrialResult`, and `EdgeCaseBenchmarkReport`.
|
||||
- `scripts/run_phase9_validation.py`: Standalone automated validation suite for Phase 9 covering 10-trial Monte Carlo pick-and-place stress battery, reachability and aperture rejection, drop detection and safe halt, perception occlusion handling, corridor clearance verification, and telemetry visualization.
|
||||
- `scripts/view_phase9_deliverables.py`: Interactive deliverables inspector and headless report viewer displaying benchmark KPI metrics and edge-case status.
|
||||
- `docs/renders/edge_case_telemetry_preview.png`: 4-panel visual deliverable plotting Monte Carlo lifecycle breakdown (Pick, Transit, Placement, Overall), placement error vs trial index, cycle time distributions, and robustness radar profile (179.6 KB).
|
||||
- `docs/phase9_validation_report.json`: Machine-readable Phase 9 validation report confirming 6/6 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `config/environment_config.yaml`: Expanded rack positions to $Y = \pm 0.52\text{ m}$ (corridor width $0.76\text{ m}$) and raised upper shelf height to $Z = 0.90\text{ m}$ ($+5\text{ cm}$ headroom), eliminating transit collisions.
|
||||
- `src/environment/object_generator.py`: Re-architected picking shelf inventory layout into a single frontal row along $X$ with $\ge 12\text{ cm}$ separation, preventing adjacent object collisions.
|
||||
- `src/robot/articulation.py`: Added persistent `self._cached_dof_targets` in `FrankaRobot` preventing arm commands from overwriting gripper finger apertures.
|
||||
- `src/motion/cumotion_planner.py`: Introduced 5 dense straight-line via-points along $-Y$ in `SEG_6_RETRACT_TO_HOME` with `min_samples=40`, eliminating Cartesian $X$ drift and preventing placed objects from being knocked off shelf.
|
||||
- `src/motion/grasp_planner.py`: Added fallback from `"length"` to `"depth"` in `pose.dimensions` extraction, ensuring correct aperture checks for all dimension conventions.
|
||||
- `src/execution/manipulation_fsm.py`: Integrated real-time mid-transit grasp slip monitoring and fault injection hooks; updated destination deposit elevation to include dynamic object half-height (`shelf_z + half_height + 0.003m`), eliminating PhysX penetration impulses.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 9 COMPLETED in Master Phase Matrix and added Section 8 Phase 9 Completion Review.
|
||||
- `docs/API_REFERENCE.md`: Added Section 8 documenting `src.testing` package (`EdgeCaseRunner`, `TrialResult`, `EdgeCaseBenchmarkReport`).
|
||||
- `docs/ALGORITHMS.md`: Added Section 2.14 documenting Monte Carlo perturbation, grasp slip monitoring, aperture bounding, and corridor clearance verification.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added test matrix entries `TC-P9-01` through `TC-P9-06`.
|
||||
- `docs/ISSUES_AND_SOLUTIONS.md`: Documented issues ISS-022 through ISS-026.
|
||||
- `README.md`: Updated Phase 9 status and execution commands.
|
||||
|
||||
### Features Added
|
||||
- Automated Monte Carlo Battery: Completed 10 randomized pick-and-place manipulation trials with **100% success rate (10/10)** across pick, transit, and placement.
|
||||
- Sub-Millimeter Repeatable Placement: Achieved **0.00 mm ± 0.00 mm** horizontal placement error across all 10 trials.
|
||||
- Kinematic Rejection: $100\%$ rejection of out-of-reach target positions ($Y = -0.85\text{ m}$) and oversized objects ($120\text{ mm} > 80\text{ mm}$ aperture) without illegal motions.
|
||||
- Active Slip & Drop Recovery: Real-time 60 Hz monitoring of fingertip-to-object distance during transit, triggering safe transfer abortion into `FAULT` state upon detachment.
|
||||
- Perception Occlusion Robustness: Graceful degradation and structured diagnostic telemetry when visual perception detects zero objects.
|
||||
- Corridor Clearance Verification: Guaranteed **$38.5\text{ mm}$** minimum clearance to rack obstacles across the widened $0.76\text{ m}$ transit corridor (exceeding $\ge 30.0\text{ mm}$ safety requirement).
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase9_validation.py`: **PASSED (6/6 tests, 100%)**.
|
||||
- Executed `scripts/view_phase9_deliverables.py`: Verified formatted terminal report and visual artifacts.
|
||||
|
||||
---
|
||||
|
||||
## [Phase 8: Manipulation Execution Engine & Closed-Loop Pick-and-Place] - 2026-10-31
|
||||
|
||||
### Files Created
|
||||
- `src/execution/manipulation_fsm.py`: Deterministic 8-phase Finite State Machine (`ManipulationFSM`), operational states (`ManipulationState`), execution result dataclass (`ManipulationResult`), and dynamic prim path resolver (`_resolve_target_prim_path`).
|
||||
- `src/execution/attachment.py`: Kinematic grasp attachment engine (`GraspAttachment`), relative transform locking, zero-velocity physics stabilization, and clean detachment placement decoupling for Isaac Sim 6.2 rigid bodies.
|
||||
- `src/execution/__init__.py`: Package module exposing `ManipulationFSM`, `ManipulationState`, `ManipulationResult`, and `GraspAttachment`.
|
||||
- `scripts/run_phase8_validation.py`: Standalone automated validation suite for Phase 8 covering FSM state transitions, end-to-end autonomous cycle execution, grasp contact verification, destination placement accuracy, resting physics settlement, and visual deliverable generation.
|
||||
- `scripts/view_phase8_deliverables.py`: Interactive 3D GUI inspector and headless reporting script executing full pick-and-place manipulation cycles in real-time Isaac Sim viewport.
|
||||
- `docs/renders/manipulation_execution_preview.png`: 4-panel visual deliverable plotting FSM state transitions Gantt chart, 3D tool Cartesian path, gripper aperture stroke profile, and corridor height clearance profile (371.4 KB).
|
||||
- `docs/phase8_validation_report.json`: Machine-readable Phase 8 validation report confirming 6/6 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `src/vision/camera_manager.py`: Resolved Replicator timeline pause by ensuring Omniverse timeline play state is restored via `isaacsim.core.experimental.utils.app.play()` after `capture_frame()`.
|
||||
- `src/robot/articulation.py`: Enforced `float32` numpy conversions on joint position targets in `set_arm_joint_position_targets` and `set_finger_position_targets`.
|
||||
- `src/motion/cumotion_planner.py`: Tuned placement standoff height ($Z = 0.585 + 0.060\text{ m}$) and warm-started `q_sol_place_standoff` from `q_sol_place_deposit` for optimal IK convergence.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 8 COMPLETED with comprehensive metrics summary.
|
||||
- `docs/API_REFERENCE.md`: Added Section 7 documenting `src.execution` package (`ManipulationFSM`, `ManipulationState`, `GraspAttachment`).
|
||||
- `docs/ALGORITHMS.md`: Added Section 2.13 documenting FSM transition logic, relative transform grasp attachment, and placement settlement.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added test matrix entries `TC-P8-01` through `TC-P8-06`.
|
||||
- `README.md` & `docs/README.md`: Updated Phase 8 status, architecture, and execution instructions.
|
||||
|
||||
### Features Added
|
||||
- Complete 8-phase deterministic Finite State Machine: `IDLE` $\to$ `PERCEPTION_AND_PLANNING` $\to$ `APPROACH_STANDOFF` $\to$ `APPROACH_GRASP` $\to$ `GRASP_CLOSE` $\to$ `POST_GRASP_LIFT` $\to$ `CROSS_CORRIDOR_TRANSFER` $\to$ `PLACE_DEPOSIT` $\to$ `RELEASE_AND_RETRACT` $\to$ `COMPLETE` (plus `FAULT`).
|
||||
- Dynamic USD stage prim resolver matching estimated 3D perception coordinates to stage prim paths (`_resolve_target_prim_path`).
|
||||
- Kinematic relative transform locking (`GraspAttachment`) with continuous 60 Hz tool-following updates and zero-velocity stabilization preventing PhysX energy accumulation during transit.
|
||||
- High-precision destination placement: achieved **0.00 mm** horizontal placement error and **0.00 mm** total Euclidean error against target shelf coordinates (`[0.460, 0.480, 0.585] m`).
|
||||
- Stable physical resting settlement: resting on destination rack Shelf 1 surface ($Z = 0.600\text{ m}$) with **$0.0002\text{ m/s}$** residual linear speed at static physical equilibrium.
|
||||
- Full autonomous lifecycle completed in **12.20s** sim-time (732 frames) and **22.88s** wall-clock time.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase8_validation.py`: **PASSED (6/6 tests, 100%)**.
|
||||
- Executed `scripts/view_phase8_deliverables.py --headless`: Clean multi-cycle execution and reporting.
|
||||
|
||||
---
|
||||
|
||||
## [Phase 7: Motion Planning Engine & cuMotion Integration] - 2026-10-31
|
||||
|
||||
### Files Created
|
||||
- `src/motion/cumotion_planner.py`: NVIDIA cuMotion GPU trajectory generator, RMPflow motion policy, analytical obstacle clearance checking, 6-segment pick-and-place transfer pipeline, and subsegment concatenation.
|
||||
- `scripts/run_phase7_validation.py`: Standalone automated validation suite for Phase 7 covering cuMotion initialization, obstacle queries, kinematic smoothness, pick approach convergence, 6-segment transfer pipeline, and deliverable rendering.
|
||||
- `scripts/view_phase7_deliverables.py`: Interactive 3D GUI inspector and headless reporting script animating the 6-segment pick-and-place trajectory in Isaac Sim.
|
||||
- `docs/renders/motion_trajectories_preview.png`: 4-panel visual deliverable capturing 3D corridor paths, joint angles, velocities, and accelerations (751.2 KB).
|
||||
- `docs/phase7_validation_report.json`: Machine-readable Phase 7 validation report confirming 6/6 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `src/motion/__init__.py`: Exported `CuMotionPlanner`, `PlannedTrajectory`, and `TrajectoryPoint`.
|
||||
- `src/robot/kinematics.py`: Added `get_joint_names()` alias method on `FrankaKinematics`.
|
||||
- `config/motion_config.yaml`: Added cuMotion trajectory generator settings, corridor transit via-poses, safety tolerances, and sampling frequencies.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 7 COMPLETED with metrics summary.
|
||||
- `docs/API_REFERENCE.md`: Added Section 5.3 (`CuMotionPlanner`), 5.4 (`PlannedTrajectory`), and 5.5 (`TrajectoryPoint`).
|
||||
- `docs/ALGORITHMS.md`: Added Section 2.12 documenting GPU cuMotion trajectory generation, obstacle clearance checking, and subsegment concatenation.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added Section 2.8 and test matrix entries `TC-P7-01` through `TC-P7-06`.
|
||||
- `README.md` & `docs/README.md`: Updated Phase 7 completion status, repository structure, and execution instructions.
|
||||
|
||||
### Features Added
|
||||
- Native NVIDIA cuMotion GPU-accelerated trajectory planning (`isaacsim.robot_motion.cumotion.TrajectoryGenerator`) bound to Franka Panda Lula robot model.
|
||||
- Reactive Riemannian Motion Policy (`isaacsim.robot_motion.motion_generation.RmpFlow`) integration with dynamic obstacle avoidance.
|
||||
- Ultra-fast analytical warehouse rack obstacle queries (`check_collision_free`) enforcing shelf planks, corner pillars, and floor boundaries.
|
||||
- Complete 6-segment pick-and-place manipulation transfer sequence:
|
||||
1. `SEG_1_HOME_TO_STANDOFF` (1.585s)
|
||||
2. `SEG_2_STANDOFF_TO_GRASP` (0.383s)
|
||||
3. `SEG_3_POST_GRASP_LIFT` (0.620s)
|
||||
4. `SEG_4_CROSS_CORRIDOR_TRANSFER` (4.954s)
|
||||
5. `SEG_5_PLACEMENT_DEPOSIT` (0.695s)
|
||||
6. `SEG_6_RETRACT_TO_HOME` (4.896s)
|
||||
Total transfer duration: **13.13s** (under 20.0s cycle budget).
|
||||
- Pairwise subsegment concatenation algorithm (`concatenate_trajectories`) preventing cubic spline polynomial overshoot on Franka Joint 4 (`panda_joint4` limits $[-3.0718, -0.0698]\text{ rad}$) while preserving 60 Hz point sampling, time continuity, and $C^1$ velocity transitions.
|
||||
- Tool end-effector tracking convergence reaching pre-grasp standoff with **0.00 mm** Cartesian error.
|
||||
- Strict physical limit enforcement: peak joint velocity $2.61\text{ rad/s} < 3.0\text{ rad/s}$, peak acceleration $13.70\text{ rad/s}^2 < 15.0\text{ rad/s}^2$.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase7_validation.py`: **PASSED (6/6 tests, 100%)**.
|
||||
- Executed `scripts/view_phase7_deliverables.py --headless`: Clean execution and reporting.
|
||||
|
||||
---
|
||||
|
||||
## [Warehouse Layout Expansion & Inventory Box Diversification] - 2026-10-30
|
||||
|
||||
### Files Created / Regenerated
|
||||
- `data/scenes/warehouse_scene.usda`: Re-exported complete OpenUSD stage (176.8 KB) incorporating 6 storage racks across two 3-bay aisles and 32 assorted warehouse inventory boxes.
|
||||
- `docs/renders/warehouse_scene_preview.png`: High-resolution RTX overview render (807.7 KB) capturing the complete 6-rack layout and populated inventory shelves.
|
||||
|
||||
### Files Modified
|
||||
- `config/environment_config.yaml`:
|
||||
- Defined 6 multi-bay warehouse racks forming two parallel aisles separated by an open 0.61m corridor (`source_rack`, `destination_rack`, `source_rack_bay2`, `destination_rack_bay2`, `rear_rack_right`, `rear_rack_left`).
|
||||
- Added comprehensive `inventory_boxes` taxonomy with realistic size tiers (`small_carton`, `medium_carton`, `large_carton`, `flat_parcel`, `storage_tote`, `canister`), masses, and industrial color schemes.
|
||||
- `src/environment/object_generator.py`: Added `spawn_inventory_boxes_on_shelf()` to procedurally synthesize diverse inventory box types with collision, mass, and 2D clearance rejection sampling.
|
||||
- `src/environment/scene_builder.py`: Refactored `WarehouseSceneBuilder` to dynamically instantiate all configured racks in `warehouse.racks` and populate non-active shelves with inventory boxes.
|
||||
- `scripts/run_phase2_validation.py`: Added verification checks for multi-rack layout ($\ge 6$ racks) and inventory box generation ($\ge 10$ boxes).
|
||||
- `scripts/render_scene_snapshot.py`: Updated isometric camera position `(2.4, -1.4, 1.9)` looking at `(0.25, 0.0, 0.55)` to frame the entire 6-rack warehouse layout.
|
||||
|
||||
### Features Added
|
||||
- Multi-bay warehouse layout with two parallel 3-bay storage aisles spanning $X \in [-0.60, 1.00]\text{ m}$ at $Y = \pm 0.48\text{ m}$.
|
||||
- $0.61\text{ m}$ ($61\text{ cm}$) central movement corridor providing collision-free workspace clearance for Franka robotic arm pick-and-place trajectories.
|
||||
- 6-tier inventory box diversification supporting small kraft cartons, tan shipping boxes, heavy brown master cartons, flat white parcels, blue storage totes, and metallic cylinders.
|
||||
- Clean semantic separation: active manipulation targets retain `object_*` semantics for camera annotators, while inventory items use `inventory_*` semantics.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase2_validation.py`: PASSED (6 racks instantiated, 32 inventory boxes spawned, 3 active manipulation targets settled).
|
||||
- Executed `scripts/run_phase6_validation.py`: PASSED (6/6 tests passed, 23 candidates generated, 18 IK reachable [78.3%], 0 joint limit violations, mean best score 77.72 / 100.0).
|
||||
|
||||
---
|
||||
|
||||
## [Phase 6: Grasp Planning Pipeline] - 2026-10-30
|
||||
|
||||
### Files Created
|
||||
- `src/motion/__init__.py`: Package export for `GraspPlanner` and `GraspCandidate`.
|
||||
- `src/motion/grasp_planner.py`: Shape-specific grasp candidate generation, aperture validation, vector geometry, Lula IK reachability, multi-criteria scoring, and 2D camera image projection.
|
||||
- `scripts/run_phase6_validation.py`: Standalone automated Phase 6 validation suite testing candidate generation, aperture stroke feasibility, approach/retreat vector geometry, Lula IK reachability, multi-criteria ranking, and visual deliverable export.
|
||||
- `scripts/view_phase6_deliverables.py`: Interactive 3D GUI inspector and headless reporting script for planned grasps and IK joint configurations.
|
||||
- `docs/renders/grasp_candidates_overlay.png`: Visual deliverable featuring projected grasp poses, approach vectors, and fingertip contact crosshairs.
|
||||
- `docs/phase6_validation_report.json`: Machine-readable Phase 6 validation report confirming 6/6 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `config/environment_config.yaml`: Widened rack placement to `[0.46, ±0.48, 0.0]` (0.61m inner corridor clearance) to provide ample room for arm movement during pick-and-place transfer.
|
||||
- `config/vision_config.yaml`: Aligned camera focus to `[0.48, -0.48, 0.58]` and position to `[0.48, -0.08, 0.80]` to maintain centered shelf viewing.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 6 COMPLETED with metrics summary.
|
||||
- `docs/API_REFERENCE.md`: Added Section 5 detailing `GraspPlanner` and `GraspCandidate`.
|
||||
- `docs/ALGORITHMS.md`: Added Section 2.11 documenting shape-specific candidate planning and multi-criteria quality scoring.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added Section 2.7 and test matrix entries `TC-P6-01` through `TC-P6-06`.
|
||||
- `README.md` & `docs/README.md`: Updated Phase 6 completion status and run commands.
|
||||
|
||||
### Features Added
|
||||
- Shape-specific grasp candidate generation tailored for cubes (10 candidates across body axes and tilts), cuboids (5 narrow-width candidates), and cylinders (8 radial and tilt candidates).
|
||||
- Parallel-jaw gripper stroke feasibility checking ($\le 0.080\text{ m}$ stroke limit), rejecting wide-dimension cuboid grasps and oversized objects.
|
||||
- Analytical approach and retreat vector geometry formulation ($0.0584\text{ m}$ fingertip tool offset, $0.100\text{ m}$ standoff, $0.120\text{ m}$ vertical lift).
|
||||
- End-effector $SO(3)$ orientation synthesis aligning hand $+Z$ along approach vector and $+Y$ along finger sliding axis.
|
||||
- Lula numerical inverse kinematics reachability validation evaluating joint continuity and physical joint limits for both grasp and pre-grasp standoff poses.
|
||||
- Multi-criteria composite quality scoring $[0.0, 100.0]$ evaluating normalized distance from joint limits, shelf headroom/angled front entry bonus ($+20\%$), and gripper stroke reserve margin.
|
||||
- 2D camera image projection rendering approach vectors, fingertip contact crosshairs, and candidate quality labels onto RGB camera frames.
|
||||
|
||||
### Issues Resolved
|
||||
- **ISS-015 (Franka Outer Workspace Reachability on Storage Rack):**
|
||||
- *Cause:* Source rack centered at $X=0.55\text{ m}$ with width $0.70\text{ m}$ placed far objects at $X=0.78\text{ m}, Y=-0.40\text{ m}$ ($0.88\text{ m}$ radial distance from base), exceeding Franka's $0.855\text{ m}$ reach envelope.
|
||||
- *Fix:* Optimized rack position to $[0.46, \pm 0.42, 0.0]$ and width to $0.52\text{ m}$, placing all shelf objects inside the dexterous workspace ($0.45 - 0.65\text{ m}$ radius) where Lula numerical IK converges on 20 of 23 candidates (87.0% reachability) with 0 joint limit violations.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase6_validation.py`:
|
||||
- Test 1 (Candidate Generation): PASSED (cube: 10, cuboid: 5, cylinder: 8 candidates).
|
||||
- Test 2 (Aperture Stroke Feasibility): PASSED (all valid candidates $\le 0.080\text{ m}$, oversized object 100% rejected).
|
||||
- Test 3 (Vector Geometry): PASSED (unit norms, $0.100\text{ m}$ standoff, $0.120\text{ m}$ lift, $0.0584\text{ m}$ tool offset).
|
||||
- Test 4 (Lula Numerical IK Reachability): PASSED (20/23 reachable [87.0%], 0 joint limit violations).
|
||||
- Test 5 (Quality Scoring & Ranking): PASSED (sorted descending, best grasp scores: 79.8, 79.2, 77.4, mean: 78.8 / 100.0).
|
||||
- Test 6 (Visual Deliverables): PASSED (`grasp_candidates_overlay.png` exported at 222.7 KB).
|
||||
- Overall Phase 6 Status: `PASSED` (6/6 tests passed).
|
||||
|
||||
---
|
||||
|
||||
## [Phase 5: 6D Pose Estimation Pipeline] - 2026-10-30
|
||||
|
||||
### Files Created
|
||||
- `src/vision/pose_estimator.py`: `PoseEstimator6D` and `EstimatedPose6D` implementing dense depth unprojection, viewing-ray surface offset compensation, planar PCA covariance decomposition, Oriented Bounding Box (OBB) optimization, and rotational symmetry wrapping.
|
||||
- `scripts/run_phase5_validation.py`: Standalone automated Phase 5 validation suite testing dense point clouds, outlier filtering, 3D centroid accuracy, covariance properties, 6D pose orientation accuracy, and visual render generation.
|
||||
- `scripts/view_phase5_deliverables.py`: Interactive 3D viewer for Phase 5 deliverables.
|
||||
- `docs/renders/pose_estimation_overlay.png`: Visual deliverable featuring projected 3D coordinate frames ($X$-red, $Y$-green, $Z$-blue) and 3D oriented bounding boxes.
|
||||
- `docs/renders/point_cloud_preview.png`: Visual deliverable displaying dense point clouds colored by object shape class cluster.
|
||||
- `docs/phase5_validation_report.json`: Machine-readable Phase 5 validation report confirming 6/6 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `src/vision/__init__.py`: Exported `PoseEstimator6D` and `EstimatedPose6D`.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 5 COMPLETED with metrics summary.
|
||||
- `docs/API_REFERENCE.md`: Documented `PoseEstimator6D` and `EstimatedPose6D`.
|
||||
- `docs/ALGORITHMS.md`: Updated Section 2.4 with mathematical formulation of viewing offset compensation, planar covariance, and OBB optimization.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added Section 2.6 and test matrix entries `TC-P5-01` through `TC-P5-06`.
|
||||
- `README.md` & `docs/README.md`: Updated Phase 5 completion status and execution commands.
|
||||
|
||||
### Features Added
|
||||
- Dense unprojection of masked depth pixels into metric 3D point clouds in optical and world coordinate frames.
|
||||
- Statistical and spatial outlier rejection ($3.0\sigma$ Gaussian filter and shelf contact plane constraint $Z \ge 0.54\text{ m}$).
|
||||
- Viewing-ray horizontal offset compensation correcting the front-surface visibility bias along the optical projection ray, bringing 3D centroid estimation accuracy to sub-centimeter levels across all shape classes.
|
||||
- Planar covariance decomposition on horizontal coordinates $C_{XY}$ with analytical eigenvalue ordering.
|
||||
- Oriented Bounding Box (OBB) angular search over $[0, 90^\circ)$ with 98th-percentile span evaluation, achieving sub-tenth-degree orientation precision ($0.07^\circ$ mean error).
|
||||
- Rotational symmetry resolution handling continuous rotational symmetry (cylinders), 2-fold symmetry (cuboids modulo $\pi$), and 4-fold symmetry (cubes modulo $\pi/2$), mapping estimated orientations to valid normalized Hamilton quaternions.
|
||||
- Pinhole perspective projection of 3D coordinate frame axes and 3D bounding box wireframes onto 2D camera images.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase5_validation.py`:
|
||||
- Test 1 (Point Cloud Extraction): PASSED (3,741 to 7,230 points, all finite, bounded).
|
||||
- Test 2 (Outlier Filtering): PASSED (97.0% to 100.0% inliers, all points above shelf plane).
|
||||
- Test 3 (3D Position Accuracy): PASSED (cuboid $9.36\text{ mm}$, cube $4.58\text{ mm}$, cylinder $4.70\text{ mm}$, mean $6.21\text{ mm}$ vs $< 20.0\text{ mm}$ criterion).
|
||||
- Test 4 (Covariance Eigendecomposition): PASSED (symmetric, PSD, positive trace across all objects).
|
||||
- Test 5 (Orientation Accuracy): PASSED (cuboid $0.10^\circ$, cube $0.12^\circ$, cylinder $0.00^\circ$, mean $0.07^\circ$ vs $< 10.0^\circ$ criterion, unit quaternions verified).
|
||||
- Test 6 (Visual Deliverables): PASSED (`pose_estimation_overlay.png` and `point_cloud_preview.png` exported).
|
||||
- Overall Phase 5 Status: `PASSED` (6/6 tests passed).
|
||||
|
||||
---
|
||||
|
||||
## [Phase 4: Vision Perception Pipeline] - 2026-10-30
|
||||
|
||||
### Files Created
|
||||
- `src/vision/__init__.py`: Package export for `CameraManager`, `SyntheticObjectDetector`, and `DetectedObject2D`.
|
||||
- `src/vision/camera_manager.py`: `CameraManager` class managing Replicator virtual cameras, render products, sensor annotator graphs (`rgb`, `distance_to_image_plane`, `semantic_segmentation`), analytical pinhole intrinsics ($K$), and $SE(3)$ camera extrinsics.
|
||||
- `src/vision/detector.py`: `SyntheticObjectDetector` class and `DetectedObject2D` dataclass for semantic object segmentation, 2D bounding boxes, centroids, and metric depth unprojection.
|
||||
- `scripts/run_phase4_validation.py`: Standalone automated Phase 4 validation suite testing camera intrinsics, synchronized multimodal capture, depth range, semantics, 2D detection, and 3D back-projection.
|
||||
- `docs/renders/vision_rgb_preview.png`: 24-bit RGB frame preview captured from the elevated shelf camera.
|
||||
- `docs/renders/vision_depth_preview.png`: Inverted normalized metric depth map showing shelf object geometry.
|
||||
- `docs/renders/vision_semantic_preview.png`: Colored semantic segmentation overlay with 2D bounding boxes, centroid crosshairs, and distance annotations.
|
||||
- `docs/phase4_validation_report.json`: Machine-readable Phase 4 validation report confirming 6/6 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `src/environment/object_generator.py`: Integrated multi-schema semantics (`rep.modify.semantics`, `sem_utils.add_labels`, and `SemanticsAPI`) across `spawn_cube`, `spawn_cuboid`, and `spawn_cylinder` for Replicator graph recognition.
|
||||
- `config/vision_config.yaml`: Updated camera pose to elevated shelf-viewing perspective (`[0.62, -0.02, 0.80]`, look_at `[0.62, -0.42, 0.58]`, focal length $16.0\text{ mm}$, near clip $0.05\text{ m}$).
|
||||
- `src/__init__.py`: Bumped version to `0.4.0` and exposed `vision` module.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 4 COMPLETED with metrics summary.
|
||||
- `docs/API_REFERENCE.md`: Added Section 4 detailing `CameraManager`, `SyntheticObjectDetector`, and `DetectedObject2D`.
|
||||
- `docs/ALGORITHMS.md`: Updated Section 2.3 and added Section 2.10 (2D Semantic Mask Centroid & Bounding Box Extraction).
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added test cases `TC-P4-01` to `TC-P4-06`.
|
||||
- `README.md` & `docs/README.md`: Updated Phase 4 completion status.
|
||||
|
||||
### Features Added
|
||||
- Virtual RTX camera positioned to view directly into the shelf opening between Shelf 1 and Shelf 2 without occlusion.
|
||||
- Synchronized multimodal frame capture yielding $640 \times 480 \times 3$ uint8 RGB, $640 \times 480$ float32 metric depth, and integer semantic segmentation masks.
|
||||
- Analytical pinhole camera model producing exact $3 \times 3$ intrinsic matrix $K$ ($f_x = 488.67$, $f_y = 488.67$, $c_x = 320.0$, $c_y = 240.0$).
|
||||
- Proper optical-to-USD extrinsics $T_{\text{world} \leftarrow \text{cam}}$ supporting both standard ROS optical coordinates and USD stage coordinates.
|
||||
- Synthetic 2D object detection with bounding box extraction, centroid calculation, and metric depth sampling.
|
||||
- 3D metric back-projection localizing shelf objects in world space with $< 20.0\text{ mm}$ error compared to ground-truth PhysX Fabric coordinates.
|
||||
|
||||
### Bugs Fixed
|
||||
1. **Replicator Deprecated Semantics Schema:**
|
||||
- *Issue:* In Isaac Sim 6.2 / Kit 110.4, Replicator's `semantic_segmentation` annotator reported objects as `UNLABELLED` when only legacy `Semantics.SemanticsAPI` attributes were present.
|
||||
- *Fix:* Integrated `rep.modify.semantics([("class", semantic_label)])` and `isaacsim.core.utils.semantics.add_labels` directly into `ObjectGenerator._apply_semantics()`, guaranteeing Replicator registers `object_cube`, `object_cuboid`, and `object_cylinder`.
|
||||
2. **Top Shelf Occlusion of Middle Shelf Objects:**
|
||||
- *Issue:* Overhead camera placed high above the rack was blocked by the top shelf plate (Shelf 2 at $Z=0.85\text{ m}$), which occluded the target objects resting on Shelf 1 ($Z=0.55\text{ m}$).
|
||||
- *Fix:* Repositioned camera in front of the rack at $Z=0.80\text{ m}$, looking slightly downward into the shelf opening at $Z=0.58\text{ m}$, providing an unobstructed view of all three objects on Shelf 1.
|
||||
3. **Replicator Default Near-Clipping Plane:**
|
||||
- *Issue:* Replicator's default near clipping distance ($1.0\text{ m}$) clipped objects located $0.35\text{ m} - 0.45\text{ m}$ in front of the camera.
|
||||
- *Fix:* Configured `clipping_range=(0.05, 10.0)` in `rep.create.camera` ensuring near-field objects down to $5\text{ cm}$ are rendered.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase4_validation.py`:
|
||||
- Test 1 (Camera Intrinsics): PASSED ($f_x=488.67, f_y=488.67, c_x=320.0, c_y=240.0$).
|
||||
- Test 2 (Multimodal Capture): PASSED (RGB, Depth, Semantics shapes & dtypes verified).
|
||||
- Test 3 (Depth Buffer Range): PASSED (min depth $0.317\text{ m}$, 297,408 valid pixels).
|
||||
- Test 4 (Semantic Labels): PASSED (cube: 7040 px, cuboid: 7230 px, cylinder: 3741 px).
|
||||
- Test 5 (2D Object Detection): PASSED (3/3 objects detected, centroids strictly inside BBoxes).
|
||||
- Test 6 (Extrinsics & 3D Back-Projection): PASSED ($SE(3)$ error $3.14 \times 10^{-16}$, localization error: cuboid $15.0\text{ mm}$, cylinder $16.6\text{ mm}$, cube $20.0\text{ mm}$).
|
||||
- Overall Phase 4 Status: `PASSED` (6/6 tests passed).
|
||||
|
||||
---
|
||||
|
||||
## [Phase 3: Robot Integration] - 2026-10-30
|
||||
|
||||
|
||||
### Files Created
|
||||
- `src/robot/__init__.py`: Package export for `FrankaRobot`, `ParallelJawGripper`, and `FrankaKinematics`.
|
||||
- `src/robot/articulation.py`: `FrankaRobot` class managing Franka Panda USD streaming from S3 Cloud CDN, 9-DOF Articulation binding, joint control targets, and end-effector link queries.
|
||||
- `src/robot/gripper.py`: `ParallelJawGripper` class controlling Franka Hand prismatic fingers, symmetric aperture sizing ($0.0 - 0.08\text{ m}$), contact grasp sensing, and open/close state detection.
|
||||
- `src/robot/kinematics.py`: `FrankaKinematics` class encapsulating NVIDIA `LulaKinematicsSolver` for analytical Forward Kinematics and numerical Inverse Kinematics with joint limit enforcement.
|
||||
- `scripts/run_phase3_validation.py`: Automated Phase 3 validation suite evaluating asset composition, DOF structure, home stability, joint tracking, gripper actuation, FK precision, and IK convergence across warehouse envelopes.
|
||||
- `scripts/render_robot_warehouse_snapshot.py`: Script rendering a high-resolution 1080p RTX snapshot of Franka Panda stationed between warehouse racks.
|
||||
- `docs/renders/robot_warehouse_preview.png`: 1080p RTX render preview of Franka arm and gripper stationed between storage racks.
|
||||
- `docs/phase3_validation_report.json`: Machine-readable Phase 3 validation report confirming 7/7 passed tests.
|
||||
|
||||
### Files Modified
|
||||
- `src/__init__.py`: Exposed `core`, `environment`, and `robot` subpackages; updated package version to `0.3.0`.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Marked Phase 3 as COMPLETED with full metrics review and Phase 4 dependencies.
|
||||
- `docs/API_REFERENCE.md`: Added Section 3 detailing `FrankaRobot`, `ParallelJawGripper`, and `FrankaKinematics` APIs.
|
||||
- `docs/ALGORITHMS.md`: Added Sections 2.6 (Forward Kinematics), 2.7 (Lula Inverse Kinematics), and 2.8 (Gripper Aperture & Contact Sensing).
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added Section 2.4 and test cases `TC-P3-01` to `TC-P3-07`.
|
||||
- `docs/ISSUES_AND_SOLUTIONS.md`: Recorded ISS-007, ISS-008, ISS-009, and their resolutions.
|
||||
- `docs/IMPLEMENTATION_DETAILS.md`: Added Phase 3 architecture and joint hierarchy details.
|
||||
- `README.md` & `docs/README.md`: Updated completion status and validation commands for Phase 3.
|
||||
|
||||
### Features Added
|
||||
- Franka Emika Panda 7-DOF manipulator and 2-DOF parallel gripper integrated into the warehouse scene without local disk storage footprint via NVIDIA S3 Cloud CDN asset streaming.
|
||||
- Full 9-DOF PhysX Articulation binding with PD position control target actuation and real-time velocity sensing.
|
||||
- High-level parallel-jaw gripper control with physical grasp verification (`is_grasped()`, `is_open()`, `is_closed()`).
|
||||
- NVIDIA Lula kinematics engine delivering analytical forward kinematics and gradient-based inverse kinematics with position and orientation constraints.
|
||||
- Real-time tool frame pose query on `panda_hand` and individual fingertip links (`panda_leftfinger`, `panda_rightfinger`) directly from PhysX Fabric.
|
||||
|
||||
### Bugs Fixed
|
||||
1. **ConfigManager Unpacking in FrankaRobot (ISS-007):**
|
||||
- *Issue:* `ConfigManager.robot` property already returned the nested dictionary under `"robot"`. Calling `.get("robot", {})` on it produced an empty dictionary, causing default zero joint angles for the home pose.
|
||||
- *Fix:* Safely unpacked `rcfg = config_manager.robot if hasattr(config_manager, "robot") else config_manager` and checked `rcfg.get("robot", rcfg)` in both `FrankaRobot` and `ParallelJawGripper`.
|
||||
2. **References Metadata Query on UsdPrim (ISS-008):**
|
||||
- *Issue:* Calling `robot_prim.GetReferences().GetMetadata()` raised `AttributeError: 'References' object has no attribute 'GetMetadata'`.
|
||||
- *Fix:* Checked `robot_prim.HasAuthoredReferences()` and validated child prim `stage.GetPrimAtPath("/World/Franka/panda_link0").IsValid()`.
|
||||
3. **Collision-Aware Joint Targets in Presence of Warehouse Racks (ISS-009):**
|
||||
- *Issue:* Unconstrained joint targets in Test 4 drove the manipulator into the front frame pillar of the storage rack, causing the PhysX collision solver to arrest joint travel.
|
||||
- *Fix:* Replaced arbitrary joint angles with verified collision-free workspace configurations (Mid-Workspace transport pose, pre-approach shelf pose, and home pose).
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase3_validation.py`:
|
||||
- Test 1 (Asset Spawning): PASSED (prim valid at `/World/Franka`).
|
||||
- Test 2 (Articulation Structure): PASSED (9 DOFs, 7 arm, 2 fingers, limits verified).
|
||||
- Test 3 (Home Pose Stability): PASSED (max joint error $1.34\text{ mrad}$, velocity $< 0.007\text{ rad/s}$).
|
||||
- Test 4 (Joint Position Control): PASSED (target tracking error $< 9.5\text{ mrad}$).
|
||||
- Test 5 (Gripper Actuation & Sensing): PASSED (open $0.080\text{ m}$, closed $0.001\text{ m}$, grasp states verified).
|
||||
- Test 6 (Forward Kinematics Accuracy): PASSED ($0.0\text{ mm}$ error vs PhysX Fabric).
|
||||
- Test 7 (Inverse Kinematics Reachability): PASSED (100% convergence across 4 workspace poses, round trip error $\le 1.1\text{ mm}$).
|
||||
- Overall Phase 3 Status: `PASSED` (7/7 tests passed).
|
||||
|
||||
---
|
||||
|
||||
## [Phase 2: Warehouse Environment & Object Randomization] - 2026-10-30
|
||||
|
||||
### Files Created
|
||||
- `src/environment/__init__.py`: Package export for procedural rack generator, object generator, and scene builder.
|
||||
- `src/environment/rack_generator.py`: `StorageRackGenerator` constructing procedural OpenUSD racks with pillars, shelves, and PhysX collision.
|
||||
- `src/environment/object_generator.py`: `ObjectGenerator` creating cubes, cuboids, and cylinders with random dimensions, masses, colors, semantic classes, uniform 2D sampling, and quaternion yaw rotations.
|
||||
- `src/environment/scene_builder.py`: `WarehouseSceneBuilder` managing multi-rack layouts, object population, stage serialization, and ground-truth pose extraction.
|
||||
- `data/scenes/warehouse_scene.usda`: Complete exported OpenUSD warehouse scene (23,464 bytes).
|
||||
- `scripts/run_phase2_validation.py`: Automated Phase 2 validation script testing rack generation, object randomization, scene export, and 60-frame PhysX settlement.
|
||||
- `docs/phase2_validation_report.json`: Machine-readable Phase 2 validation report.
|
||||
|
||||
### Files Modified
|
||||
- `config/environment_config.yaml`: Updated `max_objects_per_shelf` to 3 to ensure cubes, cuboids, and cylinders are all represented.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Updated Phase 2 status to COMPLETED and documented Phase 3 dependencies.
|
||||
- `docs/ISSUES_AND_SOLUTIONS.md`: Recorded ISS-006 (Cube/Cylinder positions vs translations under parent Xform).
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Added Phase 2 test protocol and empirical results.
|
||||
- `docs/IMPLEMENTATION_DETAILS.md`: Added Phase 2 architecture, class designs, and algorithms.
|
||||
- `docs/API_REFERENCE.md`: Added API reference for `StorageRackGenerator`, `ObjectGenerator`, and `WarehouseSceneBuilder`.
|
||||
- `README.md` & `docs/README.md`: Updated with Phase 2 capabilities and test commands.
|
||||
|
||||
### Features Added
|
||||
- Procedural generation of industrial storage racks with configurable widths, depths, heights, and multi-level shelves without external 3D modeling dependencies.
|
||||
- Static PhysX collision meshes applied to all horizontal shelf planks via `GeomPrim(apply_collision_apis=True)`.
|
||||
- Multi-shape procedural object spawner supporting cubes, asymmetric cuboids, and cylinders with PhysX rigid body dynamics and custom mass attributes (`UsdPhysics.MassAPI`).
|
||||
- Semantic class annotation using native `Semantics.SemanticsAPI` (`object_cube`, `object_cuboid`, `object_cylinder`).
|
||||
- Spatial rejection sampling algorithm enforcing boundary margins and inter-object Euclidean clearance.
|
||||
- 1-DOF quaternion planar yaw sampling maintaining static equilibrium on shelf surfaces.
|
||||
- Stage serialization exporting live simulation scenes into standalone `.usda` files.
|
||||
|
||||
### Bugs Fixed
|
||||
1. **Cube/Cylinder Positions vs Translations under Parent Xform (ISS-006):**
|
||||
- *Issue:* In `StorageRackGenerator`, passing `positions=[[0, 0, sh_z]]` to `Cube` placed child shelves at world coordinates $(0, 0, 0.55)$ rather than offset relative to `/World/SourceRack` $(0.55, -0.45, 0.0)$, causing spawned objects to fall through to the ground plane.
|
||||
- *Fix:* Passed `translations=[shelf_pos]` and `translations=[pillar_pos]`, ensuring child prims are positioned in the local coordinate space of their parent rack Xform.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/run_phase2_validation.py`:
|
||||
- Source rack and destination rack generated with 3 shelves each.
|
||||
- 3 objects spawned representing all 3 target shapes: `cube_01`, `cuboid_02`, `cylinder_03`.
|
||||
- OpenUSD scene serialized to `data/scenes/warehouse_scene.usda` (23,464 bytes).
|
||||
- 60 frames of PhysX physics stepped: all objects settled stably at $Z \approx 0.59 - 0.60\text{ m}$ on shelf middle surface ($Z_{\text{top}} = 0.56\text{ m}$) with zero penetration, zero dropouts, and zero physical instability. Overall status: `PASSED`.
|
||||
|
||||
---
|
||||
|
||||
## [Phase 1: Environment Setup & Core Subsystems] - 2026-10-30
|
||||
|
||||
### Files Created
|
||||
- `docs/ENVIRONMENT_SETUP.md`: Comprehensive host workstation inspection, Isaac Sim 6.2 versions, GPU specs, disk constraints, and verified extension inventory.
|
||||
- `docs/PROJECT_OVERVIEW.md`: System mission statement, architecture roadmap, and operational guidelines.
|
||||
- `docs/ARCHITECTURE.md`: Subsystem block diagram, module interactions, and coordinate transformation pipeline.
|
||||
- `docs/TECH_STACK.md`: Complete technology catalog, version matrix, and NVIDIA-native substitutions.
|
||||
- `docs/ALGORITHMS.md`: Mathematical formulations for sampling, depth back-projection, PCA pose estimation, cuMotion RMPflow, and manipulation FSM.
|
||||
- `docs/IMPLEMENTATION_DETAILS.md`: Class structures, lifecycle methods, and data contracts for Phase 1.
|
||||
- `docs/CHANGELOG.md`: Chronological log of code modifications, features, bug fixes, and validation results.
|
||||
- `docs/ISSUES_AND_SOLUTIONS.md`: Incident tracking log documenting root causes, investigations, and resolutions.
|
||||
- `docs/PHASE_WISE_PROGRESS.md`: Phase status tracking, completion checklist, and next phase dependencies.
|
||||
- `docs/TESTING_AND_VALIDATION.md`: Test protocols, verification scripts, and empirical test results.
|
||||
- `docs/KPI_DEFINITIONS.md`: Metric definitions, mathematical formulas, and measurement methods.
|
||||
- `docs/API_REFERENCE.md`: Public API documentation for configuration, simulation management, and UI windows.
|
||||
- `docs/FUTURE_ENHANCEMENTS.md`: Advanced enhancements including mobile manipulators, extendable arms, and multi-robot coordination.
|
||||
- `docs/README.md`: Master documentation hub and index.
|
||||
- `config/simulation_config.yaml`: Physics $\Delta t$, GPU pipeline, gravity, stage scaling, and lighting configuration.
|
||||
- `config/environment_config.yaml`: Storage rack specifications, shelf heights, collision parameters, and object randomization limits.
|
||||
- `config/robot_config.yaml`: Franka Panda articulation path, joint names, parallel-jaw gripper aperture and force, home joint angles.
|
||||
- `config/vision_config.yaml`: RTX camera intrinsics, position, orientation, resolution, and annotator configuration.
|
||||
- `config/motion_config.yaml`: cuMotion RMPflow convergence tolerances, obstacle clearance margins, and FSM timing limits.
|
||||
- `exts/omni.isaac.pick_place/config/extension.toml`: Omniverse Kit package specification and dependency graph.
|
||||
- `exts/omni.isaac.pick_place/omni/isaac/pick_place/__init__.py`: Extension package export.
|
||||
- `exts/omni.isaac.pick_place/omni/isaac/pick_place/extension.py`: `omni.ext.IExt` lifecycle management class.
|
||||
- `exts/omni.isaac.pick_place/omni/isaac/pick_place/ui/window.py`: Native `omni.ui` simulation control and KPI dashboard window.
|
||||
- `src/__init__.py`: Project package root.
|
||||
- `src/core/__init__.py`: Core package export.
|
||||
- `src/core/config.py`: `ConfigManager` configuration loader class.
|
||||
- `src/core/simulation_manager.py`: `CoreSimulationManager` simulation lifecycle manager class.
|
||||
- `scripts/verify_environment.py`: Automated diagnostic probe script for hardware, Isaac Sim 6.2, PhysX, RTX camera, and cuMotion.
|
||||
- `scripts/run_phase1_validation.py`: Automated Phase 1 test suite validating extension loading, stage initialization, and physics warmup.
|
||||
|
||||
### Features Added
|
||||
- Automated environment verification script probing host OS, RTX 5090 GPU, driver, disk thresholds, and native Isaac Sim 6.2 APIs.
|
||||
- Configuration-driven architecture decoupling simulation, environment, robot, vision, and motion parameters from code.
|
||||
- Custom Omniverse Kit extension `omni.isaac.pick_place` with `omni.ui` control dashboard.
|
||||
- Core simulation manager wrapping `SimulationManager` and `app_utils` for deterministic headless and GUI stepping.
|
||||
|
||||
### Bugs Fixed
|
||||
1. **SimulationApp Shutdown Process Termination:**
|
||||
- *Issue:* Calling `simulation_app.close()` in `scripts/verify_environment.py` terminated the Python interpreter via Carbonite runtime exit, skipping file writing logic positioned after `.close()`.
|
||||
- *Fix:* Reordered execution so JSON report writing is finalized inside a `finally` block before calling `simulation_app.close()`.
|
||||
2. **Warp Array Indexing:**
|
||||
- *Issue:* Attempting direct NumPy indexing on `cube_pos` from `RigidPrim.get_world_poses()` raised `RuntimeError: Item indexing is not supported on wp.array objects`.
|
||||
- *Fix:* Added `.numpy()` conversion on Warp array objects prior to coordinate extraction.
|
||||
3. **Kit Extension Manager Registration Method:**
|
||||
- *Issue:* Calling `ext_manager.add_ext_folder_path()` raised `AttributeError` in Kit 110.4.
|
||||
- *Fix:* Identified native Kit 110.4 API `ext_manager.add_path(ext_path)`.
|
||||
|
||||
### Validation Performed
|
||||
- Executed `scripts/verify_environment.py`: 100% pass across PhysX rigid body dropping, RTX camera RGB-D-Sem rendering, Franka cuMotion loading, and S3 CDN asset verification. Report saved to `docs/environment_verification_report.json`.
|
||||
- Executed `scripts/run_phase1_validation.py`: 100% pass across configuration loading, custom extension enablement (`omni.isaac.pick_place-1.0.0`), stage initialization, and 60-frame simulation warmup. Report saved to `docs/phase1_validation_report.json`.
|
||||
Reference in New Issue
Block a user