137 lines
4.0 KiB
Python
137 lines
4.0 KiB
Python
"""Baked CAD mass properties and bounding boxes for lyra links.
|
|
|
|
Generated from the lyra_parts builders with OCP BRepGProp volume
|
|
properties at unit density in each part's local frame (== URDF link
|
|
frame); MatrixOfInertia is reported about the center of mass. Units:
|
|
mm^3 volume, mm COM/bbox, mm^5 unit-density inertia. Regenerate with a
|
|
one-off BRepGProp pass over the builders if part geometry changes.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
TOTAL_VOLUME_MM3 = 183433.2
|
|
|
|
# link: (volume_mm3, com_mm, inertia_com_mm5 (ixx, iyy, izz, ixy, ixz, iyz),
|
|
# bbox_min_mm, bbox_max_mm)
|
|
LINK_MASS_PROPS = {
|
|
"palm": (
|
|
123973.6,
|
|
(0.993, -0.096, 53.213),
|
|
(98442492.1, 132133998.1, 45650708.9, -180950.0, -4422274.8, 267642.8),
|
|
(-37.800, -23.000, 0.000),
|
|
(42.200, 23.000, 111.240),
|
|
),
|
|
"index_proximal": (
|
|
6607.3,
|
|
(0.000, 0.620, 20.936),
|
|
(1583385.9, 1622711.3, 195769.4, -0.0, -0.0, 2966.7),
|
|
(-9.200, -7.200, -7.200),
|
|
(9.200, 7.700, 50.500),
|
|
),
|
|
"index_middle": (
|
|
3115.9,
|
|
(-0.000, 0.306, 12.322),
|
|
(358262.5, 380099.2, 79965.1, -0.0, -0.0, 1146.0),
|
|
(-8.400, -6.400, -6.400),
|
|
(8.400, 7.200, 31.800),
|
|
),
|
|
"index_distal": (
|
|
1761.6,
|
|
(-0.000, 0.268, 8.476),
|
|
(110817.2, 107993.2, 21753.1, 0.0, 0.0, -2040.6),
|
|
(-5.300, -5.600, -5.600),
|
|
(5.300, 5.700, 23.000),
|
|
),
|
|
"middle_proximal": (
|
|
7645.0,
|
|
(0.000, 0.662, 22.857),
|
|
(2101192.9, 2147398.6, 238274.3, 0.0, 0.0, 3717.1),
|
|
(-9.422, -7.416, -7.416),
|
|
(9.422, 7.892, 54.695),
|
|
),
|
|
"middle_middle": (
|
|
3697.0,
|
|
(-0.000, 0.371, 13.725),
|
|
(489757.6, 515013.3, 99289.4, -0.0, 0.0, 1847.4),
|
|
(-8.598, -6.592, -6.592),
|
|
(8.598, 7.377, 34.974),
|
|
),
|
|
"middle_distal": (
|
|
1989.4,
|
|
(-0.000, 0.281, 9.129),
|
|
(139234.0, 135954.3, 26039.1, -0.0, -0.0, -2463.6),
|
|
(-5.459, -5.768, -5.768),
|
|
(5.459, 5.871, 24.500),
|
|
),
|
|
"ring_proximal": (
|
|
6221.7,
|
|
(0.000, 0.624, 20.993),
|
|
(1463887.2, 1497956.0, 173277.2, 0.0, 0.0, 2780.8),
|
|
(-8.978, -6.984, -6.984),
|
|
(8.978, 7.508, 50.305),
|
|
),
|
|
"ring_middle": (
|
|
3059.6,
|
|
(-0.000, 0.350, 12.820),
|
|
(355245.3, 374190.6, 73452.1, -0.0, 0.0, 1337.2),
|
|
(-8.202, -6.208, -6.208),
|
|
(8.202, 7.023, 32.626),
|
|
),
|
|
"ring_distal": (
|
|
1689.9,
|
|
(0.000, 0.265, 8.812),
|
|
(107760.6, 105339.2, 19599.9, 0.0, 0.0, -1880.2),
|
|
(-5.141, -5.432, -5.432),
|
|
(5.141, 5.529, 23.500),
|
|
),
|
|
"pinky_proximal": (
|
|
4097.4,
|
|
(0.000, 0.519, 16.725),
|
|
(666458.6, 687445.5, 96382.6, -0.0, 0.0, 1444.0),
|
|
(-8.312, -6.336, -6.336),
|
|
(8.312, 6.932, 40.720),
|
|
),
|
|
"pinky_middle": (
|
|
1978.8,
|
|
(0.000, 0.233, 10.001),
|
|
(160299.1, 172443.0, 40658.8, 0.0, -0.0, 412.6),
|
|
(-7.608, -5.632, -5.632),
|
|
(7.608, 6.492, 26.104),
|
|
),
|
|
"pinky_distal": (
|
|
1211.2,
|
|
(0.000, 0.233, 7.600),
|
|
(60213.8, 58744.3, 11570.5, -0.0, 0.0, -1111.7),
|
|
(-4.664, -4.928, -4.928),
|
|
(4.664, 5.016, 20.500),
|
|
),
|
|
"thumb_base": (
|
|
3735.7,
|
|
(5.759, 0.000, 0.024),
|
|
(133267.4, 225133.8, 298293.0, -0.0, 80.7, 0.0),
|
|
(-8.800, -9.600, -7.000),
|
|
(20.000, 9.600, 7.000),
|
|
),
|
|
"thumb_metacarpal": (
|
|
7046.8,
|
|
(22.244, -0.000, 0.572),
|
|
(214637.6, 1669731.3, 1691338.0, -0.0, 4697.0, -0.0),
|
|
(-6.800, -9.200, -6.800),
|
|
(52.400, 9.200, 8.300),
|
|
),
|
|
"thumb_proximal": (
|
|
3711.2,
|
|
(14.338, -0.000, 0.347),
|
|
(97250.4, 480703.7, 500682.0, -0.0, 1249.7, -0.0),
|
|
(-6.200, -8.500, -6.200),
|
|
(35.600, 8.500, 7.600),
|
|
),
|
|
"thumb_distal": (
|
|
1891.1,
|
|
(9.782, 0.000, 0.294),
|
|
(23945.1, 120446.4, 118749.4, 0.0, -2004.1, 0.0),
|
|
(-5.200, -5.400, -5.200),
|
|
(24.000, 5.400, 5.800),
|
|
),
|
|
}
|