Collision Capsule
R2026bLibraries:
Robotics System Toolbox /
Collision Detection
Description
The Collision Capsule block outputs a capsule primitive collision geometry defined by a radius and length, with the central line segment of the capsule aligning with its z-axis. The origin of the body-fixed frame is located at the midpoint of the central line segment.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"robotslcollision/Collision Capsule"
Example: add_block("robotslcollision/Collision Capsule","myModel/myBlock",MakeNameUnique="on")
More About
Extended Capabilities
Version History
Introduced in R2025a


