Tutorials#
These tutorials walk you through EmbodiChain step by step, from creating your first simulation scene to training RL agents. Each tutorial includes a complete runnable script and a line-by-line explanation.
Suggested Learning Path#
Follow the tutorials in this order for the best learning experience:
Phase 1: Simulation Basics
Creating a simulation scene — Set up a simulation, add objects, and run the render loop. Start here.
Creating a soft-body simulation and Creating a cloth simulation — Add deformable bodies to your scenes.
Rigid object group tutorial — Manage collections of rigid objects efficiently.
Simulating a Robot — Load and control a robot in simulation.
Simulating a Camera Sensor — Add cameras and capture RGB/depth/segmentation data.
Create a solver — Configure IK solvers for end-effector control.
Motion Generator — Generate smooth trajectories with motion planners.
Atomic Actions — Use built-in action primitives (pick, place, move).
Interactive Robot Control with Gizmo — Interactively control robots with on-screen gizmos.
Phase 2: Environments
Creating a Basic Environment — Create a simple Gymnasium environment with
BaseEnv. Prerequisite: Phase 1 basics.Creating a Modular Environment — Build a config-driven environment with
EmbodiedEnv, managers, and randomization. Prerequisite: Creating a Basic Environment.Data Generation — Generate expert demonstration datasets for imitation learning. Prerequisite: Creating a Modular Environment.
Reinforcement Learning Training — Train RL agents with PPO or GRPO. Prerequisite: Creating a Basic Environment.
Phase 3: Extending the Framework
add_robot — Add a new robot model to EmbodiChain.