Skip to main content

closeformIK Package with dynamic libraries for both Linux and Windows

Project description

closeformIK is an analytical inverse kinematics calculation library for a 6-DOF robotic arm. When solving for inverse kinematics, you should call the CIK function. Below is the description of the input parameters for the function:

  • eeTform: End-effector trans 4x4 matrix
  • MdhParams: DH parameter table including d, a, alpha, theta
  • jointlimits: Joint angle limits
  • joint_ref: Reference joint angles

Here's a typical application example:

from cik import CIK
import numpy as np

# Define Modified Denavit-Hartenberg parameters
MdhParams = np.array([
    [a1, alpha1, d1, theta1],
    [a2, alpha2, d2, theta2],
    [a3, alpha3, d3, theta3],
    [a4, alpha4, d4, theta4],
    [a5, alpha5, d5, theta5],
    [a6, alpha6, d6, theta6]
])

# Define joint angle limits
Jointlimits = [
    [limit_n_j1, limit_p_j1],  # Joint 1
    [limit_n_j2, limit_p_j2],  # Joint 2
    [limit_n_j3, limit_p_j3],  # Joint 3
    [limit_n_j4, limit_p_j4],  # Joint 4
    [limit_n_j5, limit_p_j5],  # Joint 5
    [limit_n_j6, limit_p_j6]   # Joint 6
]

# Compute the inverse kinematics solution
sol, allsol = CIK(eeTform, MdhParams, Jointlimits, joint_ref=joint_ref)

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

closeformik-1.0.1.tar.gz (419.1 kB view details)

Uploaded Source

Built Distribution

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

closeformIK-1.0.1-py3-none-any.whl (420.6 kB view details)

Uploaded Python 3

File details

Details for the file closeformik-1.0.1.tar.gz.

File metadata

  • Download URL: closeformik-1.0.1.tar.gz
  • Upload date:
  • Size: 419.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for closeformik-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5976bbe50fbe7725090a78807beff4f8935fe898986568c4e35ac63fb52a1e39
MD5 84cd6b6c82a6c2d42e8e690811f9a3d6
BLAKE2b-256 b1fb284120743e5ca74b6aae56b68c78d9d3b92421696ee6485521dde8fb9b84

See more details on using hashes here.

File details

Details for the file closeformIK-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: closeformIK-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 420.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for closeformIK-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96b0c8d0a2695a8bc818a684edfaa34b35da537470f894b1816f225d192ccd1a
MD5 184eccdda95a1e9e49d5f26e5eedebb3
BLAKE2b-256 bd888bd1e7d0ee46fa664ae2d5478d6d2b73245373d6c59eb74e39102bc4e58a

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