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_canid='can0', right_canid='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.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.0.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.0.2.tar.gz.

File metadata

  • Download URL: openarmx_arm_driver-1.0.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.0.2.tar.gz
Algorithm Hash digest
SHA256 d68339ad2b1ca5ae6bb40018192e8154b7a64b6309ee266c7d9067b148be4205
MD5 3abd28bc34249c495c6b0dc7e34c6e12
BLAKE2b-256 e0304a105a3d17ca79ba8e0175a9bacc42b7fb87de32871bc5d2e1e27c497551

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openarmx_arm_driver-1.0.2-cp310-cp310-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 230ac2f3b2548ebb1c0c992f4756500ecf6bbd59269053517c6c634cbd47def0
MD5 7190601cb45125d77eb63a25f6cc7869
BLAKE2b-256 b38da74d3f29149b0491e40bb6a81234f6cfe8e40cdaff063fc576fdc0a95f04

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