pinocchio  3.7.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
 
Loading...
Searching...
No Matches
srdf.hpp
1//
2// Copyright (c) 2016-2020 CNRS INRIA
3//
4
5#ifndef __pinocchio_parser_srdf_hpp__
6#define __pinocchio_parser_srdf_hpp__
7
8#include "pinocchio/multibody/model.hpp"
9#include "pinocchio/multibody/geometry.hpp"
10
11namespace pinocchio
12{
13 namespace srdf
14 {
15
26 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
30 const std::string & filename,
31 const bool verbose = false);
32
42 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
46 const std::string & xmlString,
47 const bool verbose = false);
48
58 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
61 const std::string & filename,
62 const bool verbose = false);
63
73 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
76 std::istream & xmlStream,
77 const bool verbose = false);
78
89 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl>
92 const std::string & filename,
93 const bool verbose = false);
94
95 } // namespace srdf
96} // namespace pinocchio
97
98#include "pinocchio/parsers/srdf.hxx"
99
100#endif // ifndef __pinocchio_parser_srdf_hpp__
void removeCollisionPairs(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, GeometryModel &geom_model, 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...
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...
void removeCollisionPairsFromXML(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, GeometryModel &geom_model, const std::string &xmlString, const bool verbose=false)
Deactive all possible collision pairs mentioned in the SRDF file.
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...
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...
Main pinocchio namespace.
Definition treeview.dox:11