do not use deprecated functions to convert tf and kdl instances to avoid compilation warning