diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 040c5b7..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,16 +0,0 @@ -# Changelog - -## Unreleased - -- Correct both gripper TCP frames by removing an unintended 180-degree X-axis - flip relative to the original Golf convention, consistently across Xacro, - URDF, MJCF, and USD. -- Use `base_link` as the robot root across Xacro, URDF, MJCF, and USD assets. -- Make `base_footprint` a direct fixed child while preserving MJCF and USD - physical placement, joint anchors, and controller targets. -- Add an optional USD `ROS=ros2` variant for namespaced base commands, - whole-body and gripper joint commands, joint-state feedback, and simulation - clock publishing. The default `ROS=none` variant has no ROS dependency. -- Correct chassis and omni-wheel mass accounting so the four 1.806 kg rotating - wheel outputs remain within the measured 30.15 kg chassis-module total, with - each explicit passive roller assigned 0.05 kg. diff --git a/README.md b/README.md index 5ec57ee..1b86a15 100644 --- a/README.md +++ b/README.md @@ -81,22 +81,13 @@ MJCF base variants: | --- | | ![Galbot One Golf MJCF visual model](docs/.images/galbot_one_golf_mjcf.png) | -## TCP frame -Both gripper TCP links use the same transform in Xacro, URDF, MJCF, and USD: -translation `(0.13996, 0, 0)` from the gripper base and rotation `(-pi/2, 0, 0)` -in roll-pitch-yaw order. Run `python3 scripts/validate_tcp_frames.py` after changing -any generated description. ## USD The main USD entry point is `usd/galbot_one_golf.usda`. Related payloads, textures, and example scene files are stored under `usd/`. -Each gripper finger uses the three authored collision STL pieces, with a separate -convex hull per piece. The fingertip physics material uses static/dynamic friction -of `1.5` and restitution of `0`. Validate the collision geometry and material -bindings with `python3 scripts/validate_gripper_collisions.py` (requires `usd-core`). ## Package Layout diff --git a/scripts/validate_gripper_collisions.py b/scripts/validate_gripper_collisions.py deleted file mode 100644 index 41a6af9..0000000 --- a/scripts/validate_gripper_collisions.py +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env python3 -"""Check composed USD finger colliders against the authored STL files (usd-core).""" - -import struct -from pathlib import Path - -from pxr import Gf, Usd, UsdGeom, UsdPhysics, UsdShade - - -ROOT = Path(__file__).resolve().parent.parent - - -def stl_points(path): - data = path.read_bytes() - count = struct.unpack_from(" 0, prim.GetPath() - actual = rounded_points( - transform.Transform(Gf.Vec3d(*point)) - for point in UsdGeom.Mesh(prim).GetPointsAttr().Get() - ) - source = ( - ROOT / "meshes/collision/end_effectors/galbot_gripper" - / f"link3{suffix}" / f"link_3{suffix}_collision_{i:02}.stl" - ) - assert actual == rounded_points(stl_points(source)), ( - f"{prim.GetPath()}: differs from {source}" - ) - material, _ = UsdShade.MaterialBindingAPI(prim).ComputeBoundMaterial("physics") - assert material and material.GetPrim().HasAPI(UsdPhysics.MaterialAPI), prim.GetPath() - physics = UsdPhysics.MaterialAPI(material) - assert physics.GetStaticFrictionAttr().Get() == 1.5, material.GetPath() - assert physics.GetDynamicFrictionAttr().Get() == 1.5, material.GetPath() - assert physics.GetRestitutionAttr().Get() == 0, material.GetPath() - print(f"PASS: 12 authored gripper colliders and physics materials at {root}") - - -if __name__ == "__main__": - asset = ROOT / "usd/galbot_one_golf.usda" - validate(Usd.Stage.Open(str(asset)), "/galbot_one_golf") - # Material targets must also resolve when a consumer references the robot elsewhere. - stage = Usd.Stage.CreateInMemory() - stage.DefinePrim("/World/Robot").GetReferences().AddReference(str(asset)) - validate(stage, "/World/Robot") diff --git a/scripts/validate_tcp_frames.py b/scripts/validate_tcp_frames.py deleted file mode 100644 index aabac1a..0000000 --- a/scripts/validate_tcp_frames.py +++ /dev/null @@ -1,182 +0,0 @@ -#!/usr/bin/env python3 -"""Validate the Galbot gripper TCP transform across every published format.""" - -from __future__ import annotations - -import math -import re -import sys -import xml.etree.ElementTree as ET -from pathlib import Path - - -ROOT = Path(__file__).resolve().parent.parent -TCP_NAMES = ("left_gripper_tcp_link", "right_gripper_tcp_link") -EXPECTED_POS = (0.13996, 0.0, 0.0) -EXPECTED_RPY = (-math.pi / 2.0, 0.0, 0.0) -EXPECTED_QUAT_WXYZ = (math.sqrt(0.5), -math.sqrt(0.5), 0.0, 0.0) -TOLERANCE = 1e-6 - - -def _values(raw: str, *, count: int, label: str) -> tuple[float, ...]: - values = tuple(float(value) for value in raw.split()) - if len(values) != count: - raise ValueError(f"{label} must contain {count} values") - return values - - -def _assert_close( - actual: tuple[float, ...], expected: tuple[float, ...], *, label: str -) -> None: - if len(actual) != len(expected) or any( - not math.isclose(left, right, abs_tol=TOLERANCE) - for left, right in zip(actual, expected, strict=True) - ): - raise ValueError(f"{label}: expected {expected}, observed {actual}") - - -def _assert_quat(actual: tuple[float, ...], *, label: str) -> None: - norm = math.sqrt(sum(value * value for value in actual)) - if not math.isclose(norm, 1.0, abs_tol=1e-4): - raise ValueError(f"{label}: quaternion is not normalized: {actual}") - dot = sum( - left * right for left, right in zip(actual, EXPECTED_QUAT_WXYZ, strict=True) - ) - if not math.isclose(abs(dot), 1.0, abs_tol=1e-4): - raise ValueError( - f"{label}: expected {EXPECTED_QUAT_WXYZ} up to sign, observed {actual}" - ) - - -def _validate_mjcf(path: Path) -> None: - root = ET.parse(path).getroot() - for name in TCP_NAMES: - matches = root.findall(f".//body[@name='{name}']") - if len(matches) != 1: - raise ValueError(f"{path}: expected one {name}, observed {len(matches)}") - body = matches[0] - _assert_close( - _values(body.attrib.get("pos", ""), count=3, label=f"{path}:{name} pos"), - EXPECTED_POS, - label=f"{path}:{name} pos", - ) - _assert_quat( - _values(body.attrib.get("quat", ""), count=4, label=f"{path}:{name} quat"), - label=f"{path}:{name} quat", - ) - - -def _validate_urdf(path: Path) -> None: - root = ET.parse(path).getroot() - for name in TCP_NAMES: - matches = [ - joint - for joint in root.findall("joint") - if (child := joint.find("child")) is not None - and child.attrib.get("link") == name - ] - if len(matches) != 1: - raise ValueError( - f"{path}: expected one joint for {name}, observed {len(matches)}" - ) - origin = matches[0].find("origin") - if origin is None: - raise ValueError(f"{path}:{name} has no origin") - _assert_close( - _values(origin.attrib.get("xyz", ""), count=3, label=f"{path}:{name} xyz"), - EXPECTED_POS, - label=f"{path}:{name} xyz", - ) - _assert_close( - _values(origin.attrib.get("rpy", ""), count=3, label=f"{path}:{name} rpy"), - EXPECTED_RPY, - label=f"{path}:{name} rpy", - ) - - -def _validate_xacro(path: Path) -> None: - root = ET.parse(path).getroot() - matches = [ - joint - for joint in root.iter("joint") - if joint.attrib.get("name") == "${prefix}gripper_tcp_joint" - ] - if len(matches) != 1: - raise ValueError( - f"{path}: expected one gripper TCP joint, observed {len(matches)}" - ) - origin = matches[0].find("origin") - if origin is None: - raise ValueError(f"{path}: gripper TCP joint has no origin") - _assert_close( - _values(origin.attrib.get("xyz", ""), count=3, label=f"{path}:TCP xyz"), - EXPECTED_POS, - label=f"{path}:TCP xyz", - ) - _assert_close( - _values(origin.attrib.get("rpy", ""), count=3, label=f"{path}:TCP rpy"), - EXPECTED_RPY, - label=f"{path}:TCP rpy", - ) - - -def _usd_block(text: str, name: str, *, path: Path) -> str: - match = re.search( - rf'def Xform "{re.escape(name)}"\s*\{{(?P.*?)\n\s*\}}', text, re.S - ) - if match is None: - raise ValueError(f"{path}: cannot find USD Xform {name}") - return match.group("body") - - -def _validate_usd(path: Path) -> None: - text = path.read_text(encoding="utf-8") - for name in TCP_NAMES: - block = _usd_block(text, name, path=path) - orient = re.search(r"xformOp:orient\s*=\s*\(([^)]+)\)", block) - translate = re.search(r"xformOp:translate\s*=\s*\(([^)]+)\)", block) - if orient is None or translate is None: - raise ValueError(f"{path}:{name} lacks an authored orient or translate") - _assert_quat( - _values( - orient.group(1).replace(",", " "), - count=4, - label=f"{path}:{name} orient", - ), - label=f"{path}:{name} orient", - ) - _assert_close( - _values( - translate.group(1).replace(",", " "), - count=3, - label=f"{path}:{name} translate", - ), - EXPECTED_POS, - label=f"{path}:{name} translate", - ) - - -def main() -> int: - try: - _validate_xacro(ROOT / "xacro/components/galbot_gripper.xacro") - for path in ( - ROOT / "urdf/galbot_one_golf.urdf", - ROOT / "urdf/galbot_one_golf_fixed_base.urdf", - ): - _validate_urdf(path) - for path in ( - ROOT / "mjcf/galbot_one_golf.xml", - ROOT / "mjcf/galbot_one_golf_fixed_base.xml", - ROOT / "mjcf/galbot_one_golf_planar_base.xml", - ): - _validate_mjcf(path) - _validate_usd(ROOT / "usd/payloads/base.usda") - except (ET.ParseError, OSError, ValueError) as error: - print(f"TCP frame validation failed: {error}", file=sys.stderr) - return 1 - print("TCP frames agree across Xacro, URDF, MJCF, and USD.") - return 0 - - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/usd/payloads/base.usda b/usd/payloads/base.usda index a510604..9750729 100644 --- a/usd/payloads/base.usda +++ b/usd/payloads/base.usda @@ -1531,7 +1531,7 @@ def Xform "galbot_one_golf" def Mesh "link_3_right_collision_01" ( instanceable = true - prepend references = @./right_finger_collisions.usda@ + prepend references = @./instances.usda@ ) { uniform token purpose = "guide" @@ -1539,7 +1539,7 @@ def Xform "galbot_one_golf" def Mesh "link_3_right_collision_02" ( instanceable = true - prepend references = @./right_finger_collisions.usda@ + prepend references = @./instances.usda@ ) { uniform token purpose = "guide" @@ -1547,7 +1547,7 @@ def Xform "galbot_one_golf" def Mesh "link_3_right_collision_03" ( instanceable = true - prepend references = @./right_finger_collisions.usda@ + prepend references = @./instances.usda@ ) { uniform token purpose = "guide" @@ -2646,7 +2646,7 @@ def Xform "galbot_one_golf" def Mesh "link_3_right_collision_01" ( instanceable = true - prepend references = @./right_finger_collisions.usda@ + prepend references = @./instances.usda@ ) { uniform token purpose = "guide" @@ -2654,7 +2654,7 @@ def Xform "galbot_one_golf" def Mesh "link_3_right_collision_02" ( instanceable = true - prepend references = @./right_finger_collisions.usda@ + prepend references = @./instances.usda@ ) { uniform token purpose = "guide" @@ -2662,7 +2662,7 @@ def Xform "galbot_one_golf" def Mesh "link_3_right_collision_03" ( instanceable = true - prepend references = @./right_finger_collisions.usda@ + prepend references = @./instances.usda@ ) { uniform token purpose = "guide" diff --git a/usd/payloads/geometries.usd b/usd/payloads/geometries.usd index db74807..597044c 100644 Binary files a/usd/payloads/geometries.usd and b/usd/payloads/geometries.usd differ diff --git a/usd/payloads/instances.usda b/usd/payloads/instances.usda index a44b4ba..0b69492 100644 --- a/usd/payloads/instances.usda +++ b/usd/payloads/instances.usda @@ -2062,6 +2062,33 @@ def Scope "Instances" } } + def Mesh "link_3_right_collision_01" ( + prepend references = @./geometries.usd@ + prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"] + ) + { + uniform token physics:approximation = "convexHull" + uniform token purpose = "guide" + } + + def Mesh "link_3_right_collision_02" ( + prepend references = @./geometries.usd@ + prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"] + ) + { + uniform token physics:approximation = "convexHull" + uniform token purpose = "guide" + } + + def Mesh "link_3_right_collision_03" ( + prepend references = @./geometries.usd@ + prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"] + ) + { + uniform token physics:approximation = "convexHull" + uniform token purpose = "guide" + } + def Xform "mesh_74" ( prepend references = @./geometries.usd@ ) diff --git a/usd/payloads/right_finger_collisions.usda b/usd/payloads/right_finger_collisions.usda deleted file mode 100644 index ede31cd..0000000 --- a/usd/payloads/right_finger_collisions.usda +++ /dev/null @@ -1,43 +0,0 @@ -#usda 1.0 -# From meshes/collision/end_effectors/galbot_gripper/link3_right/*.stl. -# Side-specific coordinates avoid negative scale on PhysX colliders. -( - metersPerUnit = 1 - upAxis = "Z" -) - -def Mesh "link_3_right_collision_01" ( - prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"] -) -{ - int[] faceVertexCounts = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] - int[] faceVertexIndices = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59] - uniform token physics:approximation = "convexHull" - point3f[] points = [(0.0055, 0.006, 0.01015), (0.0055, -0.0062, 0.01015), (0.0055, -0.0062, -0.010067), (0.0055, 0.006, 0.01015), (0.0055, -0.0062, -0.010067), (0.0055, 0.006, -0.010067), (0.0055, 0.006, -0.010067), (0.0055, -0.0062, -0.010067), (0.0315, -0.0062, -0.010067), (0.0055, 0.006, -0.010067), (0.0315, -0.0062, -0.010067), (0.0315, 0.006, -0.010067), (0.0315, -0.0062, 0.01015), (0.0315, 0.006, 0.01015), (0.037266135, 0.0004069367, 0.008964734), (0.0315, -0.0062, 0.01015), (0.037266135, 0.0004069367, 0.008964734), (0.037266135, -0.0061999997, 0.008964734), (0.0315, 0.006, 0.01015), (0.0315, -0.0062, 0.01015), (0.0055, -0.0062, 0.01015), (0.0315, 0.006, 0.01015), (0.0055, -0.0062, 0.01015), (0.0055, 0.006, 0.01015), (0.0055, 0.006, -0.010067), (0.0315, 0.006, -0.010067), (0.0315, 0.006, 0.01015), (0.0055, 0.006, -0.010067), (0.0315, 0.006, 0.01015), (0.0055, 0.006, 0.01015), (0.0315, -0.0062, -0.010067), (0.0055, -0.0062, -0.010067), (0.0055, -0.0062, 0.01015), (0.0315, -0.0062, -0.010067), (0.0055, -0.0062, 0.01015), (0.0315, -0.0062, 0.01015), (0.037266135, 0.0004069367, -0.008881734), (0.037266135, -0.0061999997, -0.008881734), (0.037266135, -0.0061999997, 0.008964734), (0.037266135, 0.0004069367, -0.008881734), (0.037266135, -0.0061999997, 0.008964734), (0.037266135, 0.0004069367, 0.008964734), (0.0315, 0.006, 0.01015), (0.0315, 0.006, -0.010067), (0.037266135, 0.0004069367, -0.008881734), (0.0315, 0.006, 0.01015), (0.037266135, 0.0004069367, -0.008881734), (0.037266135, 0.0004069367, 0.008964734), (0.0315, -0.0062, -0.010067), (0.0315, -0.0062, 0.01015), (0.037266135, -0.0061999997, 0.008964734), (0.0315, -0.0062, -0.010067), (0.037266135, -0.0061999997, 0.008964734), (0.037266135, -0.0061999997, -0.008881734), (0.0315, 0.006, -0.010067), (0.0315, -0.0062, -0.010067), (0.037266135, -0.0061999997, -0.008881734), (0.0315, 0.006, -0.010067), (0.037266135, -0.0061999997, -0.008881734), (0.037266135, 0.0004069367, -0.008881734)] - uniform token purpose = "guide" - uniform token subdivisionScheme = "none" -} - -def Mesh "link_3_right_collision_02" ( - prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"] -) -{ - int[] faceVertexCounts = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] - int[] faceVertexIndices = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119] - uniform token physics:approximation = "convexHull" - point3f[] points = [(0.037266135, 0.00042217292, -0.008881734), (0.037266135, 0.00042217292, 0.0089217415), (0.037266135, -0.0062, 0.0089217415), (0.037266135, 0.00042217292, -0.008881734), (0.037266135, -0.0062, 0.0089217415), (0.037266135, -0.0062, -0.008881734), (0.0655224, -0.0061999997, 0.00004150049), (0.0655224, -0.005609012, 0.00004150049), (0.065271445, -0.0055554467, -0.0012937592), (0.0655224, -0.0061999997, 0.00004150049), (0.065271445, -0.0055554467, -0.0012937592), (0.065271445, -0.0061999997, -0.0012937592), (0.065271445, -0.0061999997, -0.0012937592), (0.065271445, -0.0055554467, -0.0012937592), (0.06455679, -0.005402907, -0.0025245543), (0.065271445, -0.0061999997, -0.0012937592), (0.06455679, -0.005402907, -0.0025245543), (0.06455679, -0.0061999997, -0.0025245543), (0.06455679, -0.0061999997, -0.0025245543), (0.06455679, -0.005402907, -0.0025245543), (0.06348723, -0.005174613, -0.003463507), (0.06455679, -0.0061999997, -0.0025245543), (0.06348723, -0.005174613, -0.003463507), (0.06348723, -0.0061999997, -0.003463507), (0.06348723, -0.0061999997, -0.003463507), (0.06348723, -0.005174613, -0.003463507), (0.062225595, -0.004905323, -0.003967671), (0.06348723, -0.0061999997, -0.003463507), (0.062225595, -0.004905323, -0.003967671), (0.062225595, -0.0061999997, -0.003967671), (0.06222465, -0.0061999997, 0.004045841), (0.06222465, -0.004905121, 0.0040458413), (0.06348664, -0.005174489, 0.003543526), (0.06222465, -0.0061999997, 0.004045841), (0.06348664, -0.005174489, 0.003543526), (0.06348664, -0.0061999997, 0.0035435257), (0.06348664, -0.0061999997, 0.0035435257), (0.06348664, -0.005174489, 0.003543526), (0.06455651, -0.0054028477, 0.0026061404), (0.06348664, -0.0061999997, 0.0035435257), (0.06455651, -0.0054028477, 0.0026061404), (0.06455651, -0.0061999997, 0.0026061404), (0.06455651, -0.0061999997, 0.0026061404), (0.06455651, -0.0054028477, 0.0026061404), (0.06527138, -0.0055554323, 0.0013763924), (0.06455651, -0.0061999997, 0.0026061404), (0.06527138, -0.0055554323, 0.0013763924), (0.06527138, -0.0061999997, 0.0013763924), (0.06527138, -0.0061999997, 0.0013763924), (0.06527138, -0.0055554323, 0.0013763924), (0.0655224, -0.005609012, 0.00004150049), (0.06527138, -0.0061999997, 0.0013763924), (0.0655224, -0.005609012, 0.00004150049), (0.0655224, -0.0061999997, 0.00004150049), (0.037266135, 0.00042217292, -0.008881734), (0.037266135, -0.0062, -0.008881734), (0.062225595, -0.0061999997, -0.003967671), (0.037266135, 0.00042217292, -0.008881734), (0.062225595, -0.0061999997, -0.003967671), (0.062225595, -0.004905323, -0.003967671), (0.065271445, -0.0061999997, -0.0012937592), (0.06527138, -0.0061999997, 0.0013763924), (0.0655224, -0.0061999997, 0.00004150049), (0.06527138, -0.0055554323, 0.0013763924), (0.065271445, -0.0055554467, -0.0012937592), (0.0655224, -0.005609012, 0.00004150049), (0.037266135, -0.0062, 0.0089217415), (0.037266135, 0.00042217292, 0.0089217415), (0.06222465, -0.004905121, 0.0040458413), (0.037266135, -0.0062, 0.0089217415), (0.06222465, -0.004905121, 0.0040458413), (0.06222465, -0.0061999997, 0.004045841), (0.037266135, -0.0062, -0.008881734), (0.037266135, -0.0062, 0.0089217415), (0.06222465, -0.0061999997, 0.004045841), (0.037266135, -0.0062, -0.008881734), (0.06222465, -0.0061999997, 0.004045841), (0.062225595, -0.0061999997, -0.003967671), (0.037266135, 0.00042217292, 0.0089217415), (0.037266135, 0.00042217292, -0.008881734), (0.062225595, -0.004905323, -0.003967671), (0.037266135, 0.00042217292, 0.0089217415), (0.062225595, -0.004905323, -0.003967671), (0.06222465, -0.004905121, 0.0040458413), (0.062225595, -0.0061999997, -0.003967671), (0.06222465, -0.0061999997, 0.004045841), (0.06348664, -0.0061999997, 0.0035435257), (0.062225595, -0.0061999997, -0.003967671), (0.06348664, -0.0061999997, 0.0035435257), (0.06348723, -0.0061999997, -0.003463507), (0.06348723, -0.0061999997, -0.003463507), (0.06348664, -0.0061999997, 0.0035435257), (0.06455651, -0.0061999997, 0.0026061404), (0.06348723, -0.0061999997, -0.003463507), (0.06455651, -0.0061999997, 0.0026061404), (0.06455679, -0.0061999997, -0.0025245543), (0.06455679, -0.0061999997, -0.0025245543), (0.06455651, -0.0061999997, 0.0026061404), (0.06527138, -0.0061999997, 0.0013763924), (0.06455679, -0.0061999997, -0.0025245543), (0.06527138, -0.0061999997, 0.0013763924), (0.065271445, -0.0061999997, -0.0012937592), (0.06222465, -0.004905121, 0.0040458413), (0.062225595, -0.004905323, -0.003967671), (0.06348723, -0.005174613, -0.003463507), (0.06222465, -0.004905121, 0.0040458413), (0.06348723, -0.005174613, -0.003463507), (0.06348664, -0.005174489, 0.003543526), (0.06348664, -0.005174489, 0.003543526), (0.06348723, -0.005174613, -0.003463507), (0.06455679, -0.005402907, -0.0025245543), (0.06348664, -0.005174489, 0.003543526), (0.06455679, -0.005402907, -0.0025245543), (0.06455651, -0.0054028477, 0.0026061404), (0.06455651, -0.0054028477, 0.0026061404), (0.06455679, -0.005402907, -0.0025245543), (0.065271445, -0.0055554467, -0.0012937592), (0.06455651, -0.0054028477, 0.0026061404), (0.065271445, -0.0055554467, -0.0012937592), (0.06527138, -0.0055554323, 0.0013763924)] - uniform token purpose = "guide" - uniform token subdivisionScheme = "none" -} - -def Mesh "link_3_right_collision_03" ( - prepend apiSchemas = ["PhysicsCollisionAPI", "PhysicsMeshCollisionAPI"] -) -{ - int[] faceVertexCounts = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] - int[] faceVertexIndices = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155] - uniform token physics:approximation = "convexHull" - point3f[] points = [(-0.0061415415, 0.017224204, -0.0050006183), (-0.0061415415, 0.017224204, 0.0050007175), (-0.0083063645, 0.015766233, 0.0050007175), (-0.0061415415, 0.017224204, -0.0050006183), (-0.0083063645, 0.015766233, 0.0050007175), (-0.0083063645, 0.015766233, -0.0050006183), (-0.0083063645, 0.015766233, -0.0050006183), (-0.0083063645, 0.015766233, 0.0050007175), (-0.009456553, 0.013476077, 0.0050007175), (-0.0083063645, 0.015766233, -0.0050006183), (-0.009456553, 0.013476077, 0.0050007175), (-0.009456553, 0.013476077, -0.0050006183), (-0.009456553, 0.013476077, -0.0050006183), (-0.009456553, 0.013476077, 0.0050007175), (-0.009283913, 0.010967379, 0.0050007175), (-0.009456553, 0.013476077, -0.0050006183), (-0.009283913, 0.010967379, 0.0050007175), (-0.009283913, 0.010967379, -0.0050006183), (0.0016586701, -0.0047249077, 0.0050007175), (0.0016586697, -0.0047249077, -0.0050006183), (-0.000940725, -0.0049600312, -0.0050006183), (0.0016586701, -0.0047249077, 0.0050007175), (-0.000940725, -0.0049600312, -0.0050006183), (-0.0009407245, -0.0049600312, 0.0050007175), (-0.0009407245, -0.0049600312, 0.0050007175), (-0.000940725, -0.0049600312, -0.0050006183), (-0.0032781865, -0.0039093047, -0.0050006183), (-0.0009407245, -0.0049600312, 0.0050007175), (-0.0032781865, -0.0039093047, -0.0050006183), (-0.0032781865, -0.0039093047, 0.0050007175), (-0.0032781865, -0.0039093047, 0.0050007175), (-0.0032781865, -0.0039093047, -0.0050006183), (-0.0047273934, -0.0018542707, -0.0050006183), (-0.0032781865, -0.0039093047, 0.0050007175), (-0.0047273934, -0.0018542707, -0.0050006183), (-0.0047273934, -0.0018542707, 0.0050007175), (-0.0061415415, 0.017224204, 0.0050007175), (-0.0061415415, 0.017224204, -0.0050006183), (-0.0035421469, 0.017459327, -0.0050006183), (-0.0061415415, 0.017224204, 0.0050007175), (-0.0035421469, 0.017459327, -0.0050006183), (-0.0035421464, 0.017459327, 0.0050007175), (-0.0035421464, 0.017459327, 0.0050007175), (-0.0035421469, 0.017459327, -0.0050006183), (-0.0012046851, 0.0164086, -0.0050006183), (-0.0035421464, 0.017459327, 0.0050007175), (-0.0012046851, 0.0164086, -0.0050006183), (-0.0012046851, 0.0164086, 0.0050007175), (-0.0012046851, 0.0164086, 0.0050007175), (-0.0012046851, 0.0164086, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (-0.0012046851, 0.0164086, 0.0050007175), (0.000244522, 0.014353567, -0.0050006183), (0.000244522, 0.014353567, 0.0050007175), (0.0016586697, -0.0047249077, -0.0050006183), (0.0016586701, -0.0047249077, 0.0050007175), (0.0038234931, -0.003266937, 0.0050007175), (0.0016586697, -0.0047249077, -0.0050006183), (0.0038234931, -0.003266937, 0.0050007175), (0.0038234927, -0.003266937, -0.0050006183), (0.0038234927, -0.003266937, -0.0050006183), (0.0038234931, -0.003266937, 0.0050007175), (0.0049736807, -0.0009767804, 0.0050007175), (0.0038234927, -0.003266937, -0.0050006183), (0.0049736807, -0.0009767804, 0.0050007175), (0.0049736807, -0.0009767804, -0.0050006183), (0.0049736807, -0.0009767804, -0.0050006183), (0.0049736807, -0.0009767804, 0.0050007175), (0.0048010414, 0.0015319176, 0.0050007175), (0.0049736807, -0.0009767804, -0.0050006183), (0.0048010414, 0.0015319176, 0.0050007175), (0.0048010414, 0.0015319176, -0.0050006183), (-0.009283913, 0.010967379, 0.0050007175), (-0.0047273934, -0.0018542707, 0.0050007175), (-0.0047273934, -0.0018542707, -0.0050006183), (-0.009283913, 0.010967379, 0.0050007175), (-0.0047273934, -0.0018542707, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (-0.0083063645, 0.015766233, 0.0050007175), (-0.0061415415, 0.017224204, 0.0050007175), (-0.0035421464, 0.017459327, 0.0050007175), (-0.0035421464, 0.017459327, 0.0050007175), (-0.0012046851, 0.0164086, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175), (0.0048010414, 0.0015319176, 0.0050007175), (0.0049736807, -0.0009767804, 0.0050007175), (0.0049736807, -0.0009767804, 0.0050007175), (0.0038234931, -0.003266937, 0.0050007175), (0.0016586701, -0.0047249077, 0.0050007175), (0.0016586701, -0.0047249077, 0.0050007175), (-0.0009407245, -0.0049600312, 0.0050007175), (-0.0032781865, -0.0039093047, 0.0050007175), (-0.0032781865, -0.0039093047, 0.0050007175), (-0.0047273934, -0.0018542707, 0.0050007175), (-0.009283913, 0.010967379, 0.0050007175), (-0.009283913, 0.010967379, 0.0050007175), (-0.009456553, 0.013476077, 0.0050007175), (-0.0083063645, 0.015766233, 0.0050007175), (-0.0083063645, 0.015766233, 0.0050007175), (-0.0035421464, 0.017459327, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175), (0.0049736807, -0.0009767804, 0.0050007175), (0.0016586701, -0.0047249077, 0.0050007175), (0.0016586701, -0.0047249077, 0.0050007175), (-0.0032781865, -0.0039093047, 0.0050007175), (-0.009283913, 0.010967379, 0.0050007175), (-0.009283913, 0.010967379, 0.0050007175), (-0.0083063645, 0.015766233, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175), (0.0016586701, -0.0047249077, 0.0050007175), (-0.009283913, 0.010967379, 0.0050007175), (-0.0035421469, 0.017459327, -0.0050006183), (-0.0061415415, 0.017224204, -0.0050006183), (-0.0083063645, 0.015766233, -0.0050006183), (-0.0083063645, 0.015766233, -0.0050006183), (-0.009456553, 0.013476077, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (-0.0047273934, -0.0018542707, -0.0050006183), (-0.0032781865, -0.0039093047, -0.0050006183), (-0.0032781865, -0.0039093047, -0.0050006183), (-0.000940725, -0.0049600312, -0.0050006183), (0.0016586697, -0.0047249077, -0.0050006183), (0.0016586697, -0.0047249077, -0.0050006183), (0.0038234927, -0.003266937, -0.0050006183), (0.0049736807, -0.0009767804, -0.0050006183), (0.0049736807, -0.0009767804, -0.0050006183), (0.0048010414, 0.0015319176, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (-0.0012046851, 0.0164086, -0.0050006183), (-0.0035421469, 0.017459327, -0.0050006183), (-0.0035421469, 0.017459327, -0.0050006183), (-0.0083063645, 0.015766233, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (-0.0032781865, -0.0039093047, -0.0050006183), (0.0016586697, -0.0047249077, -0.0050006183), (0.0016586697, -0.0047249077, -0.0050006183), (0.0049736807, -0.0009767804, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (-0.0035421469, 0.017459327, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (-0.009283913, 0.010967379, -0.0050006183), (0.0016586697, -0.0047249077, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (0.000244522, 0.014353567, -0.0050006183), (0.0048010414, 0.0015319176, -0.0050006183), (0.0048010414, 0.0015319176, 0.0050007175), (0.000244522, 0.014353567, -0.0050006183), (0.0048010414, 0.0015319176, 0.0050007175), (0.000244522, 0.014353567, 0.0050007175)] - uniform token purpose = "guide" - uniform token subdivisionScheme = "none" -}