Skip to main content

Module project

Module project 

Source
Expand description

Project directories

Constants§

BEHAVIORS_DIR
Behavior trees directory - nested under configs/ (LAB-2072) so mecha10 config push/pull/list genuinely sync it like any other config, instead of living as a sibling top-level directory collect_configs_from_dir never walked.
DEV_PREFLIGHT_CACHE_FILE
Cache file for mecha10 dev’s project-level Python dependency preflight gate.
DRIVERS_DIR
Driver source code directory
LOGS_DIR
Logs directory
MODELS_CATALOG_DIR
Model catalog subdirectory, bind-mounted into the ollama Compose service as /root/.ollama/models (see docker-compose.yml.template).
MODELS_DIR
Models directory (ONNX models, etc.)
NODES_DIR
Node source code directory
NODES_MECHA10_DIR
Framework node (@mecha10 scope) schema directory, under the project’s nodes/ directory. This is where a framework node’s <name>.schema.json lives.
RL_TASKS_DIR
RL task-curriculum configs directory, scaffolded from the templates package’s bundled catalog at mecha10 init time. mecha10-rl’s AssetResolver resolves task configs (e.g. task1) from here for training (mecha10 train).
SIMULATION_DIR
Simulation directory - nested under configs/ (moved from a top-level simulation/ sibling) so mecha10 config push/pull syncs it like any other config, the same reason BEHAVIORS_DIR moved under configs/ in LAB-2072.
SIMULATION_ENVIRONMENTS_DIR
Simulation environments directory
SIMULATION_IMAGES_DIR
Simulation billboard-image assets directory (type: "image" environment.json/ task.json objects’ source fields point here) - flat, no per-environment nesting.
SIMULATION_MODELS_DIR
Simulation models directory
SIMULATION_OUTPUT_DIR
Simulation output directory (generated robot/scene files)
SRC_DIR
Source directory
STATE_DIR
Local (gitignored) project-scoped state directory - mirrors the ~/.mecha10 user-home convention (user::MECHA10_DIR) but scoped to this project checkout.
TARGET_DIR
Cargo build target directory
TYPES_DIR
Types directory

Functions§

framework_node_schema_dir
The framework node’s schema directory (no <name>.schema.json suffix) under nodes/@mecha10/<node_name>.