{ "info": { "author": "neka-nat", "author_email": "nekanat.stock@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# \n\n[![Build Status](https://travis-ci.org/neka-nat/kinpy.svg?branch=master)](https://travis-ci.org/neka-nat/kinpy)\n[![PyPI version](https://badge.fury.io/py/kinpy.svg)](https://badge.fury.io/py/kinpy)\n[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)\n[![Downloads](https://pepy.tech/badge/kinpy)](https://pepy.tech/project/kinpy)\n\nSimple kinematics body toolkit.\n\n## Core features\n\n* Pure python library.\n* Support URDF, SDF and MJCF file.\n* Calculate FK, IK and jacobian.\n\n## Installation\n\n```\npip install kinpy\n```\n\n## Getting started\nHere is a program that reads urdf and generates a kinematic chain.\n\n```\nimport kinpy as kp\n\nchain = kp.build_chain_from_urdf(open(\"kuka_iiwa/model.urdf\").read())\nprint(chain)\n# lbr_iiwa_link_0_frame\n# \tlbr_iiwa_link_1_frame\n# \t \tlbr_iiwa_link_2_frame\n# \t \t \tlbr_iiwa_link_3_frame\n# \t \t \t \tlbr_iiwa_link_4_frame\n# \t \t \t \t \tlbr_iiwa_link_5_frame\n# \t \t \t \t \t \tlbr_iiwa_link_6_frame\n# \t \t \t \t \t \t \tlbr_iiwa_link_7_frame\n```\n\nDisplays the parameter names of joint angles included in the chain.\n\n```\nprint(chain.get_joint_parameter_names())\n# ['lbr_iiwa_joint_1', 'lbr_iiwa_joint_2', 'lbr_iiwa_joint_3', 'lbr_iiwa_joint_4', 'lbr_iiwa_joint_5', 'lbr_iiwa_joint_6', 'lbr_iiwa_joint_7']\n```\n\nGiven joint angle values, calculate forward kinematics.\n\n```\nimport math\nth = {'lbr_iiwa_joint_2': math.pi / 4.0, 'lbr_iiwa_joint_4': math.pi / 2.0}\nret = chain.forward_kinematics(th)\n```\n\nYou can get the position and orientation of each link.\n\n## Visualization\n\n### KUKA IIWA\n![kuka](https://raw.githubusercontent.com/neka-nat/kinpy/master/assets/kuka.png)\n\n### Mujoco humanoid\n![humanoid](https://raw.githubusercontent.com/neka-nat/kinpy/master/assets/humanoid.png)\n\n### Mujoco ant\n![ant](https://raw.githubusercontent.com/neka-nat/kinpy/master/assets/ant.png)\n\n### Simple arm\n![simple_arm](https://raw.githubusercontent.com/neka-nat/kinpy/master/assets/simple_arm.png)\n\n## Citing\n\n```\n@software{kinpy,\n author = {{Kenta-Tanaka et al.}},\n title = {kinpy},\n url = {https://github.com/neka-nat/kinpy},\n version = {0.0.3},\n date = {2019-10-11},\n}\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/neka-nat/kinpy", "keywords": "robot kinematics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "kinpy", "package_url": "https://pypi.org/project/kinpy/", "platform": "", "project_url": "https://pypi.org/project/kinpy/", "project_urls": { "Homepage": "http://github.com/neka-nat/kinpy" }, "release_url": "https://pypi.org/project/kinpy/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "Robotics kinematic calculation toolkit", "version": "0.0.4" }, "last_serial": 5963959, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "e053e09bfeaf24b8f9029599793966c1", "sha256": "eee8f2e6cc989a81f7ef1e2c05f18bad39769c24d299a4b35c72d46260fb4eff" }, "downloads": -1, "filename": "kinpy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e053e09bfeaf24b8f9029599793966c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7371, "upload_time": "2019-10-05T02:19:10", "url": "https://files.pythonhosted.org/packages/1a/0a/afc901f48ca864719059a123fa6fd30632027ac5e912158f9d62ebf14427/kinpy-0.0.2.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7ac3aa3c51acd4e13bc1d856ce277dec", "sha256": "acf43df4e9aa84c444a6dd6ec3e2cd3932b291eba4bb3970d41d4dddcaf724d6" }, "downloads": -1, "filename": "kinpy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "7ac3aa3c51acd4e13bc1d856ce277dec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8727, "upload_time": "2019-10-12T11:31:29", "url": "https://files.pythonhosted.org/packages/1d/f2/ad50bed51a5a991af2c6cf4b5e3b0fa7e86af285468415d651dfc598f87e/kinpy-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ac3aa3c51acd4e13bc1d856ce277dec", "sha256": "acf43df4e9aa84c444a6dd6ec3e2cd3932b291eba4bb3970d41d4dddcaf724d6" }, "downloads": -1, "filename": "kinpy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "7ac3aa3c51acd4e13bc1d856ce277dec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8727, "upload_time": "2019-10-12T11:31:29", "url": "https://files.pythonhosted.org/packages/1d/f2/ad50bed51a5a991af2c6cf4b5e3b0fa7e86af285468415d651dfc598f87e/kinpy-0.0.4.tar.gz" } ] }