Skip to main content

lerobot_teleoperator_rfabricd

LeRobot plugin that lets an rFabric remote operator drive a LeRobot robot, with stock lerobot-teleoperate and lerobot-record. It is the follower end of the rFabric realtime control UDS: rfabricd connects to the socket the teleoperator binds and relays the operator console's control frames (rfabric-control-wire).

Works with stock LeRobot 0.6 and 0.7. LeRobot discovers the plugin by its distribution name (lerobot_teleoperator_*); installing it in the LeRobot environment adds:

Flag What it is
--teleop.type=rfabricd The remote operator
--robot.type=rfabric_bi_so_follower bi_so_follower that shares its joint readings with the teleoperator
--robot.type=rfabric_so101_follower so101_follower that shares its joint readings with the teleoperator

The operator sends one velocity (-1..1) per joint; turning it into a joint position needs the arm's present position, which LeRobot gives a teleoperator only through the robot. The follower robot types are the stock robots - same flags, calibration files, features and robot_type in datasets - that also publish every observation and completed write to the teleoperator in the same process.

Install

Into the Python environment LeRobot runs from:

uv pip install lerobot_teleoperator_rfabricd

Run

Teleoperate a bimanual SO-101 (what rfabric-arms.service runs):

lerobot-teleoperate \
  --robot.type=rfabric_bi_so_follower --robot.id=bimanual_follower \
  --robot.left_arm_config.port=/dev/ttyACM0 --robot.right_arm_config.port=/dev/ttyACM1 \
  --robot.left_arm_config.max_relative_target=24 --robot.right_arm_config.max_relative_target=24 \
  --teleop.type=rfabricd --teleop.socket_path=/run/rfabric/control.sock \
  --teleop.arms='[left,right]' --fps=60

Record while the remote operator drives (the dataset action is the joint position target):

lerobot-record <the same --robot.* and --teleop.* flags> \
  --dataset.repo_id=local/remote_demo --dataset.single_task="Pick the cube"

A single-arm robot uses --robot.type=rfabric_so101_follower and leaves --teleop.arms empty.

What the operator gets

  • Capabilities: on each rfabricd connection, a mode frame declaring accepts: [joint_velocity, stop], the arm tags and each arm's joints. The joint layout comes from the follower's first observation (<arm>_<joint>.pos keys).
  • State: one snapshot per arm at state_publish_hz, values keyed <joint>.pos, tagged with arm.
  • Safety: an arm holds its present position when it receives stop, when its last command is older than watchdog_ms, and when rfabricd disconnects; a stop without an arm tag stops every arm.
  • Stop ack: once the follower's write that carries a stop's hold returned, the teleoperator answers with ack{kind:"stop"} - the preflight stop check of rfabricd, which the operator console requires before motion by default.
  • Episodes: operator terminate / success / rerecord mode frames are reported by get_teleop_events().

Servo settings (--teleop.*)

Flag Default Meaning
joint_speed 60.0 Joint speed at full velocity, per second (degrees for SO-101)
gripper_speed 180.0 Gripper speed at full velocity, per second (0..100)
lead_cap 12.0 How far a target may run ahead of the present position
velocity_tau_s 0.10 Low-pass time constant on operator velocities; 0 disables
velocity_idle_epsilon 0.04 Smoothed velocity below which a released joint holds
joint_signs {} -1 reverses a joint, e.g. '{right_shoulder_pan: -1}'
watchdog_ms 200 Command age after which an arm holds

Keep --robot.*.max_relative_target at about twice lead_cap: the robot then caps any single command as a second line of defence.

Development

uv sync --extra dev --extra feetech
.venv/bin/ruff check src tests && .venv/bin/ruff format --check src tests
.venv/bin/mypy src
.venv/bin/pytest

rfabric-control-wire resolves from the sibling checkout ([tool.uv.sources]).

Metadata

Release files for lerobot-teleoperator-rfabricd 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lerobot-teleoperator-rfabricd 0.1.0
File Size Uploaded Provenance Actions
lerobot_teleoperator_rfabricd-0.1.0.tar.gz 11.6 kB With provenance Details for lerobot_teleoperator_rfabricd-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lerobot-teleoperator-rfabricd 0.1.0
File Interpreter ABI Platform Actions
lerobot_teleoperator_rfabricd-0.1.0-py3-none-any.whl Python 3 none any Details for lerobot_teleoperator_rfabricd-0.1.0-py3-none-any.whl

Total release size: 26.0 kB

Release files / lerobot_teleoperator_rfabricd-0.1.0.tar.gz

Download URL lerobot_teleoperator_rfabricd-0.1.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3de1864ac5b0992d09b1ec11dd292eb18cc6ed860cc29fdc4c2583ce13873d0e
BLAKE2b-256 checksum
How to use checksums
d7673e501782d37fd8fee843fd5c96409fb56af11fdad3134c6158197665d326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / lerobot_teleoperator_rfabricd-0.1.0-py3-none-any.whl

Download URL lerobot_teleoperator_rfabricd-0.1.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b13cc0e86c7d6aca78782788601426421c04cfcdd6f70ed6b002c3da97c04171
BLAKE2b-256 checksum
How to use checksums
cd6e664ae62768237073685e18072f3e70f5ad4cd25ce2797f677535bb4c8c17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for lerobot-teleoperator-rfabricd 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lerobot_teleoperator_rfabricd-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page