5 #ifndef __pinocchio_parser_srdf_hpp__ 6 #define __pinocchio_parser_srdf_hpp__ 8 #include "pinocchio/multibody/model.hpp" 9 #include "pinocchio/multibody/geometry.hpp" 16 #ifdef PINOCCHIO_WITH_HPP_FCL 28 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
30 GeometryModel & geomModel,
31 const std::string & filename,
32 const bool verbose =
false);
35 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
39 const std::string & filename,
40 const bool verbose =
false)
54 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
57 const std::string & xmlString,
58 const bool verbose =
false);
61 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
65 const std::string & xmlString,
66 const bool verbose =
false)
71 #endif // ifdef PINOCCHIO_WITH_HPP_FCL 83 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
87 const std::string & filename,
88 const bool verbose =
false);
91 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
95 const std::string & filename,
96 const bool verbose =
false)
108 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
111 const std::string & filename,
112 const bool verbose =
false);
122 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
125 std::istream & xmlStream,
126 const bool verbose =
false);
139 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
141 const std::string & filename,
142 const bool verbose =
false);
145 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
148 const std::string & filename,
149 const bool verbose =
false)
157 #include "pinocchio/parsers/srdf.hxx" 159 #endif // ifndef __pinocchio_parser_srdf_hpp__ void loadReferenceConfigurations(ModelTpl< Scalar, Options, JointCollectionTpl > &model, const std::string &filename, const bool verbose=false)
Get the reference configurations of a given model associated to a SRDF file. It throws if the SRDF fi...
PINOCCHIO_DEPRECATED ModelTpl< Scalar, Options, JointCollectionTpl >::ConfigVectorType getNeutralConfigurationFromSrdf(ModelTpl< Scalar, Options, JointCollectionTpl > &model, const std::string &filename, const bool verbose=false)
Get the neutral configuration of a given model associated to a SRDF file. It throws if the SRDF file ...
void removeCollisionPairsFromXML(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, GeometryModel &geomModel, const std::string &xmlString, const bool verbose=false)
Deactive all possible collision pairs mentioned in the SRDF file.
VectorXs ConfigVectorType
Dense vectorized version of a joint configuration vector.
PINOCCHIO_DEPRECATED bool loadRotorParamsFromSrdf(ModelTpl< Scalar, Options, JointCollectionTpl > &model, const std::string &filename, const bool verbose=false)
Load the rotor params of a given model associated to a SRDF file. It throws if the SRDF file is incor...
void removeCollisionPairs(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, GeometryModel &geomModel, const std::string &filename, const bool verbose=false)
Deactive all possible collision pairs mentioned in the SRDF file. It throws if the SRDF file is incor...
bool loadRotorParameters(ModelTpl< Scalar, Options, JointCollectionTpl > &model, const std::string &filename, const bool verbose=false)
Load the rotor params of a given model associated to a SRDF file. It throws if the SRDF file is incor...
PINOCCHIO_DEPRECATED ModelTpl< Scalar, Options, JointCollectionTpl >::ConfigVectorType getNeutralConfiguration(ModelTpl< Scalar, Options, JointCollectionTpl > &model, const std::string &filename, const bool verbose=false)
Get the neutral configuration of a given model associated to a SRDF file. It throws if the SRDF file ...
void loadReferenceConfigurationsFromXML(ModelTpl< Scalar, Options, JointCollectionTpl > &model, std::istream &xmlStream, const bool verbose=false)
Get the reference configurations of a given model associated to a SRDF file. It throws if the SRDF fi...
PINOCCHIO_DEPRECATED void removeCollisionPairsFromSrdf(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, GeometryModel &geomModel, const std::string &filename, const bool verbose=false)
Deactive all possible collision pairs mentioned in the SRDF file. It throws if the SRDF file is incor...
Main pinocchio namespace.
PINOCCHIO_DEPRECATED void removeCollisionPairsFromSrdfString(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, GeometryModel &geomModel, const std::string &xmlString, const bool verbose=false)
Deactive all possible collision pairs mentioned in the SRDF file.