Populates the entity with contents of the <inertial> tag in robot description. More...
#include <InertialsMaker.h>
Public Member Functions | |
void | AddInertial (const gz::math::Inertiald &inertial, AZ::EntityId entityId) const |
Populates the entity with contents of the <inertial> tag in robot description.
void ROS2::InertialsMaker::AddInertial | ( | const gz::math::Inertiald & | inertial, |
AZ::EntityId | entityId | ||
) | const |
Add zero or one inertial elements to a given entity (depending on link content).
inertial | A pointer to a parsed SDF inertial structure, might be null. |
entityId | A non-active entity which will be populated according to inertial content. |