Skip to main content

Forward & inverse kinematics helpers for pib's robot arms

Project description

pib-sdk

SDK for pib including forward, inverse kinematics and trajectory generation

Features

  • One‑liner FK / IK for the right & left arm using Robotics Toolbox under the hood
  • Ready‑made Denavit‑Hartenberg (DH) parameters for pib
  • Multi point trajectory generation
  • Numeric Jacobian and analytical pose error utilities
  • Zero ROS / Gazebo dependencies – pure Python ≥ 3.9
  • Writing joint values to ROS topic without ROS enbironment requirement

Installation

pip install pib-sdk

Usage

from pib_sdk.kinematics import fk, ik
'''
fk for Forward kinematics, returns pose of end effector from given angles
ik for inverse kinematics, returns joint angles from given end effector position [xyz] and orientation [rpy] (optional)
Specify right or left to calculate for designated pib arm
'''
print('FK pose:', fk('right', [0,45,0,0,90,0]))
print('IK angles:', ik('right', xyz=[150,0,350]))
# To write or read values from joints
write('shoulder_vertical_right', position=20, velocity=5000)
read('shoulder_horizontal_left')

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

pib_sdk-0.1.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

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

pib_sdk-0.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file pib_sdk-0.1.tar.gz.

File metadata

  • Download URL: pib_sdk-0.1.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for pib_sdk-0.1.tar.gz
Algorithm Hash digest
SHA256 3073641f263845c3ee954055002cbd56fb21c37bbb464471089f6253e568975a
MD5 3b69e497eb9902d5779c0fc0e0deadbe
BLAKE2b-256 02344be4b380935338fb290fb462688549aa80580c56600658950cd6ae51ada8

See more details on using hashes here.

File details

Details for the file pib_sdk-0.1-py3-none-any.whl.

File metadata

  • Download URL: pib_sdk-0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.4

File hashes

Hashes for pib_sdk-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f128e5cffd4ac57d528371f2ce37a443cc7cb6dd7d954b99a55481e8abc632e5
MD5 934993b0b4275e95f587336ec1196f3f
BLAKE2b-256 3d11bf291111976908eb13c027c4060fe1e8f5c459bc0555915159e9ce6782a2

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