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

File metadata

  • Download URL: openarmx_arm_driver-1.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 202d4d8d7ac835b3662593145996bfe26d4733b545ac1c6fbbbcd4a220f13697
MD5 bf3c1b09c4246d235165782fa4a31f4b
BLAKE2b-256 e0f9723eb3efcd32edb668157fa62be4f8536ec371cdd3818c4a90d472ae3966

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openarmx_arm_driver-1.1.5-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 5b921d9f4ccb81e3a49b8227d672f0dbafb640985c99168df830026c2157852a
MD5 0d89e73ab287f6c42e7e5cc70ecc1493
BLAKE2b-256 9090580ef87c46cd1c2d3962a9e1b87e791d0ad123de9d2a172967aa97d13037

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