Skip to main content

dora-openarm-ker

A dora-rs node for leader OpenArm KER (Kinematic Equivalent Replica).

This node reads joint angles from OpenArm KER via USB and outputs them as target positions for follower OpenArm arms.


Quick Start

1. Install system dependencies

sudo apt install libusb-1.0-0-dev

2. Set up udev rules (run once)

echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="303a", MODE="0666"' | sudo tee /etc/udev/rules.d/99-m5stack.rules
sudo udevadm control --reload-rules && sudo udevadm trigger

3. Connect M5Stack and verify

Plug the M5Stack CoreS3 into your PC via USB and verify the device is recognized:

lsusb | grep 303a
# 303a:4002 should appear

4. Use in a dataflow

Add this node to your dataflow YAML. This node reads a received packet from KER whenever it receives an input, so connect a timer to tick. Its outputs can be used as inputs of follower dora-openarm nodes:

nodes:
  - id: leader
    build: pip install dora-openarm-ker
    path: dora-openarm-ker
    # args: --hampel --one-euro
    inputs:
      # 250Hz
      tick: dora/timer/millis/4
    outputs:
      - follower_position_left
      - follower_position_right
      - metadata

  - id: follower-right
    build: pip install dora-openarm
    path: dora-openarm
    args: "--side right --start-on-startup"
    inputs:
      request_state: leader/follower_position_right
      move_position: leader/follower_position_right
    outputs:
      - state
      - status

  - id: follower-left
    build: pip install dora-openarm
    path: dora-openarm
    args: "--side left --start-on-startup"
    inputs:
      request_state: leader/follower_position_left
      move_position: leader/follower_position_left
    outputs:
      - state
      - status

Then build and run your dataflow:

dora build dataflow.yaml --uv
dora run dataflow.yaml --uv

See dataflow-ker.yaml in dora-openarm-data-collection for a complete data collection example with cameras and a recorder.


Options

Option Description
--hampel Enable a Hampel filter that suppresses spikes in encoder values.
--one-euro Enable a 1 Euro filter that smooths arm joint jitter. Grippers are not filtered.
--min-cutoff <Hz> 1 Euro cutoff at rest. Higher means less lag and more jitter. Default: 5.0.
--beta <Hz/(rad/s)> How much the cutoff rises with joint speed. Higher means less lag while moving. Default: 5.0.
--d-cutoff <Hz> 1 Euro cutoff for the velocity estimate. Default: 5.0.

The 1 Euro options take effect only with --one-euro. The Hampel filter runs first, so spikes are removed before smoothing.

The 1 Euro filter delays arm joints by roughly 1 / (2π · cutoff): about 30 ms at rest with the defaults, about 10 ms at 2 rad/s. Grippers are not delayed, so in recorded data they lead the arm by that amount.

To tune, start with --beta 0 and lower --min-cutoff until jitter at rest is gone, then raise --beta until fast motion no longer lags.

Inputs

ID Description
any (e.g. tick) Each input triggers reading a received packet from KER. Its value is ignored. If no new packet has been received, nothing is output.

Outputs

ID Type Description
metadata string (JSON) KER device metadata such as hw, fw and updated. Sent only once on startup.
follower_position_right struct<qpos: list<float32>> Target positions for the right follower arm: 7 joints and 1 gripper (8 values) in radians.
follower_position_left struct<qpos: list<float32>> Target positions for the left follower arm: 7 joints and 1 gripper (8 values) in radians.

Each output has a timestamp metadata in nanoseconds.


Development

See dev/README.md.

License

Licensed under the Apache License 2.0. See LICENSE for details.

Copyright 2026 Enactic, Inc.

Code of Conduct

All participation in the OpenArm project is governed by our Code of Conduct.

Metadata

Release files for dora-openarm-ker 0.2.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 dora-openarm-ker 0.2.0
File Size Uploaded Provenance Actions
dora_openarm_ker-0.2.0.tar.gz 14.8 kB With provenance Details for dora_openarm_ker-0.2.0.tar.gz

Release files / dora_openarm_ker-0.2.0.tar.gz

Download URL dora_openarm_ker-0.2.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a8b633622c1dea090611ffc25c599108aeeb44ce704b97abced6176735fc44f9
BLAKE2b-256 checksum
How to use checksums
fcf12cebf8ace237c7f42d51db73bcef2ea30181608f41852b9195f9b118e18f
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 11, 2026.

Transparency log

Security for dora-openarm-ker 0.2.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

1 file in this release has been uploaded with provenance metadata.

Attestation for dora_openarm_ker-0.2.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 11, 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file Full provenance

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