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.1.4.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.1.4-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.1.4.tar.gz.

File metadata

  • Download URL: openarmx_arm_driver-1.1.4.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.1.4.tar.gz
Algorithm Hash digest
SHA256 eac106347a47655ef9f0593e700612a2bd97230c2fd8cebbbfbdbd4242ff1c07
MD5 110b015e038d83897df9dda94ae74170
BLAKE2b-256 83da4c29346e022580f1397a7552de2cc300e740f51fd1a571acaf4962543afd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openarmx_arm_driver-1.1.4-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f5f89c060dd6ca53e0be3faf1d6e5e5d60eaacae2794f06412f2cc678eaeb398
MD5 78849c0bbdcf8016897e69e77297efd7
BLAKE2b-256 1bc952edd02f107a789e5f85d335d840d309afeb7ece2594d529bfeb0170b8de

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