TRAC-IK is an inverse kinematics solver developed by TRACLabs that combines two IK implementations via threading to achieve more reliable solutions than common available open source IK solvers. From their documentation:
(TRAC-IK) provides an alternative Inverse Kinematics solver to the popular inverse Jacobian methods in KDL. Specifically, KDL’s convergence algorithms are based on Newton’s method, which does not work well in the presence of joint limits — common for many robotic platforms. TRAC-IK concurrently runs two IK implementations. One is a simple extension to KDL’s Newton-based convergence algorithm that detects and mitigates local minima due to joint limits by random jumps. The second is an SQP (Sequential Quadratic Programming) nonlinear optimization approach which uses quasi-Newton methods that better handle joint limits. By default, the IK search returns immediately when either of these algorithms converges to an answer. Secondary constraints of distance and manipulability are also provided in order to receive back the “best” IK solution.
The package trac_ik_kinematics_plugin provides a KinematicsBase MoveIt! interface that can replace the default KDL solver. Currently mimic joints are not supported.
As of v1.4.5, trac_ik is part of the ROS Indigo/Jade binaries:
sudo apt-get install ros-kinetic-trac-ik-kinematics-plugin
kdl_kinematics_plugin/KDLKinematicsPlugin(or similar) with kinematics_solver: