Skip to main content

No project description provided

Project description

OpenArm Driver

A Python library for controlling OpenArm, using OpenArm CAN.

Quick start

TODO

Install

pip install openarm-driver

Sample usage

import openarm_driver

arm = openarm_driver.SingleArmDriver("right_arm")
# You can also use your own config file as well.
# config = openarm_driver.Config("/path/to/config.yaml")
# arm = openarm_driver.SingleArmDriver("right_arm", config)

try:
    arm.start()
    while True:
        cur_position = arm.fetch_position()
        # Some process to calculate the next steps.
        next_positions = inference(cur_position)
        for next_postion in next_positions:
            arm.smooth_move(next_postion, hz=50, duration=1)
            # you can use simple command as well (Please be careful not to move the arm too much).
            # arm.send_position(next_postion)
finally:
    arm.stop()

Config

Please refer to src/openarm_driver/config.yaml, the default configuration.

Development

Test

uv sync
uv run pytest

Release

git clone git@github.com:enactic/openarm_driver.git
cd openarm_driver
dev/release.sh ${VERSION} # e.g. dev/release.sh 1.0.0

Related links

License

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

Copyright 2026 Enactic, Inc.

Code of Conduct

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openarm_driver-0.2.0.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file openarm_driver-0.2.0.tar.gz.

File metadata

  • Download URL: openarm_driver-0.2.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openarm_driver-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e867bfa1f92211b3e0e64e857eb8ea1a91c94f4bf9ccdb599f7d21d08b155652
MD5 d1b6a6fa158350ad18194e03ab1c1205
BLAKE2b-256 b512076675ae85526a1e49cfe0a0297c1106b754e85c98b753ce47b9abde007e

See more details on using hashes here.

Provenance

The following attestation bundles were made for openarm_driver-0.2.0.tar.gz:

Publisher: package.yaml on enactic/openarm_driver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page