type
Post
status
Published
date
Jul 1, 2026
slug
summary
tags
category
Projects
icon
password
FreeMani takes you through the full robot-learning loop on a YAM arm station from one web GUI.
collect demonstrations → train a policy → run it on the arms
Every command runs from the project folder with the environment active:

Install

Then check the submodules downloaded cleanly:
If a line starts with +, run git submodule update --init --recursive again.

Quickstart

Start a Session

  1. Power on the arms, leaders, and cameras.
  1. Launch the GUI:
    3. Open http://localhost:8042 in a browser.
    The Collect tab opens by default and camera previews go live automatically.
    notion image

    Collect Tab

    • Station config
      • robot type, gripper type
      • controller type
      • camera type, serial
      • after editing the config, click Preview to preview three view videos
    • Can bus setup
      • CAN buses are brought up for you when you press Start Teleop. If an arm is unresponsive, click Reset CAN and try again.
    • Calibrate the leader arms (when needed)
      • Do this the first time, or whenever a leader was moved/re-seated, or an arm tracks the wrong way. 1. Set the home zero
        hold the leader arm in the pose you want to map to the follower's home, then either:
      • In the GUI: click Zero L (left leader) / Zero R (right leader), and confirm; or
      • From a terminal:
          1. Check a joint's direction (optional)
            1. to see live readings while you wiggle each joint:
              If a follower joint moves the opposite way to the leader during teleop, flip that joint's sign in configs/station_yam.yaml(leader_joint_signs) and restart teleop.

      Collect Data

      1. In the Station panel (left), set the Task name (e.g. put the bottle in the bin).
      1. Click Start Teleop. The followers ease to the leaders' pose, then track them.
      1. Use the teaching-handle buttons or the on-screen buttons:
        1. Top button = sync on/off (follower mirrors the leader).
        2. Second button = start/stop recording an episode.
      1. Perform the task, stop recording. Repeat for as many episodes as you need. The Episodes counter shows how many are saved for the current task.
      1. Press E-STOP at any time to stop all motion immediately. To resume after an E-STOP, click Start Teleop again.
      Episodes are saved under data/episodes/<task>/.

      Review the data

      notion image
      1. Open the Review tab and refresh.
      1. Pick an episode to see its camera videos and the joint/gripper curves.
      1. Delete any bad episodes so they aren't used for training.

      Train a policy

      notion image
      1. Environment Setup & Prepare pre-train checkpoints
        1. details refer to GitHubGitHubGitHub - Hatty-z/openpi at c144147d64b7727a519d429f28799056eecbc3d3, GitHubGitHubGitHub - Hatty-z/molmoact2 at f266b758cbe64ef8cec74b7befb42c22749c8b84, GitHubGitHubGitHub - Hatty-z/abc at 8619cdf42b59cb8ec726ea2af0b929789f7bfa5c
      1. Prepare Dataset
      • For pi0/pi0.5/molmoact2:
      • For ABC:
      1. Start training in the Train tab:
        1. Choose the backend (`pi0`,`pi05`, `molmoact2`, or `abc`).
        2. Fill in the fields:
            • run name — a label for this run.
            • dataset / task — the converted dataset-name
            • steps, batch / GPU, GPUs — change as you want.
            • base checkpoint / pretrained ckpt (optional) — path to a checkpoint to fine-tune from. Leave blank to train from scratch.
      1. Click Start. Watch the live loss curve; logs stream in the panel.
      Checkpoints are written under the backend's output directory (shown in the logs).
      Examples for training config:

      Deploy / run a rollout

      notion image
      Deployment uses two machines: the robot host (this GUI) and a GPU box that runs the policy server.
      1. On the GPU box, start the server for your backend (see docs/deploy.md for the exact per-backend command), e.g. ABC:
      1. On the robot host, in the Deploy tab:
        1. Enter the server host, port, and the task prompt.
        2. Click Start. The arms ease to a start pose, then the policy drives them.
        3. Keep a hand near E-STOP for the first rollouts of any new checkpoint.
        4. You can also run a rollout from the terminal:
      tripAction Chunk Transformation(ACT)
      Loading...