Skip to content

macbot 0.3.2

Choose a tag to compare

@MuQY1818 MuQY1818 released this 21 Nov 04:56
· 36 commits to main since this release

Added

  • --query-every K makes async and rtc query every K policy steps, and --rtc-schedule exp uses the exponential guidance decay of the RTC paper.
  • chunk, async and rtc runs save the chunks at every switch, and tools/chunk_shift.py measures how far each new chunk starts behind the current command.
  • run and collect record follower motor feedback and show temperatures in the joint panel. The default
    watchdog holds the measured pose on a motor fault, high temperature or sustained arm tracking error, and
    archives the interruption separately. health reports motor maxima and watchdog events.
  • run --grip-lead SECONDS closes a binary gripper when the policy plans to close that far ahead in the current
    chunk, which offsets the late close label of leader-thresholded demonstrations. Off by default. Executors gain
    a side-effect-free peek(now); trials record gp_ahead.
  • Opt-in leader takeover in run, with arm and gripper alignment, a gripper speed limit, recorded control states and hand-in-scene marks.
  • Replay shows calibrated grasp-miss flags, and reviews can exclude trials from summaries and exports.
  • macbot export --rollouts writes LeRobot v3 trials with frame labels and reviewed outcomes.
  • macbot export --rollouts --segments splits policy and human control into separate training episodes,
    drops handover and short runs, and labels policy frames leading up to a takeover.
  • Review saved trials from current and earlier sessions in the paused run console, with synchronized
    cameras, joint traces and per-chunk timing. Result and note edits are shared with replay and health.
  • macbot init guides USB arm selection, live camera assignment and manual LeRobot calibration.
    It checks a per-user profile that collect and run can find automatically. init --yes
    supports setups whose roles are already known.
  • Load compatible LeRobot checkpoints with their saved processors. macbot policies lists tested
    coverage, and bench --profile breaks down generic inference. ACT and π0.5 keep their defaults.

Changed

  • collect, run and replay open their console in the default browser like init, also under sudo
    (as the user who ran sudo). A console page left open reloads for the next session instead of a new tab opening.
    Pass --no-browser or set MACBOT_NO_BROWSER=1 to only print the URL.
  • Setup can preserve existing camera framing and calibration. Exports and trials record framing, and
    policy runs reject a known mismatch before connecting.
  • Local consoles try nearby ports when a default is busy and print the bound URL. Explicit ports stay fixed.
  • The base install now includes LeRobot's feetech and dynamixel extras and pyserial for
    serial arm discovery and support.
  • README: a pixel-art workflow scene replaces the console screenshot at the top, and the tagline and
    package description now cover LeRobot policies in general rather than only ACT and π0.5.

Fixed

  • Takeover starts from a rough match (every arm joint within 30°, gripper state matching) and follows the leader with
    a one-second soft start. The first version required all six joints within 5° at once, which nobody can hold by
    hand. Brief leader dropouts (under 0.5 s) no longer end the takeover, and leader readings that the servo library
    holds are used as collect uses them. The library holds readings near 0° as possible power-cycle glitches, so
    the closed leader gripper (0°) dropped 30-46 % of takeover frames before.
  • Home in the run console now moves at run.home_vel (default 25 deg/s) along a straight line in joint space
    with a short ramp. It used the policy limit max_vel × speed (96 deg/s at speed 0.8), far too fast.
  • Console pages no longer break after an upgrade because the browser kept an older cached common.js.
  • macbot init no longer fails on macOS while scanning USB devices (ioreg returns one root entry), and a camera's
    serial port is no longer offered as an arm.