33 #ifndef DART_UTILS_VSKPARSER_HPP_
34 #define DART_UTILS_VSKPARSER_HPP_
87 = Eigen::Vector3d::Constant(0.05),
VskParser::Options options
Definition: VskParser.cpp:67
std::shared_ptr< ResourceRetriever > ResourceRetrieverPtr
Definition: ResourceRetriever.hpp:76
std::shared_ptr< Skeleton > SkeletonPtr
Definition: SmartPointer.hpp:60
dynamics::SkeletonPtr readSkeleton(const common::Uri &fileUri, Options options=Options())
Read Skeleton from VSK file.
Definition: VskParser.cpp:197
Definition: BulletCollisionDetector.cpp:65
The Uri struct provides URI parsing and merging functionality based on RFC 3986.
Definition: Uri.hpp:87
static constexpr T pi()
Definition: Constants.hpp:45
Options struct is additional information that helps building a skeleton that can be used in kinematic...
Definition: VskParser.hpp:50
double density
Density of each ellipsoid that are used to compute mass.
Definition: VskParser.hpp:66
bool removeEndBodyNodes
Remove end BodyNodes with no Shape segment.
Definition: VskParser.hpp:81
double jointDampingCoefficient
Joint damping coefficient.
Definition: VskParser.hpp:75
Options(const common::ResourceRetrieverPtr &retrieverOrNullptr=nullptr, const Eigen::Vector3d &defaultEllipsoidSize=Eigen::Vector3d::Constant(0.05), double thicknessRatio=0.35, double density=1e+3, double jointPositionLowerLimit=-math::constantsd::pi(), double jointPositionUpperLimit=+math::constantsd::pi(), double jointDampingCoefficient=0.1, double jointFriction=0.0, bool removeEndBodyNodes=false)
Constructor.
Definition: VskParser.cpp:173
double jointFriction
Joint Coulomb friction.
Definition: VskParser.hpp:78
double jointPositionLowerLimit
Lower limit of joint position.
Definition: VskParser.hpp:69
Eigen::Vector3d defaultEllipsoidSize
The default shape for body node is ellipsoid.
Definition: VskParser.hpp:58
common::ResourceRetrieverPtr retrieverOrNullptr
Resource retriever. LocalResourceRetriever is used if it's nullptr.
Definition: VskParser.hpp:52
double jointPositionUpperLimit
Upper limit of joint position.
Definition: VskParser.hpp:72
double thicknessRatio
Ratio of shorter radii of each ellipsoid to the longest radius where the longest radius is the distan...
Definition: VskParser.hpp:63