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.
|
#include <JointsMaker.h>
Public Types | |
using | JointsMakerResult = AZ::Outcome< AZ::ComponentId, AZStd::string > |
Public Member Functions | |
JointsMakerResult | AddJointComponent (const sdf::Joint *joint, AZ::EntityId followColliderEntityId, AZ::EntityId leadColliderEntityId) const |
Populates a given entity with all the contents of the <joint> tag in robot description. In URDF/SDF, joints are specified between two given links, but in PhysX they are between two Bodies / Colliders.
JointsMakerResult ROS2::JointsMaker::AddJointComponent | ( | const sdf::Joint * | joint, |
AZ::EntityId | followColliderEntityId, | ||
AZ::EntityId | leadColliderEntityId | ||
) | const |
Add a joint to an entity and sets it accordingly to sdf::Joint
joint | Joint data |
followColliderEntityId | A non-active entity which will be populated with Joint components. |
leadColliderEntityId | An entity higher in hierarchy which is connected through the joint with the child entity. |