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:184
Definition: BulletCollisionDetector.cpp:63
The Uri struct provides URI parsing and merging functionality based on RFC 3986.
Definition: Uri.hpp:87
static constexpr T pi()
Definition: Constants.hpp:44
Options struct is additional information that helps building a skeleton that can be used in kinematic...
Definition: VskParser.hpp:51
double density
Density of each ellipsoid that are used to compute mass.
Definition: VskParser.hpp:67
bool removeEndBodyNodes
Remove end BodyNodes with no Shape segment.
Definition: VskParser.hpp:82
double jointDampingCoefficient
Joint damping coefficient.
Definition: VskParser.hpp:76
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:160
double jointFriction
Joint Coulomb friction.
Definition: VskParser.hpp:79
double jointPositionLowerLimit
Lower limit of joint position.
Definition: VskParser.hpp:70
Eigen::Vector3d defaultEllipsoidSize
The default shape for body node is ellipsoid.
Definition: VskParser.hpp:59
common::ResourceRetrieverPtr retrieverOrNullptr
Resource retriever. LocalResourceRetriever is used if it's nullptr.
Definition: VskParser.hpp:53
double jointPositionUpperLimit
Upper limit of joint position.
Definition: VskParser.hpp:73
double thicknessRatio
Ratio of shorter radii of each ellipsoid to the longest radius where the longest radius is the distan...
Definition: VskParser.hpp:64