Populates the entity with contents of the <inertial> and <joint> tag in the robot description. More...
#include <ArticulationsMaker.h>
Public Types | |
| using | ArticulationsMakerResult = AZ::Outcome< AZ::ComponentId, AZStd::string > |
Public Member Functions | |
| ArticulationsMakerResult | AddArticulationLink (const sdf::Model &model, const sdf::Link *link, AZ::EntityId entityId) const |
Populates the entity with contents of the <inertial> and <joint> tag in the robot description.
| ArticulationsMakerResult ROS2::ArticulationsMaker::AddArticulationLink | ( | const sdf::Model & | model, |
| const sdf::Link * | link, | ||
| AZ::EntityId | entityId | ||
| ) | const |
Add zero or one inertial and joints elements to a given entity (depending on link content).
| model | SDF model object which can be queried to locate the joints needed to determine if the supplied link is a child link within a joint |
| link | A pointer to a parsed SDF link. |
| entityId | A non-active entity which will be populated according to inertial content. |