[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115138":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},115138,"open_mabel","robotmabel\u002Fopen_mabel","robotmabel","MABEL: open-source mobile bimanual robot — hardware, firmware, control, ROS 2, simulation, learning",null,"Python",68,6,55,1,0,11,4,51.14,"Apache License 2.0",false,"main",[],"2026-11-19 15:41:41","2026-11-22 22:11:58","\u003Cp align=\"center\">\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\".github\u002Fbanner_dark.png\">\u003Cimg src=\".github\u002Fbanner.png\" width=\"100%\" alt=\"MABEL — an open mobile bimanual robot you can build yourself\">\u003C\u002Fpicture>\u003C\u002Fp>\n\n# MABEL\n\n**MABEL** is an open-source, 56-DOF mobile bimanual robot: a three-module swerve base, a\nvertical lift, a pitching torso, a 3-DOF active head with stereo cameras, two 7-DOF arms\n(OpenArm-derived) and two 17-DOF anthropomorphic hands (ORCA-derived). It is teleoperated\nwhole-body from a single Apple Vision Pro, without hand-held controllers.\n\nThis repository holds everything needed to build your own MABEL and run it. The guide\nbelow walks through it in order: **simulate → teleoperate → collect data → train → build the\nhardware → bring up the real robot.** You can stop after any step; steps 1–5 need no hardware.\n\nProject page: \u003Chttps:\u002F\u002Frobotmabel.github.io\u002Fwebsite\u002F>\n\n\u003Ctable>\u003Ctr>\n\u003Ctd>\u003Cimg src=\".github\u002Fmedia\u002Ffridge.gif\" alt=\"Opening a fridge\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\".github\u002Fmedia\u002Fkitchen.gif\" alt=\"Kitchen\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\".github\u002Fmedia\u002Flaundry.gif\" alt=\"Laundry\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\".github\u002Fmedia\u002Flivingroom.gif\" alt=\"Living room\">\u003C\u002Ftd>\n\u003C\u002Ftr>\u003C\u002Ftable>\n\n---\n\n## Contents\n\n- [Repository layout](#repository-layout)\n- [Step 1 — Install](#step-1--install)\n- [Step 2 — Run the robot in simulation](#step-2--run-the-robot-in-simulation)\n- [Step 3 — Teleoperate with the Vision Pro](#step-3--teleoperate-with-the-vision-pro)\n- [Step 4 — Collect demonstrations](#step-4--collect-demonstrations)\n- [Step 5 — Curate data and train a policy](#step-5--curate-data-and-train-a-policy)\n- [Step 6 — Build the hardware](#step-6--build-the-hardware)\n- [Step 7 — Flash firmware and bring up the buses](#step-7--flash-firmware-and-bring-up-the-buses)\n- [Step 8 — Calibrate](#step-8--calibrate)\n- [Step 9 — Bring up the real robot](#step-9--bring-up-the-real-robot)\n- [Step 10 — Connect over Tailscale (optional)](#step-10--connect-over-tailscale-optional)\n- [Step 11 — Change the robot model](#step-11--change-the-robot-model)\n- [Architecture](#architecture) · [Licensing](#licensing)\n\n---\n\n## Repository layout\n\n```text\nopen_mabel\u002F\n├── hardware\u002F            Bill of materials, build guide, full-robot CAD (STEP)\n├── electrical\u002F          Base carrier PCB: KiCad sources, schematic, Gerbers\u002Fdrill\n├── firmware\u002F            MCU firmware + host drivers: swerve base, arms\u002Ftorso\u002Fneck, lift, ORCA hands\n├── hardware_bridge\u002F     The HAL (`mabel_hw`): the only process that opens a device\n├── controller\u002F          The `mabel` control library: whole-body control, retargeting, safety gate\n├── server\u002F              Teleop gateway: one wire contract (ws :9090), video, recording\n├── ros\u002F                 ROS 2 Jazzy workspace: URDF, SLAM, Nav2, thin hardware clients\n├── simulation\u002F          Canonical MuJoCo model + 30 scenes\n├── simulation_bridge\u002F   MuJoCo HAL — the simulated twin of hardware_bridge\n├── web_gui\u002F             Browser studios: real\u002Fsim control centers, control lab, retarget lab\n├── apps\u002F                iOS and Apple Vision Pro teleoperation apps\n├── sensors\u002F             Camera bring-up (RealSense D405, ZED Mini)\n├── calibration\u002F         Actuator and arm system identification\n└── robot_learning\u002F      Imitation learning (curation → LeRobot → ACT\u002FDP\u002Fπ0) and RL (mjlab)\n```\n\nEvery folder has a `README.md`; most also ship a technical report in `\u003Cfolder>\u002Fdocs\u002F*.pdf`\nwith the equations, parameters and measured results.\n\n---\n\n## Step 1 — Install\n\nRequirements: Python ≥ 3.10, Git. macOS or Ubuntu for simulation; Ubuntu 24.04 on an NVIDIA\nJetson for the real robot. A CUDA GPU is only needed for policy training and RL.\n\n```bash\ngit clone \u003Cthis-repo> open_mabel && cd open_mabel\nconda create -n mabel python=3.11 -y && conda activate mabel\n\npip install -e controller\u002F                 # the `mabel` control library\npip install -r server\u002Frequirements.txt     # gateway, cameras, MuJoCo\n```\n\nCheck the install — the model should load with 67 qpos, 66 qvel, 59 actuators:\n\n```bash\npython3 -c \"import mujoco; m = mujoco.MjModel.from_xml_path('simulation\u002Fmabel_mujoco\u002Fmodels\u002Fmabel_full.xml'); print(m.nq, m.nv, m.nu)\"\npython3 -m pytest controller\u002Ftests -q\n```\n\nThe launch scripts look for an Anaconda interpreter in your home directory; set\n`MABEL_PY=$(which python3)` to use the active environment instead.\n\n---\n\n## Step 2 — Run the robot in simulation\n\n```bash\nbash server\u002Frun.sh\n```\n\nThis starts the MuJoCo twin (`simulation_bridge\u002F`), the rendered robot cameras, the teleop\ngateway on `:9090`, and the **Simulation Control Center** web studio. Open\n\u003Chttp:\u002F\u002Flocalhost:8097> to see the robot in 3-D, drive it with keyboard, gamepad or your\nwebcam, switch scenes, and send navigation goals. Press `q` in the terminal to stop\neverything.\n\nUseful variants:\n\n```bash\nbash server\u002Frun.sh -s simulation\u002Fmabel_mujoco\u002Fscenes\u002Fmabel_kitchen_fk.xml   # another scene\nbash server\u002Frun.sh --test       # open field + table + graspable objects, with the MuJoCo viewer\nbash server\u002Frun.sh --viewer     # also open the native MuJoCo window\nbash server\u002Frun.sh --mock       # synthetic operator hands, no headset needed\n```\n\nWithout the gateway, you can drive the model directly in the MuJoCo viewer:\n\n```bash\ncd simulation\u002Fmabel_mujoco\nmjpython scripts\u002Fkeyboard_teleop.py            # whole-body keyboard teleop\nmjpython scripts\u002Fcompliance.py --region whole  # push the robot around; compliant whole body\n```\n\nMore: [`server\u002FREADME.md`](server\u002FREADME.md), [`simulation\u002FREADME.md`](simulation\u002FREADME.md),\n[`web_gui\u002FREADME.md`](web_gui\u002FREADME.md).\n\n---\n\n## Step 3 — Teleoperate with the Vision Pro\n\n1. Open the app in Xcode: `open apps\u002Fvisionos\u002FMabelTeleop.xcodeproj`.\n2. In *Signing & Capabilities*, choose your own development team and change the bundle\n   identifier from `org.example.MabelTeleop-V2` to your own namespace.\n3. Build and run the **MabelTeleop** scheme on your Vision Pro.\n4. Keep `bash server\u002Frun.sh` running on a computer on the same Wi-Fi. The app finds the\n   gateway over Bonjour (`_mabel-teleop._tcp`); otherwise add it by IP in\n   Settings → **Add robot**.\n5. Enter the immersive whole-body mode: your head drives the neck and torso, your wrists the\n   arms, your fingers the ORCA hands, and the drive pad the base. The stereo head camera is\n   shown in front of you.\n\nThe same app drives the real robot unchanged (Step 9). Details, routes\n(Wi-Fi LAN, Tailscale, Bluetooth) and tests: [`apps\u002Fvisionos\u002FREADME.md`](apps\u002Fvisionos\u002FREADME.md).\nThe iPhone app in [`apps\u002Fios\u002F`](apps\u002Fios\u002FREADME.md) speaks the same protocol and connects the same way.\n\n---\n\n## Step 4 — Collect demonstrations\n\n**In simulation.** With `bash server\u002Frun.sh` running, start and stop recording from the\nstudio or the Vision Pro app. The gateway writes one HDF5 file per episode:\n\n```text\ndataset\u002Fsimulation\u002Fvision_os\u002F\u003Ctask>\u002Fepisode_XXXX.h5\n```\n\nEach frame stores every camera (JPEG RGB, uint16 depth), LiDAR, joint position\u002Fvelocity\u002F\ntorque, base twist, end-effector poses and the command sent to every actuator.\n\n**On the real robot.** Run the collector next to the bring-up (Step 9); the app's record\nbutton points at it:\n\n```bash\npython3 server\u002Freal_curation_collector.py --client visionos --control-port 9095\n```\n\nSim and real episodes share one format. More:\n[`server\u002Fdocs\u002Fdata_collection.md`](server\u002Fdocs\u002Fdata_collection.md).\n\n---\n\n## Step 5 — Curate data and train a policy\n\nTraining runs LeRobot in its own environment (torch + CUDA). Point MABEL at it once:\n\n```bash\nexport MABEL_LEROBOT_PYTHON=\u002Fpath\u002Fto\u002Flerobot-env\u002Fbin\u002Fpython\ncd robot_learning\n```\n\n1. **Curate** — score episode quality and export a LeRobot dataset:\n   ```bash\n   HDF5_USE_FILE_LOCKING=FALSE python3 curate_export.py \\\n       --sessions '..\u002Freal\u002Fvision_os\u002Fpick_place_*' --out-name pick_place --realm real\n   ```\n   For interactive review and trimming, run the Data Curation studio:\n   `MABEL_DATASET_ROOT=..\u002Freal\u002Fvision_os python3 -m data_curation.server` → \u003Chttp:\u002F\u002F127.0.0.1:8093>.\n2. **Train** — ACT, Diffusion Policy (`DP`), π0 or π0.5:\n   ```bash\n   python3 -m training_studio.server.mabel_train list-datasets\n   python3 -m training_studio.server.mabel_train train --arch ACT \\\n       --dataset pick_place_001_\u003Cdate> --steps 20000 --batch 8 --device cuda\n   ```\n3. **Evaluate \u002F resume:**\n   ```bash\n   python3 -m training_studio.server.mabel_train eval   --run \u003Crun_id> --episodes 3\n   python3 -m training_studio.server.mabel_train resume --run \u003Crun_id> --steps 40000\n   ```\n\nThe Training Studio (`python3 -m training_studio.server`, \u003Chttp:\u002F\u002Flocalhost:8095>) does the\nsame with live loss curves and closed-loop deployment in MuJoCo. Full walkthrough:\n[`robot_learning\u002FPIPELINE.md`](robot_learning\u002FPIPELINE.md).\n\n**Reinforcement learning** (GPU): MABEL tasks on mjlab (Isaac-Lab-style API on MuJoCo-Warp),\nincluding whole-body control (arm + hand + lift + torso):\n\n```bash\ncd robot_learning\u002Freinforcement_learning\u002Fmjlab && uv sync\nuv run play  Mjlab-Lift-Cube-Mabel --agent zero                 # sanity check\nuv run train Mjlab-Lift-Cube-Mabel --env.scene.num-envs 4096    # PPO, arms only\nuv run train Mjlab-Lift-Cube-Mabel-WholeBody --env.scene.num-envs 4096   # whole-body PPO\n```\n\n---\n\n## Step 6 — Build the hardware\n\n\u003Cp align=\"center\">\u003Cimg src=\".github\u002Fmedia\u002Fmabel_lab.jpg\" width=\"440\" alt=\"MABEL\"> \u003Cimg src=\"electrical\u002Fmedia\u002Fmotherboard_iso.png\" width=\"380\" alt=\"Base carrier board\">\u003C\u002Fp>\n\n1. **Order parts.** [`hardware\u002Fbom\u002FMABEL_Build_Guide.pdf`](hardware\u002Fbom\u002FMABEL_Build_Guide.pdf)\n   lists every part with vendor links and three build tiers; the costed BOM is\n   [`hardware\u002Fbom\u002Fmabel_bom.pdf`](hardware\u002Fbom\u002Fmabel_bom.pdf) (source of truth:\n   `hardware\u002Fbom\u002Fdata\u002Fcore.csv`).\n2. **Build the upstream sub-assemblies.** Arms from\n   [OpenArm](https:\u002F\u002Fgithub.com\u002Fenactic\u002Fopenarm_hardware), hands from the\n   [ORCA Hand](https:\u002F\u002Fgithub.com\u002Forcahand\u002Forcahand_hardware), three REV MAXSwerve modules,\n   and the lift column — see [`hardware\u002FREADME.md`](hardware\u002FREADME.md).\n3. **Make the MABEL parts.** Unzip `hardware\u002Fcad\u002FMABEL_full_assembly.step.zip` and print or\n   machine the custom parts from the full-robot STEP assembly.\n4. **Fabricate the base carrier board.** Zip `electrical\u002FMotherboard\u002Ffab\u002F` and order it from\n   any 2-layer PCB service; parts are in `electrical\u002Fexports\u002FMotherboard_schematic.pdf`.\n   See [`electrical\u002FREADME.md`](electrical\u002FREADME.md).\n\n---\n\n## Step 7 — Flash firmware and bring up the buses\n\n```bash\n# Swerve base and arms\u002Ftorso\u002Fneck — Teensy 4.1, PlatformIO\ncd firmware\u002Fswerve_drive && pio run -e teensy41 -t upload && cd -\ncd firmware\u002Fopenarm_dual && pio run -t upload && cd -     # copy config\u002Frobot.json to its SD card\n\n# Lift — Raspberry Pi Pico, MicroPython\npip install mpremote && firmware\u002Flift\u002Ftools\u002Fdeploy.sh\n\n# ORCA hands — no flashing; check the 17 servo IDs per hand\npython3 firmware\u002Forca_hand\u002Ffeetech\u002Fscripts\u002Fscan.py\n\n# CAN (SocketCAN) — bring up and ping the DaMiao motors\nfirmware\u002Fcan_up.sh --ping\n```\n\nBefore first use, verify each DaMiao motor's `(p_max, v_max, t_max)` in the vendor tool — a\nmismatch silently rescales every value on the wire. More: [`firmware\u002FREADME.md`](firmware\u002FREADME.md).\n\n---\n\n## Step 8 — Calibrate\n\n```bash\npip install -r calibration\u002Frequirements.txt\ncalibration\u002Fmotor_calibration\u002Fhardware\u002Fscan.sh                     # list motors (does not energise)\ncalibration\u002Fmotor_calibration\u002Fhardware\u002Frun_hardware.sh DM-J4310 2  # friction\u002Finertia ID of one motor\ncd hardware_bridge && python3 -m mabel_hw.drivers.orcahand.calibrate --model left   # hand end-stop sweep\n```\n\nEncoder windows, joint directions and gravity feed-forward live in\n[`hardware_bridge\u002Fcalibration_data\u002Fmabel.json`](hardware_bridge\u002Fcalibration_data\u002F); every\ndriver reads them from there. Procedures: [`calibration\u002FREADME.md`](calibration\u002FREADME.md).\n\n---\n\n## Step 9 — Bring up the real robot\n\nOn the robot computer, build the ROS 2 workspace once:\n\n```bash\ncd ros && .\u002Fdev_up.sh        # conda env (RoboStack ROS 2 Jazzy) + colcon build\n```\n\nThen, from the repository root:\n\n```bash\nbash server\u002Freal_run.sh      # HAL + ROS clients + cameras + SLAM + Nav2 + gateway + Control Center\n```\n\nOpen the Control Center at `http:\u002F\u002F\u003Crobot-ip>:8094`, or connect the Vision Pro app.\nSubsystems without hardware stay idle; `--no-arms`, `--no-base`, `--only-hands`, etc. bring\nup a subset (`bash server\u002Freal_run.sh -h`).\n\n**Safety.** Arms come up limp; torque is enabled explicitly by the operator. Every base\ntwist passes the tip-over gate, which limits speed by lift height. Know where your e-stop is\nbefore enabling torque. Read [`hardware_bridge\u002FREADME.md`](hardware_bridge\u002FREADME.md) (safety\nsection) and [`controller\u002FREADME.md`](controller\u002FREADME.md) first.\n\n---\n\n## Step 10 — Connect over Tailscale (optional)\n\nOn the same Wi-Fi the apps and browser connect directly (Bonjour discovery or the host's LAN\nIP). To reach the robot from another network, install [Tailscale](https:\u002F\u002Ftailscale.com) on\nthe robot host and on each client device, sign them into the same tailnet, and use the robot\nhost's `100.x.y.z` address wherever you would use its LAN IP. The protocol and ports are\nidentical; nothing is exposed to the public internet. To require an access code, start the\nserver with `MABEL_TOKEN=\u003Cyour-code>` and enter the same code in the client. Details:\n[`server\u002FREADME.md`](server\u002FREADME.md).\n\n---\n\n## Step 11 — Change the robot model\n\n`simulation\u002Fmabel_mujoco\u002Fmodels\u002Fmabel_full.xml` is the single source of truth. After editing\nit, regenerate the derived artifacts in order:\n\n```bash\npython3 ros\u002Fsrc\u002Fmabel_description\u002Fscripts\u002Fmjcf_to_urdf.py \\\n  --mjcf simulation\u002Fmabel_mujoco\u002Fmodels\u002Fmabel_full.xml \\\n  --out  ros\u002Fsrc\u002Fmabel_description\u002Furdf\u002Fmabel_full.urdf \\\n  --mesh-prefix package:\u002F\u002Fmabel_description\u002Fmeshes                      # 1. MJCF → URDF\npython3 ros\u002Fsrc\u002Fmabel_description\u002Furdf_to_glb.py                         # 2. URDF → web rig (web_gui\u002Fshared_assets\u002F)\npython3 simulation\u002Ftools\u002Fglb_to_rig.py                                   # 3. web rig → iOS + Vision Pro rigs\npython3 controller\u002Fexperiments\u002Fexp_front_workspace.py --phase W3 --build # 4. arm posture table\npython3 controller\u002Fexperiments\u002Fwbc_stability.py                          # 5. check tip-over CoM constants\n```\n\nIf step 5 reports more than ~1 cm of centre-of-mass error, update the constants in\n`controller\u002Fmabel\u002Fmotion_model\u002Ftip_over.py`.\n\n---\n\n## Architecture\n\nThree rules hold for every data path:\n\n1. **`hardware_bridge\u002F` is the sole hardware owner.** Nothing else — ROS included — opens a\n   bus, serial port or camera.\n2. **`controller\u002F` is the sole gate on motion.** Every command source (Vision Pro, browser,\n   keyboard, gamepad, Nav2, a learned policy) is a client of one wire contract\n   (`server\u002Fwire_protocol.py`); every base twist passes `safe_base_step(...)`.\n3. **The MJCF is the single source of truth** for geometry, inertia and limits.\n\n```text\ncommand : device ─▶ server (ws :9090) ─▶ controller ─▶ hardware_bridge ─▶ robot\nstate   : robot  ─▶ hardware_bridge ─▶ server ─▶ devices\nvideo   : robot  ─▶ hardware_bridge ─▶ devices            (does not pass through server)\nros     : robot  ─▶ hardware_bridge ─▶ ROS 2 ─▶ SLAM \u002F Nav2 \u002F rviz\n```\n\nThe simulated robot speaks the same contracts, so every client and the controller run\nunchanged against the twin.\n\n## Licensing\n\nSoftware: Apache-2.0 ([`LICENSE`](LICENSE)). Hardware design files: CERN-OHL-S-2.0\n([`LICENSE-HARDWARE.txt`](LICENSE-HARDWARE.txt)). Documentation and media: CC BY 4.0\n([`LICENSE-DOCS.txt`](LICENSE-DOCS.txt)). Upstream components:\n[`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md).\n","MABEL 是一个开源的移动双臂机器人软硬件一体化项目，支持从仿真、遥操作、数据采集到策略训练的完整开发流程。项目包含56自由度机械结构设计（三模块轮式底盘、升降躯干、俯仰 torso、双7自由度手臂及双17自由度仿人手）、Vision Pro 全身遥操作接口、ROS 2（Jazzy）集成、MuJoCo 仿真环境及配套固件与硬件设计文件。所有组件均遵循模块化分层架构，支持无硬件前提下的前五步开发。适用于家庭服务机器人研究、具身智能算法验证、双臂协同操作实验及机器人教学实践等场景。",2,"2026-11-24 04:50:28","CREATED_QUERY"]