DART  6.10.1
MjcfParser.cpp File Reference
#include "dart/utils/mjcf/MjcfParser.hpp"
#include <algorithm>
#include <cstddef>
#include <vector>
#include <Eigen/Dense>
#include "dart/collision/collision.hpp"
#include "dart/common/common.hpp"
#include "dart/config.hpp"
#include "dart/constraint/constraint.hpp"
#include "dart/dynamics/dynamics.hpp"
#include "dart/utils/CompositeResourceRetriever.hpp"
#include "dart/utils/DartResourceRetriever.hpp"
#include "dart/utils/XmlHelpers.hpp"
#include "dart/utils/mjcf/detail/MujocoModel.hpp"
#include "dart/utils/mjcf/detail/Utils.hpp"
#include "dart/utils/mjcf/detail/Worldbody.hpp"

Namespaces

 dart
 
 dart::utils
 
 dart::utils::MjcfParser
 

Functions

dynamics::BodyNode::Properties dart::utils::MjcfParser::createBodyProperties (dart::dynamics::SkeletonPtr skel, const detail::Body &mjcfBody)
 
void dart::utils::MjcfParser::createJointCommonProperties (dynamics::Joint::Properties &props, const dynamics::BodyNode *parentBodyNode, const detail::Body &, const detail::Joint &mjcfJoint)
 
dynamics::WeldJoint::Properties dart::utils::MjcfParser::createWeldJointProperties (const dynamics::BodyNode *parentBodyNode, const dynamics::BodyNode::Properties &bodyNodeProps, const detail::Body &mjcfBody)
 
dynamics::FreeJoint::Properties dart::utils::MjcfParser::createFreeJointProperties (const dynamics::BodyNode *parentBodyNode, const dynamics::BodyNode::Properties &, const detail::Body &mjcfBody, const detail::Joint &mjcfJoint)
 
dynamics::BallJoint::Properties dart::utils::MjcfParser::createBallJointProperties (const dynamics::BodyNode *parentBodyNode, const dynamics::BodyNode::Properties &, const detail::Body &mjcfBody, const detail::Joint &mjcfJoint)
 
dynamics::PrismaticJoint::Properties dart::utils::MjcfParser::createPrismaticJointProperties (const dynamics::BodyNode *parentBodyNode, const dynamics::BodyNode::Properties &, const detail::Body &mjcfBody, const detail::Joint &mjcfJoint)
 
dynamics::RevoluteJoint::Properties dart::utils::MjcfParser::createRevoluteJointProperties (const dynamics::BodyNode *parentBodyNode, const dynamics::BodyNode::Properties &, const detail::Body &mjcfBody, const detail::Joint &mjcfJoint)
 
std::pair< dynamics::Joint *, dynamics::BodyNode * > dart::utils::MjcfParser::createJointAndBodyNodePairForMultipleJoints (dynamics::SkeletonPtr skel, dynamics::BodyNode *parentBodyNode, const dynamics::BodyNode::Properties &bodyProps, const detail::Body &mjcfBody)
 
template<typename GeomOrSite >
dynamics::ShapePtr dart::utils::MjcfParser::createShape (const GeomOrSite &geomOrSite)
 
dynamics::ShapePtr dart::utils::MjcfParser::createShape (const detail::Geom &geom, const detail::Asset &mjcfAsset)
 
bool dart::utils::MjcfParser::createShapeNodes (dynamics::BodyNode *bodyNode, const detail::Body &mjcfBody, const detail::Asset &mjcfAsset)
 
bool dart::utils::MjcfParser::populateSkeletonRecurse (dynamics::SkeletonPtr skel, dynamics::BodyNode *parentBodyNode, const detail::Body &mjcfBody, const detail::Asset &mjcfAsset)
 
dynamics::SkeletonPtr dart::utils::MjcfParser::createSkeleton (const detail::Body &mjcfBody, const detail::Asset &mjcfAsset)
 
simulation::WorldPtr dart::utils::MjcfParser::createWorld (const detail::MujocoModel &mujoco, const Options &options)
 
dynamics::BodyNode * dart::utils::MjcfParser::getUniqueBodyOrNull (const simulation::World &world, const std::string &name)
 
simulation::WorldPtr dart::utils::MjcfParser::readWorld (const common::Uri &uri, const Options &options=Options())
 Reads World from MJCF model file. More...