collisionCapsule
Description
The collisionCapsule
object is a capsule primitive collision geometry
defined by a radius and length. The central line segment of the capsule aligns with its
z-axis. The origin of the body-fixed frame is at the midpoint of the
central line segment of the capsule.
Creation
Description
CAPS = collisionCapsule(
creates a capsule primitive with the specified radius radius
,length
)radius
and
length length
. The radius
and
length
arguments set the Radius
and
Length
properties, respectively
CAPS = collisionCapsule(___,Pose=
sets the pose
)Pose
property of the capsule to pose
,
relative to the world frame.
Properties
Object Functions
checkCollision | Check if two geometries are in collision |
convertToCollisionMesh | Convert collision primitive geometry into collision mesh geometry |
genspheres | Generate spheres along central line segment of capsule |
show | Show collision geometry |
Examples
Extended Capabilities
Version History
Introduced in R2022bSee Also
Objects
Functions
checkCollision
|fitCollisionCapsule
|showCollisionArray
(Robotics System Toolbox)