3 import pinocchio
as pin
4 from test_case
import PinocchioTestCase
as TestCase
12 huamnoid_1 = pin.buildSampleModelHumanoidRandom()
13 huamnoid_2 = pin.buildSampleModelHumanoidRandom(
True)
14 huamnoid_3 = pin.buildSampleModelHumanoidRandom(
False)
16 self.assertTrue(huamnoid_1 != huamnoid_2)
17 self.assertTrue(huamnoid_1 != huamnoid_3)
19 manipulator_1 = pin.buildSampleModelManipulator()
22 _geometry_manipulator_1 = pin.buildSampleGeometryModelManipulator(
26 humanoid_4 = pin.buildSampleModelHumanoid()
27 humanoid_5 = pin.buildSampleModelHumanoid(
True)
28 humanoid_6 = pin.buildSampleModelHumanoid(
False)
30 self.assertTrue(humanoid_4 == humanoid_5)
31 self.assertTrue(humanoid_4 != humanoid_6)
34 _geometry_humanoid_2 = pin.buildSampleGeometryModelHumanoid(humanoid_4)
37 if __name__ ==
"__main__":