Populates a given entity with all the contents of the <collider> tag in robot description.
More...
#include <CollidersMaker.h>
Populates a given entity with all the contents of the <collider> tag in robot description.
◆ CollidersMaker()
ROS2::CollidersMaker::CollidersMaker |
( |
const AZStd::shared_ptr< Utils::UrdfAssetMap > & |
sdfAssetsMapping | ) |
|
Construct the class based on SDF asset mapping.
- Parameters
-
sdfAssetsMapping | a prepared mapping of Assets used by the source URDF/SDF. |
◆ AddColliders()
void ROS2::CollidersMaker::AddColliders |
( |
const sdf::Model & |
model, |
|
|
const sdf::Link * |
link, |
|
|
AZ::EntityId |
entityId |
|
) |
| |
Add zero, one or many collider elements (depending on link content).
- Parameters
-
model | An SDF model object provided by libsdformat from a parsed URDF/SDF |
link | A parsed SDF tree link node which could hold information about colliders. |
entityId | A non-active entity which will be affected. |
◆ ProcessMeshes()
void ROS2::CollidersMaker::ProcessMeshes |
( |
BuildReadyCallback |
notifyBuildReadyCb | ) |
|
Sends meshes required for colliders to asset processor.
- Parameters
-
buildReadyCb | Function to call when the processing finishes. |
The documentation for this class was generated from the following file:
- Gems/ROS2/Code/Source/RobotImporter/URDF/CollidersMaker.h