This branch enables automatic differentiation support for the "total joint" and the "total pin joint".