﻿# MoveIt touch_links: permit intended grasp contacts without exempting the payload

Inspect attached-object touch links and FCL pair filtering before treating an attached payload as globally collision exempt or as physically secured.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/robotics-moveit-touch-links-specific-collision-pairs/
Language: en

## Attachment changes more than the object pose

A manipulator grasps a box and models it as attached to the gripper. Collision checking must permit the intended finger contact while still detecting that the box intersects a forearm or shelf. Disabling all collisions involving the box would make a convenient visualization but destroy this distinction. Treat attachment ownership, intended contact pairs and world-obstacle checks as separate configuration questions. A successful attachment update establishes modeled state, not the physical reliability of the grasp.

## Read touch_links as a named set

The [AttachedCollisionObject definition](https://raw.githubusercontent.com/moveit/moveit_msgs/ros2/msg/AttachedCollisionObject.msg) identifies the link to which the object is attached and carries a set of links the object is allowed to touch. Those are names in the robot model, not a general instruction to ignore the object everywhere. Inspect the actual resolved list when a convenience interface expands an end-effector group. An unexpectedly broad list can exclude meaningful self-collision pairs even though the object shape and attachment transform look correct.

## Follow collision-pair filtering

In the inspected [FCL collision callback](https://raw.githubusercontent.com/moveit/moveit2/main/moveit_core/collision_detection_fcl/src/collision_common.cpp), allowed-collision-matrix entries and attached-body touch links are distinct routes to allowing a pair. A robot-link versus attached-body pair can be skipped when the link belongs to the body’s touch set. The implementation also handles other exclusions, including bodies attached to the same link. Consequently, a missing contact cannot be attributed to touch_links without examining the pair identities and the other active filters. This finding is backend-specific.

## Create intentional overlap cases without motion

A proposed scene-only fixture should place the attached box in intended finger contact, then create distinct overlaps with a non-touch robot link and an ordinary world obstacle. Hold geometry and robot state fixed while changing only the relevant touch-link membership. Inspect pair-level collision evidence rather than a single whole-scene boolean. Keep unrelated exclusions and group-scoping settings explicit. These constructed overlaps exercise representation and filtering; they are not reports of contact experiments on hardware.

## Accept the exemption boundary, not a green display

Retain the attached object identifier, parent link, relative transform, touch-link set, collision backend and allowed-collision matrix. Acceptance should show that intended contact is permitted while selected nonexempt pairs still produce the expected collision result. Repeat the inventory check after detachment or object replacement so stale permission assumptions do not survive a lifecycle transition. If a tool suppresses contact reporting for permitted pairs, absence of reported contacts is an expected filtering consequence, not evidence of geometric separation.

## Separate collision permissions from grasp quality

No permission list measures holding force, slip or payload deformation. Those require a separate task-specific validation process. The [ACRONYM geometry guide](/journal/fg2-acronym-object-scale-normalization-invalidates-grasp-geometry/) addresses another way grasp geometry can be invalidated; the [ManiSkill conversion guide](/journal/fg2-maniskill-controller-conversion-replayed-outcome-selection/) distinguishes a changed representation from validated behavior. Here the acceptance boundary is narrower: specific modeled contact pairs are intentionally permitted, while the payload continues to participate in the remaining configured collision checks.
