Files

38 lines
1.5 KiB
YAML

# Simulation Configuration
# Controls physics, rendering, lifecycle, and stepping parameters
simulation:
physics_dt: 0.016666666666666666 # 60 Hz physics step
rendering_dt: 0.03333333333333333 # 30 Hz sensor update
physics_device: "cuda" # GPU physics pipeline
gravity: [0.0, 0.0, -9.81]
warmup_frames: 120 # Extended from 60→120 so all spawned objects settle on shelves
headless: false
stage_units_in_meters: 1.0
world_prim_path: "/World"
default_ground_plane: true
dome_light:
intensity: 1200.0
color: [1.0, 1.0, 1.0]
# PhysX scene solver — prevents object vibration and shelf micro-bounce
# Applied programmatically in CoreSimulationManager.setup_stage()
physx_solver:
solver_type: "TGS" # Temporal Gauss-Seidel: more stable than PGS for stacked objects
bounce_threshold: 0.002 # 2mm bounce threshold — suppresses micro-bounces
friction_offset_threshold: 0.001
friction_correlation_distance: 0.0005
# Per-rigid-body defaults (applied by ObjectGenerator to each spawned object)
rigid_body_defaults:
angular_damping: 20.0 # Prevents rotational drift from solver residuals
linear_damping: 10.0 # Prevents translational drift
sleep_threshold: 0.001 # Objects sleep at <1mm/s — eliminates micro-vibration
stabilization_threshold: 0.0005
solver_position_iterations: 16 # High iterations → tight contact resolution
solver_velocity_iterations: 4
logging:
task_log_path: "outputs/simulation_tasks.csv"