ik - Jonathan's Inverse Kinematics Library
This library is a bunch of stuff ripped out of my private library (jtil) for the use of doing gradient-descent based inverse kinematics. It is VERY bare-bones, but provides a rough starting point for doing custom IK (using non-linear unconstrained optimization). I put it together for use internally in our research group, but is up here in case anyone finds any of it useful.
Building ik uses Visual Studio 2012 on Windows and there are no dependencies for the main library. If you want to run the example you will need freeglut, however the pre-compiled x64 binaries are in this repo (so the test project should just build and run). The code is also cross platform (and compiles using gcc on Mac OS X), but I have not included any CMake files because I got sick of supporting them.
If you build the test project (in ik.sln) then a simple glut window will show an animated 2-link joint. For your own applications I would start from here.
This project follows the Google C++ style conventions:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.