in differentiable_robot_model/urdf_utils.py [0:0]
def find_joint_of_body(self, body_name): for (i, joint) in enumerate(self.robot.joints): if joint.child == body_name: return i return -1