Files
Pick-And-Place-Simulation-P…/config/environment_config.yaml
T

221 lines
6.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Warehouse Environment Configuration
# All manipulation objects are procedural primitives — no external USD assets required.
# Robot base: [0, 0, 0] Corridor Y range: [-0.38, +0.38]
warehouse:
racks:
# ── SOURCE RACKS (robot picks FROM these) ──────────────────────────────────
source_rack: # Bay 1 Right — primary pick rack
prim_path: "/World/Racks/SourceRack"
position: [0.46, -0.52, 0.0]
orientation_euler: [0.0, 0.0, 0.0]
width: 0.52
depth: 0.28
height: 1.20
num_shelves: 3
shelf_heights: [0.25, 0.55, 0.95]
shelf_thickness: 0.02
frame_pillar_radius: 0.015
color_frame: [0.20, 0.20, 0.25]
color_shelf: [0.55, 0.55, 0.60]
apply_collision: true
source_rack_bay2: # Bay 2 Right — extended X reach (X=1.00m)
prim_path: "/World/Racks/SourceBay2"
position: [1.00, -0.52, 0.0]
orientation_euler: [0.0, 0.0, 0.0]
width: 0.52
depth: 0.28
height: 1.20
num_shelves: 3
shelf_heights: [0.25, 0.55, 0.90]
shelf_thickness: 0.02
frame_pillar_radius: 0.015
color_frame: [0.22, 0.18, 0.20]
color_shelf: [0.58, 0.52, 0.55]
apply_collision: true
rear_rack_right: # Rear Right — behind robot, long reach
prim_path: "/World/Racks/RearRight"
position: [-0.60, -0.52, 0.0]
orientation_euler: [0.0, 0.0, 0.0]
width: 0.52
depth: 0.28
height: 1.20
num_shelves: 3
shelf_heights: [0.25, 0.55, 0.90]
shelf_thickness: 0.02
frame_pillar_radius: 0.015
color_frame: [0.18, 0.22, 0.20]
color_shelf: [0.52, 0.58, 0.55]
apply_collision: true
# ── DESTINATION RACKS (robot places TO these) ──────────────────────────────
destination_rack: # Bay 1 Left — primary place rack
prim_path: "/World/Racks/DestinationRack"
position: [0.46, 0.52, 0.0]
orientation_euler: [0.0, 0.0, 0.0]
width: 0.72
depth: 0.28
height: 1.20
num_shelves: 3
shelf_heights: [0.25, 0.55, 0.95]
shelf_thickness: 0.02
frame_pillar_radius: 0.015
color_frame: [0.18, 0.25, 0.18]
color_shelf: [0.52, 0.60, 0.52]
apply_collision: true
destination_rack_bay2: # Bay 2 Left — extended X reach (X=1.00m)
prim_path: "/World/Racks/DestinationBay2"
position: [1.00, 0.52, 0.0]
orientation_euler: [0.0, 0.0, 0.0]
width: 0.52
depth: 0.28
height: 1.20
num_shelves: 3
shelf_heights: [0.25, 0.55, 0.90]
shelf_thickness: 0.02
frame_pillar_radius: 0.015
color_frame: [0.18, 0.22, 0.25]
color_shelf: [0.52, 0.56, 0.60]
apply_collision: true
rear_rack_left: # Rear Left — behind robot, long reach
prim_path: "/World/Racks/RearLeft"
position: [-0.60, 0.52, 0.0]
orientation_euler: [0.0, 0.0, 0.0]
width: 0.52
depth: 0.28
height: 1.20
num_shelves: 3
shelf_heights: [0.25, 0.55, 0.90]
shelf_thickness: 0.02
frame_pillar_radius: 0.015
color_frame: [0.22, 0.20, 0.25]
color_shelf: [0.56, 0.52, 0.60]
apply_collision: true
# ── Object definitions ─────────────────────────────────────────────────────────
# All shapes are procedural primitives — Cube / Cylinder from Isaac Sim APIs.
# Fields:
# family : "cube" | "cuboid" | "cylinder"
# size : (cube only) side length in metres
# width/depth/height : (cuboid) in metres
# radius/height : (cylinder) in metres
# color : [R, G, B] in [0,1]
# mass_kg : rigid-body mass
# semantic_label: string tag for the vision annotator
objects:
randomization:
seed: 42
max_objects_per_shelf: 4 # 4 target objects spread across shelf X-span
spawn_shelf_indices: [1] # Middle shelf (Z=0.55m) — optimal Franka reach height
margin_x: 0.04
supported_shapes:
cube_small:
family: cube
size: 0.050
width: 0.050
depth: 0.050
height: 0.050
color: [0.90, 0.15, 0.15] # bright red
mass_kg: 0.12
semantic_label: "cube_small"
display_name: "Small Red Cube (50mm)"
cube_medium:
family: cube
size: 0.070
width: 0.070
depth: 0.070
height: 0.070
color: [0.95, 0.50, 0.05] # orange
mass_kg: 0.22
semantic_label: "cube_medium"
display_name: "Medium Orange Cube (70mm)"
cuboid_flat:
family: cuboid
width: 0.060
depth: 0.080
height: 0.040
color: [0.10, 0.30, 0.90] # blue
mass_kg: 0.18
semantic_label: "cuboid_flat"
display_name: "Flat Blue Cuboid (60×80×40mm)"
cuboid_tall:
family: cuboid
width: 0.050
depth: 0.050
height: 0.120
color: [0.10, 0.85, 0.85] # cyan
mass_kg: 0.20
semantic_label: "cuboid_tall"
display_name: "Tall Cyan Cuboid (50×50×120mm)"
cone:
family: cone
radius: 0.028
height: 0.090
width: 0.056
depth: 0.056
color: [0.10, 0.85, 0.85] # cyan
mass_kg: 0.15
semantic_label: "cone"
display_name: "Cyan Cone (r=28mm, h=90mm)"
cuboid_wide:
family: cuboid
width: 0.120
depth: 0.050
height: 0.060
color: [0.85, 0.10, 0.85] # magenta
mass_kg: 0.25
semantic_label: "cuboid_wide"
display_name: "Wide Magenta Cuboid (120×50×60mm)"
cylinder_thin:
family: cylinder
radius: 0.020
height: 0.100
width: 0.040
depth: 0.040
color: [0.10, 0.80, 0.20] # green
mass_kg: 0.10
semantic_label: "cylinder_thin"
display_name: "Thin Green Cylinder (r=20mm, h=100mm)"
cylinder_wide:
family: cylinder
radius: 0.026
height: 0.060
width: 0.052
depth: 0.052
color: [0.95, 0.90, 0.05] # yellow
mass_kg: 0.12
semantic_label: "cylinder_wide"
display_name: "Wide Yellow Cylinder (r=26mm, h=60mm)"
cylinder_tall:
family: cylinder
radius: 0.025
height: 0.140
width: 0.050
depth: 0.050
color: [0.55, 0.10, 0.90] # purple
mass_kg: 0.14
semantic_label: "cylinder_tall"
display_name: "Tall Purple Cylinder (r=25mm, h=140mm)"
inventory_boxes:
enabled: true
shelf_inventory_density: 2 # 2 grey inventory cuboids per non-active shelf