Skip to main content

robot6Ik 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 closeformIK 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.6.tar.gz (427.8 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.6-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: closeformik-1.0.6.tar.gz
  • Upload date:
  • Size: 427.8 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.6.tar.gz
Algorithm Hash digest
SHA256 d0171df06d916bc73d76a43c771386d4a5a1bac0516f80670baac1603a20cad4
MD5 5e3aa9cab5c5b3804f67c5e335075b58
BLAKE2b-256 53723bcb8bdd4cac007f7200d3c5f5b5127c516e06fdb53d8f7a6a6391a85e84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: closeformIK-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 1.7 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 564528a794802049d356bd328e403da5ce7a33eaab301931d8bf7ab9500b2698
MD5 793c6059b496b26547371472f42ed41d
BLAKE2b-256 3def71fbc362be32a74c56658956d9afecc4a7775ffafac33d20837aee3aa0fe

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