Expand description
Project directories
Constants§
- ASSETS_
DIR - Assets directory
- ASSETS_
IMAGES_ DIR - Assets images subdirectory
- BEHAVIORS_
DIR - Behavior trees directory - nested under
configs/(LAB-2072) somecha10 config push/pull/listgenuinely sync it like any other config, instead of living as a sibling top-level directorycollect_configs_from_dirnever walked. - DEV_
PREFLIGHT_ CACHE_ FILE - Cache file for
mecha10 dev’s project-level Python dependency preflight gate - seehandlers/dev/ops/preflight.rsin themecha10-clicrate. Purely a speed optimization: a missing or stale-and-discarded cache always falls back to a real scan, so nothing about correctness depends on this file existing or being fresh. - DRIVERS_
DIR - Driver source code directory
- LOGS_
DIR - Logs directory
- MODELS_
DIR - Models directory (ONNX models, etc.)
- NODES_
DIR - Node source code directory
- SIMULATION_
DIR - Simulation directory
- SIMULATION_
ENVIRONMENTS_ DIR - Simulation environments directory
- SIMULATION_
MODELS_ DIR - Simulation models directory
- SIMULATION_
OUTPUT_ DIR - Simulation output directory (generated robot/scene files)
- SIMULATION_
TASKS_ DIR - Simulation task-curriculum configs directory (LAB-2019) - scaffolded from the templates
package’s bundled catalog at
mecha10 inittime, alongsideSIMULATION_MODELS_DIR/SIMULATION_ENVIRONMENTS_DIR.mecha10_rl.mujoco.cli serve --assets-path(supervised bypackages/nodes/simulator) resolves task configs (e.g.task1) from here. - SRC_DIR
- Source directory
- STATE_
DIR - Local (gitignored) project-scoped state directory - mirrors the
~/.mecha10user-home convention (user::MECHA10_DIR) but scoped to this project checkout, for caches/state that are specific to one clone and shouldn’t be committed to git (e.g.mecha10 dev’s Python dependency preflight cache - seeDEV_PREFLIGHT_CACHE_FILE/handlers/dev/ops/preflight.rsin themecha10-clicrate). - TARGET_
DIR - Cargo build target directory
- TYPES_
DIR - Types directory
Functions§
- environment_
config - Get path to an environment’s config file
- model_
config - Get path to a model’s config file