RoboHome / code /robohome /docs /configuration.md
wentywenty's picture
Verify RoboHome source completeness and document portable workflows
75e20e2 verified
|
Raw History Blame Contribute Delete
3.44 kB

Configuration

External data locations are explicit environment variables or collection-config values. JSON templates use ${NAME}; missing values name the variable to configure.

Generation Inputs

Variable Resource
RHG_BLENDER Blender executable
RHG_ROOTFS Root filesystem containing native inputs
RHG_LIBRARY_ROOT Asset library; runtime library_root must agree
RHG_RUNTIME_TEMPLATE Runtime JSON with Blender, library and annotation index
RHG_PREPARED_ASSET_POOL SQLite pool with its valid sibling receipt
RHG_COLLISION_FRAME_MAPPINGS Verified collision-frame mapping JSON
RHG_RPLAN_SEEDS Floorplan library JSON
RHG_FLOORPLAN_VLM_MODEL Local Qwen3-VL weights, for image input only

prepare --help lists explicit options for retrieval and appearance indexes, attribute releases, supplemental pools, caches and material preparation. Configure paths inside runtime JSON as well as top-level variables. Receipts, source hashes and qualification records must accompany external data.

Collection Configuration

Copy config/collection.example.json to config/collection.local.json. Replace placeholders or export the corresponding variables before use.

Required resource keys: blender, rootfs, runtime_template, collision_frame_mappings, prepared_asset_pool, supplemental_prepared_pool, prepared_cache, retrieval_index, appearance_index, attribute_release, mdl_sdk_root, mdl_sdk_python, material_artifact_index, artifact_cache_root, digest_cache, and library.

rplan_seeds aliases library; if both are present they must resolve to the same file. asset_library_root is separate and may be empty to use the runtime template. Optional review_python, review_site, residential_profile, retrieval_rounds, preparation_budget and rendering settings can be filled directly. Unused fields must not contain unresolved placeholders.

Keep digest and mutable artifact caches on local storage. Configure min_free_gb and run_dir_retention for expected output size.

Optional Backends

  • Blender has its own Python ABI. Install geometry packages for that ABI; a host virtual environment cannot be copied across incompatible Python versions.
  • USD assets need OpenUSD's pxr. MDL materials need the SDK, its Python runtime and the material-artifact index configured in the runtime template.
  • Image input needs compatible PyTorch/Torchvision, Qwen3-VL-capable Transformers, OpenCV and local model weights.
  • Rendering supports CPU and, where available in Blender, CUDA or OptiX.

Optional Test Evidence

RHG_TEST_EVIDENCE_ROOT may point to saved-scene regression evidence containing q29/structural_precision_022.json and q59/wall_q59.json. The default location is src/tests/fixtures/structural/. These external scene records are not in the source snapshot; tests requiring them explicitly skip when they are unavailable. Pure geometry tests run independently. No synthetic records replace the saved-scene evidence.

Path Migration

src/tools/relocate_paths.py writes relocated copies of data records and reports unmapped locations. It never overwrites the input dataset:

python src/tools/relocate_paths.py --help

RHG_* names are engine interfaces. Legacy path mode supplies no hidden machine defaults in this delivery; configure every external root explicitly.