Skip to main content

Python SDK for OpenArmX robotic arm control via CAN bus

Project description

OpenArmX Driver

Developed by Chengdu Changshu Robotics Co., Ltd.

Python SDK for OpenArmX robotic arm control via CAN bus.

Installation

pip install openarmx-driver

Quick Start

Single Arm Control

from openarmx_driver import Arm

# Create right arm instance
arm = Arm('can0', side='right')

# Enable motors
arm.enable_all()

# Set to MIT mode
arm.set_mode('mit')

# Move joint
arm.move_joint_mit(motor_id=1, position=0.5, kp=10.0, kd=1.0)

# Check status
arm.show_motor_status()

# Stop
arm.disable_all()

Dual Arm Control

from openarmx_driver import Robot

# Create dual-arm robot
robot = Robot(left_can_channel='can0', right_can_channel='can1')

# Enable all motors
robot.enable_all()

# Set mode
robot.set_mode_all('mit')

# Symmetrical motion of left and right arms
robot.move_joints_mit(
    left_positions=[0.1, 0.2, 0.3, 0, 0, 0, 0],
    right_positions=[0.1, 0.2, 0.3, 0, 0, 0, 0],
    kp=10.0, kd=1.0
)

# Check status
robot.show_all_status()

# Stop
robot.disable_all()

Supported Control Modes

  • MIT Mode: Hybrid position/velocity/torque control (with PD gains)

License

This project is licensed under the OpenArmX Research and Education License. Commercial use requires a separate license.


📞 Contact Us

Chengdu Changshu Robotics Co., Ltd.

Contact Information
📧 Email openarmrobot@gmail.com
📱 Phone/WeChat +86-17746530375
🌐 Website https://openarmx.com/
📍 Address No.11 Xinye 8th Street, West Zone, Tianjin Economic-Technological Development Area, Huacheng Machinery Factory
👤 Contact Person Mr. Wang

Copyright © 2025 Chengdu Changshu Robotics Co., Ltd. All Rights Reserved.

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

openarmx_arm_driver-1.0.3.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openarmx_arm_driver-1.0.3-cp310-cp310-manylinux_2_17_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file openarmx_arm_driver-1.0.3.tar.gz.

File metadata

  • Download URL: openarmx_arm_driver-1.0.3.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for openarmx_arm_driver-1.0.3.tar.gz
Algorithm Hash digest
SHA256 02a1849c3c82305c2fa01a8a554378ab346d33bf1b4a88a29fe06fb78cb8d51e
MD5 d621988bf73920da8e1291785d37c6b6
BLAKE2b-256 876005db1eb8c7610d2d0e751cd5b6811c550c6cfb22c9a61dfa949f9b1da3ce

See more details on using hashes here.

File details

Details for the file openarmx_arm_driver-1.0.3-cp310-cp310-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for openarmx_arm_driver-1.0.3-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0a33cb5e5d401cd1321d98f4e57669df046504ac506e5ec8a32fc33fc6b562d4
MD5 235478a1511c02dc9383617c351bc8b3
BLAKE2b-256 16c46b4aea1f1037012d19842189ec702682fc0290717fd84f43d47458e86514

See more details on using hashes here.

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