2 import pinocchio
as pin
6 pin.JointModelRX, pin.JointModelRY, pin.JointModelRZ,
7 pin.JointModelPX, pin.JointModelPY, pin.JointModelPZ,
8 pin.JointModelFreeFlyer, pin.JointModelSpherical, pin.JointModelSphericalZYX,
9 pin.JointModelPlanar, pin.JointModelTranslation
15 for joint_type
in joint_types:
18 joint_model = pin.JointModel(j)
20 self.assertTrue(j == joint_type())
21 self.assertTrue(j == joint_model)
24 self.assertFalse(j == joint_model)
25 self.assertTrue(j != joint_model)
27 if __name__ ==
'__main__':
def test_comparison_operators(self)