MoveIt's Allowed Collision Matrix tells collision checking whether contact between a named pair of bodies needs to be checked. When a pair is always allowed, the collision pipeline can skip its contact test. A collision-free result under that matrix therefore means no disallowed collision was reported. It does not prove that every allowed pair was geometrically separated.

This distinction is essential for robot grippers, fixtures, attached tools, cable guides, and adjacent links. An allowance can be correct because two bodies are designed to touch, because they can never collide, or because a task temporarily accepts contact. The matrix records the checking policy; it does not record measured clearance or contact force.

What the matrix changes

Official MoveIt documentation describes the ACM as a binary decision about whether collision checking is required for a pair of robot or world bodies. MoveIt's FCL collision code reads the matrix before computing contacts. An ALWAYS entry can bypass contact computation. Conditional entries can use a contact decision function inside the process, while NEVER means the contact remains disallowed.

An allowed result is thus policy-relative. Two robot states checked with different ACMs can produce different collision booleans without any geometry moving. The difference is not an error; the question changed from "does any pair intersect?" to "does any pair that this policy forbids intersect?"

Distance queries can be affected too. The collision implementation can skip distance calculations for always-allowed pairs. Do not expect a minimum-distance report to prove clearance for a pair that the policy excluded.

Why allowances exist

Adjacent links may share surfaces at a modeled joint or remain close by construction. Checking every such pair can waste planning time or report contacts that are irrelevant to motion. Setup tools can sample robot states and disable selected pairs that collide consistently or never approach each other.

Attached objects also need intentional contact. A grasped workpiece can touch specified gripper links. MoveIt supports touch links for an attached body, which effectively allow those contacts. That permission should be limited to the actual grasp interface and task phase.

A world fixture is different. Allowing the end effector to touch a table during a surface operation may be legitimate, but it should not silently allow the wrist, forearm, or carried object to pass through the same table.

Clearance is separate evidence

If an engineering claim requires a 10-millimeter gap, preserve distance evidence with the relevant pair enabled for distance checking. An ACM entry cannot establish that number. If a task accepts contact, define acceptable links, geometry region, approach direction, force or torque limits, and duration in the systems that can observe those quantities.

Collision geometry quality also limits the conclusion. A coarse mesh, missing cable, outdated tool shape, or incorrect object pose can create apparent clearance even when every pair is checked. Record geometry revisions and scene transforms with the result.

Scope and lifetime matter

Treat an allowance as a scoped exception. Identify the exact pair, reason, owner, task phase, start condition, and removal condition. Prefer a temporary planning-scene change around the operation rather than editing a global default for one rare task.

Restore the previous matrix after the task, including on cancel, timeout, or fault paths. A recovery routine that returns the robot to a safe pose should not inherit contact permissions intended only for insertion or grasping.

Avoid broad default entries when a specific pair is sufficient. A default allowance for a link can affect future objects whose names were not known when the rule was created. Explicit entries make review and audit easier.

Names and identity must be stable

The ACM refers to bodies by names. Renaming a link, replacing a collision object under the same ID, or attaching an object changes the interpretation of a stored rule. Validate that every allowed name exists in the current robot model or scene and corresponds to the expected geometry revision.

An object ID is not an immutable asset identity. If fixture is reused for a different shape, an old fixture-to-tool allowance may authorize contact with new geometry. Bind safety-relevant policy to configuration revision and object provenance, not only a string.

Build a two-pass validation

First run the operational collision check with the production ACM. Record all allowed entries effective for the request, including defaults and touch links. Verify that no disallowed contact exists along the full trajectory, not only at endpoints.

Second run a diagnostic check with the pair under review re-enabled. Request contacts or distances and measure what the operational policy suppressed. For intentional contact, verify that contact occurs only where expected. For a pair believed never to collide, sweep representative joint limits and confirm the claim.

Use a negative control. Add a small test obstacle or perturb the object pose so the allowed pair penetrates more deeply. The operational result may remain valid by design, while the diagnostic channel should reveal the geometry. This proves that the evidence system can distinguish permission from separation.

Test transitions. Plan immediately before enabling the allowance, while it is active, and after removal. Confirm that planners and servo collision monitors observe the intended matrix revision. Lock or version the scene so a plan cannot be generated under one policy and executed under another without validation.

Review defaults generated by sampling. Sampling can support performance decisions but cannot explore every continuous state. Preserve the sampling method, number of states, random seed, and disabled-pair reasons. Recompute after geometry or joint-limit changes.

Execution needs more than collision policy

An ACM does not regulate contact force. If a robot intentionally contacts a surface, use force/torque sensing, impedance behavior, speed limits, and stop thresholds appropriate to the task. Collision permission should never be presented as a physical safety controller.

At execution time, record which matrix was active. A path planned with an allowance may become invalid if that allowance is removed; a path planned without it may need rechecking if geometry or attachments changed.

State the result narrowly

A defensible statement says that a trajectory had no disallowed collisions under a named ACM revision and that separately requested contact or distance evidence showed the expected condition for allowed pairs. It does not call an allowed pair clear merely because the collision result was false.

The ACM is powerful because it makes collision checking task-aware and efficient. Use it as an explicit permission system, then gather geometry, distance, and force evidence from the checks that actually measure those properties.