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

File metadata

  • Download URL: openarmx_arm_driver-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a9026d73578691c3e78bae29134a5000408c89d3233e60fc5a41a90476ed6d64
MD5 b437f9bbcc0b8112b38757255a8b9112
BLAKE2b-256 d08ae60270ebb20076c4dd9782079778d5a04fd4af0168da2ec3aea2713670e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openarmx_arm_driver-1.1.2-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b7dffbf573fd1b89a008c7d24267b299ee9bf6e872170c6fcaf1f3684a795688
MD5 5bf2f2827cf329dbf3327b5360dd7029
BLAKE2b-256 8a1b6223acb2da348fe3adf30d3d64d95cbc4105274af08963da5e26ee8fb916

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