Fig. 2: Endcap design and attachment.
From: Modular shape-changing tensegrity-blocks enable self-assembling robotic structures

a Exploded-view drawing of the active connector. b Two states of the active connector: unlocked, with latches rotated inward, and locked, with latches rotated outward. c Magnetic alignment to attach and the mechanical lock process. d Motor assembly and the endcap assembly.