AGX Dynamics  2.35.0.1
agxModel::UrdfReader::Settings Struct Reference

Settings for controlling details regarding the URDF reader. More...

#include <UrdfReader.h>

Public Member Functions

 Settings (bool fixToWorld_=false, bool disableLinkedBodies_=false, bool mergeKinematicLinks_=true)
 

Public Attributes

bool disableLinkedBodies = false
 
bool fixToWorld = false
 
bool mergeKinematicLinks = true
 

Detailed Description

Settings for controlling details regarding the URDF reader.

Definition at line 39 of file UrdfReader.h.

Constructor & Destructor Documentation

◆ Settings()

agxModel::UrdfReader::Settings::Settings ( bool  fixToWorld_ = false,
bool  disableLinkedBodies_ = false,
bool  mergeKinematicLinks_ = true 
)
explicit
Parameters
fixToWorld_- if set to true the base link will be attached to the world with a agx::LockJoint
disableLinkedBodies_- If true, the collision detection between linked/constrained will be disabled.
mergeKinematicLinks_- If true, and if a Link is missing the "inertial" element, it is according to the specification to be treated as a kinematic link. This link will get a negnegligible mass and will be merged with its parent and the constraint between this link and its parent will be disabled. If false, the body will get its mass properties calculated from the shape/volume/density.

Member Data Documentation

◆ disableLinkedBodies

bool agxModel::UrdfReader::Settings::disableLinkedBodies = false

Definition at line 52 of file UrdfReader.h.

◆ fixToWorld

bool agxModel::UrdfReader::Settings::fixToWorld = false

Definition at line 51 of file UrdfReader.h.

◆ mergeKinematicLinks

bool agxModel::UrdfReader::Settings::mergeKinematicLinks = true

Definition at line 53 of file UrdfReader.h.


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