ikfast_pybind is a python binding generation library for the analytic kinematics engine ikfast.
Project description
ikfast_pybind is a python binding generation library for the analytic kinematics engine IKfast. The python bindings are generated via pybind11 a CMake-based build system.
Note: You need the ikfast .h and .cpp ready to generate the python bindings. This URDF-to-cpp generation part needs to be done with openrave and IS NOT done by this repo, please see this tutorial for details.
The assembly sequence and motion planning framework pychoreo relies on this library to generate compatible IK modules for robots across brands, scales, and dofs.
Prerequisites
ikfast_pybind depends on the following dependencies, which come from pybind11 for building the python bindings.
On Unix (Linux, OS X)
A compiler with C++11 support
CMake >= 2.8.12
On Windows
Visual Studio 2015 (required for all Python versions, see notes below)
CMake >= 3.1
It is recommended (especially for Windows users) to test the environment with the cmake_example for pybind11 before proceeding to build conmech.
Installation
git clone --recursive https://github.com/yijiangh/ikfast_pybind cd ikfast_pybind pip install . # try with '--user' if you encountered a sudo problem
For developers:
git clone --recursive https://github.com/yijiangh/ikfast_pybind cd ikfast_pybind python setup.py sdist pip install --verbose dist/*.tar.gz
With the setup.py file included in the base folder, the pip install command will invoke CMake and build the pybind11 module as specified in CMakeLists.txt.
References
Citation
If you find IKFast useful, please cite OpenRave:
@phdthesis{diankov_thesis, author = "Rosen Diankov", title = "Automated Construction of Robotic Manipulation Programs", school = "Carnegie Mellon University, Robotics Institute", month = "August", year = "2010", number= "CMU-RI-TR-10-29", url={http://www.programmingvision.com/rosen_diankov_thesis.pdf}, }
0.1.2
Fixed - Fix pypi wheel build issue
Changed - Skip UR robot tests for now
0.1.1
Added - Added support for kawasaki_rs010n robot
Changed - Reorganize test files to having a test file for each robot type.
Updated - pybind11 set to track master, commit e08a58111, which should fix pip installation issue.
0.1.0
Available robots - kuka_kr6_r900 (tested) - ur3 - ur5 - abb_irb4600_40_255 - franka_panda (tested) - eth_rfl (tested)
Added Modules for franka_panda, eth_rfl robots.
Add ifkast modules for ur5, kuka_kr6_r900, abb_irb4600. abb_irb4600 test fails some time randomly - need to regenerate its IKfast cpp files (might be the floating point truncation issue).
Include the upstreamed ur_kinematics commit 6734142 July 2 2019 but it seems that the old one works more stably… I will do more tests on this.
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
Built Distribution
File details
Details for the file ikfast_pybind-0.1.2.tar.gz
.
File metadata
- Download URL: ikfast_pybind-0.1.2.tar.gz
- Upload date:
- Size: 429.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e587f47c8983b8ff7271edc795057a0208d196f23d563175e33409f70a6a7505 |
|
MD5 | 7704ea7e360595f185a73baf41be5ae7 |
|
BLAKE2b-256 | 7401c9455d440ef7223f9da0b8322b1784a141fdef054e8966f42e4d94c4950e |
File details
Details for the file ikfast_pybind-0.1.2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: ikfast_pybind-0.1.2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8fa71513c0ad4175ddf85b3941d5333b25731551a7c83a3c3db34fc542c00a |
|
MD5 | 7feab5b00c657c55acf93a2ed17dc79a |
|
BLAKE2b-256 | 23c2495512a2921aa6edbc95e946a2aa6e62f417f82ab4d080b552fc33636fe9 |