Open 3D Engine ROS2 Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::InertialsMaker Class Reference

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
 

Detailed Description

Populates the entity with contents of the <inertial> tag in robot description.

Member Function Documentation

◆ AddInertial()

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).

Parameters
inertialA pointer to a parsed SDF inertial structure, might be null.
entityIdA non-active entity which will be populated according to inertial content.

The documentation for this class was generated from the following file: