API Reference#
This section provides the API-level documentation for EmbodiChain’s public Python modules.
Use this reference when you need:
module-level overviews and responsibilities,
public classes, functions, and configuration objects,
links into specialized subpackages (simulation, gym environments, RL, and utilities).
The pages are organized from high-level package namespaces to concrete submodules.
Core Framework#
The core embodichain framework is split into six top-level packages:
computeShared numerical computations: analytical kinematics, trajectory interpolation/resampling/warping, geometry queries, and image layouts.
dataDataset resolution, asset-download helpers, shared constants, and enums used by simulation tasks and training pipelines.
data_pipelineOnline data streaming and recording: a process-safe trajectory engine, online datasets/samplers for live-simulation training, and compressed depth-sidecar storage for LeRobot datasets.
labThe simulation laboratory: the
simcore (scene, objects, sensors, IK solvers, planners, atomic actions), thegymenvironment framework, real-device controllers (devices), and browservisualization.toolkitsStandalone asset-preparation and manipulation utilities (parallel-gripper grasp sampling, URDF convex decomposition, URDF assembly) usable independently of the simulation loop.
learningLearning systems, currently the
rlsubpackage: on-policy RL algorithms (PPO/GRPO), rollout buffers, collectors, policy/model builders, and the training entry point.utilsShared utilities: the
@configclassdecorator, logging, math/tensor helpers, file/string/device helpers, and legacy computation import aliases.
|
Array and tensor computations shared across simulation, planning, and tools. |
Dataset resolution, asset-download helpers, preset asset registries, and shared constants/enums used by simulation tasks and training pipelines. |
|
Online data streaming and recording for live-simulation training. |
|
EmbodiChain's robotics laboratory. |
|
Standalone asset-preparation and manipulation utilities usable independently of the simulation loop. |
|
Learning systems. |
|
Shared utilities used across EmbodiChain. |
Public API Coverage#
Public Python APIs are declared through static __all__ values in non-private
modules. Curated API pages remain the preferred place for explanations and
examples. The fallback supplement keeps less prominent exports visible through
their signatures and source docstring summaries.
Run the read-only checker after changing module exports or API docs:
python docs/scripts/check_api_docs.py
The checker never edits repository files. If it reports missing exports, use
the /update-api-docs agent skill to add the appropriate API entries and
documentation. CI runs this same checker after style checks and before tests.