Namespaces | |
internal | |
Classes | |
struct | MjcfBody |
All Bodies informations extracted from mjcf model. More... | |
struct | MjcfClass |
Structure to stock all default classes information. More... | |
struct | MjcfCompiler |
Informations that are stocked in the XML tag compile. More... | |
struct | MjcfEquality |
struct | MjcfGeom |
struct | MjcfGraph |
The graph which contains all information taken from the mjcf file. More... | |
struct | MjcfJoint |
All joint information parsed from the mjcf model. More... | |
struct | MjcfMaterial |
All informations related to material are stored here. More... | |
struct | MjcfMesh |
All informations related to a mesh are stored here. More... | |
struct | MjcfSite |
struct | MjcfTexture |
All informations related to a texture are stored here. More... | |
struct | RangeJoint |
All joint limits. More... | |
Typedefs | |
typedef boost::property_tree::ptree | ptree |
typedef pinocchio::urdf::details::UrdfVisitor< double, 0, ::pinocchio::JointCollectionDefaultTpl > | UrdfVisitor |
Functions | |
static void | addLinksToGeomModel (const MjcfBody ¤tBody, const MjcfGraph ¤tGraph, GeometryModel &geomModel, ::hpp::fcl::MeshLoaderPtr &meshLoader, const GeometryType &type) |
Add all geometries associated with a body. More... | |
static double | computeVolume (const Eigen::VectorXd &size, const std::string &geomType) |
static void | copyPtree (const ptree &src, ptree &dst) |
Copy the value of ptree src into dst. More... | |
static std::string | getName (const ptree &el, const boost::filesystem::path &filePath) |
bool | isType (const MjcfGeom &geom, const GeometryType &type) |
static std::shared_ptr< fcl::CollisionGeometry > | retrieveCollisionGeometry (::hpp::fcl::MeshLoaderPtr &, const MjcfGeom &, const MjcfGraph &, std::string &, Eigen::Vector3d &) |
Get a fcl::CollisionObject from an mjcf geometry, searching for it in specified package directories. More... | |
static void | updateClassElement (ptree ¤t, const ptree &parent) |
Update class Element in order to have all info of parent classes. More... | |
static boost::filesystem::path | updatePath (bool strippath, const std::string &dir, const std::string &modelPath, const boost::filesystem::path &filePath) |
Variables | |
static const std::array< std::string, 3 > | ELEMENTS = {"joint", "geom", "site"} |
typedef boost::property_tree::ptree pinocchio::mjcf::details::ptree |
Definition at line 15 of file mjcf-graph.cpp.
typedef pinocchio::urdf::details:: UrdfVisitor<double, 0, ::pinocchio::JointCollectionDefaultTpl> pinocchio::mjcf::details::UrdfVisitor |
Definition at line 18 of file mjcf-graph.cpp.
|
static |
Add all geometries associated with a body.
currentBody | Body from which geometries will be collected |
type | Type of geometry to parse (COLLISION or VISUAL) |
geomModel | geometry model to fill |
meshLoader | mesh loader from hpp::fcl |
Definition at line 144 of file mjcf-graph-geom.cpp.
|
static |
Definition at line 19 of file mjcf-graph-geom.cpp.
Copy the value of ptree src into dst.
src | ptree to copy |
dst | ptree where copy is made |
Definition at line 26 of file mjcf-graph.cpp.
|
static |
Definition at line 54 of file mjcf-graph.cpp.
bool pinocchio::mjcf::details::isType | ( | const MjcfGeom & | geom, |
const GeometryType & | type | ||
) |
Definition at line 48 of file mjcf-graph-geom.cpp.
|
static |
Get a fcl::CollisionObject from an mjcf geometry, searching for it in specified package directories.
[in] | geom | A mjcf geometry object |
Definition at line 128 of file mjcf-graph-geom.cpp.
|
static |
Update class Element in order to have all info of parent classes.
current | current class |
dst | parent class |
Definition at line 35 of file mjcf-graph.cpp.
|
static |
Definition at line 72 of file mjcf-graph.cpp.
|
static |
Definition at line 21 of file mjcf-graph.cpp.