Open 3D Engine ROS2 Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
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. |