I came across robotics library (RL), but quite unclear about its real purpose. Is it a FK/IK solver library or simply an graphical simulator?. RL has poor documentation, so its not clear how to use it. Im looking for some C++ library where there APIs to solve FK/IF analytically. Thank you.
- The best way to understand forward and inverse kinematics is to write a library for its own. A good starting point is to implement Cyclic Coordinate Descent.
- So called "ready-to-run" librarys like OpenRave or OMPL have an extensive C++ tutorial section too but are notorius difficult to install. Most of them only run under linux, and are not even part of Ubuntu's package manager.
- And a short informal note: C++ is not a high-level-language, especially not in scientific environment.
I haven't used it personally (yet; it's only a matter of time), but I believe the Rigid Body Dynamics Library is what you're looking for - efficient forward and inverse kinematics.
I did a lot of work with the underlying math behind that library, and even wound up (creating my account here to) asking a couple questions about it, one of which was answered by the guy that wrote that library. I'll warn you - the math isn't for the faint of heart, but I believe that, like with a lot of things, you don't really need to understand all the underlying math to understand how to apply something.
Give it a shot, and feel free to ask if you have any questions!
I recommend KDL. It is kind of de facto kinematic library for the robotics community. It has both forward and inverse kinematic solver as well as generic capabilities to model your robot. You can use it as a stand-alone C++ library or with ROS.