Carry the gripped part in the MoveIt collision model
It can represent a part in the gripper whose envelope affects the clearance needed on the transfer path.

A practical check
Check the object state before picking, during transfer and after placement. Confirm when it belongs to the world and when it is attached. Replay the narrowest segment with the largest applicable container.
ZHILIANHAI




