varyCollisionProperties
Syntax
Description
varyCollisionProperties(
adds property variations for a collision between a pair of actors,
variations
,actor1ID
,actor2ID
,Name=Value
)actor1ID
and actor2ID
, in the
variationProperties
object variations
by using one
or more name-value arguments.
varyCollisionProperties(
adds property variations for a collision specified by the variations
,collisionObj
,Name=Value
)collision
object
collisionObj
in the variationProperties
object
variations
by using one or more name-value arguments.
Note
This function requires the Automated Driving Toolbox™ Test Suite for Euro NCAP® Protocols support package. You can install the Automated Driving Toolbox Test Suite for Euro NCAP Protocols support package from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Limitations
To apply collision variations, your seed scenario must contain actor collisions.
The collision side of an actor in the seed scenario must match the collision side of that actor for which you generate variations.
Tips
To apply collision variations to your seed scenario, use the
generateVariants
function.The actor collision points
Actor1CollisionFraction
andActor2CollisionFraction
are relative to their respective collision sides,Actor1CollisionSide
andActor2CollisionSide
.You can find the collision side of an actor in the seed scenario by referring to the
CollisionSide
field of thecollision
object.
Version History
Introduced in R2023a