Skip to main content

SDK and CLI tools for AgileX PiPER robotic arm

Project description

Piper Kit

A Python SDK and CLI toolkit for controlling the AgileX PiPER 6-DOF robotic arm via CAN bus communication.

This package provides direct low-level control through socketcan interface, enabling real-time joint positioning, motion control, and safety monitoring. Features both command-line tools for quick operations and a comprehensive Python API for programmatic control with automatic resource management.

Installation

Install from PyPI:

pip install piper-kit

Or for development:

git clone https://github.com/threeal/piper-kit.git
cd piper-kit
uv sync

Usage

CLI Commands

Enable the robotic arm (moves to home position):

piper enable
# or specify CAN interface
piper enable can1

Disable the robotic arm (moves to safe position):

piper disable
# or specify CAN interface
piper disable can1

Python SDK

from piper_kit import PiperInterface

# Use context manager for proper cleanup
with PiperInterface('can0') as piper:
    # Enable all joints
    piper.enable_all_joints()

    # Set motion control
    piper.set_motion_control_b("joint", 20)

    # Control joint positions (6 joints: J1, J2, J3, J4, J5, J6)
    piper.set_joint_control(0, 0, 0, 0, 0, 0)

License

This project is licensed under the terms of the MIT License.

Copyright © 2025 Alfi Maulana

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

piper_kit-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

piper_kit-0.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file piper_kit-0.1.0.tar.gz.

File metadata

  • Download URL: piper_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for piper_kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15c620a5d984ba445964f357554eb00426c667e7e3c925ae45f28dbdcbb94b1e
MD5 83fca2d45676cf8ad9ffa7cbea68c1ad
BLAKE2b-256 8c13d7f98d61d85127a770b74002ad3d25c66c793e22d1a39aaf725e378c2b44

See more details on using hashes here.

File details

Details for the file piper_kit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: piper_kit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for piper_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 308d127c550d196fa93982a26f581a90c510bc7d1abb979bb4c7eddc3db66ba0
MD5 90a855bac7b31054c61d325c8995b4c1
BLAKE2b-256 8b75a34bc8d23a91c4594f7d837d109871f09a22045a98b052e437893cbe20d1

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