Go to the documentation of this file.
9 #include <boost/python.hpp>
21 const bp::object & filename,
22 const bool verbose =
false)
28 Model &
model,
const bp::object & filename,
const bool verbose =
false)
34 Model &
model,
const std::string & xmlStream,
const bool verbose =
false)
36 std::istringstream iss(xmlStream);
49 "removeCollisionPairs",
52 (bp::arg(
"model"), bp::arg(
"geom_model"), bp::arg(
"srdf_filename"),
53 bp::arg(
"verbose") =
false),
54 "Parse an SRDF file in order to remove some collision pairs for a specific GeometryModel.\n"
57 "\tmodel: model of the robot\n"
58 "\tgeom_model: geometry model of the robot\n"
59 "\tsrdf_filename: path to the SRDF file containing the collision pairs to remove\n"
60 "\tverbose: [optional] display to the current terminal some internal information");
63 "removeCollisionPairsFromXML",
64 static_cast<void (*)(
const Model &,
GeometryModel &,
const std::string &,
const bool)
>(
66 (bp::arg(
"model"), bp::arg(
"geom_model"), bp::arg(
"srdf_xml_stream"),
67 bp::arg(
"verbose") =
false),
68 "Parse an SRDF file in order to remove some collision pairs for a specific GeometryModel.\n"
71 "\tmodel: model of the robot\n"
72 "\tgeom_model: geometry model of the robot\n"
73 "\tsrdf_xml_stream: XML stream containing the SRDF information with the collision pairs to "
75 "\tverbose: [optional] display to the current terminal some internal information");
78 "loadReferenceConfigurations",
79 static_cast<void (*)(
Model &,
const bp::object &,
const bool)
>(
81 (bp::arg(
"model"), bp::arg(
"srdf_filename"), bp::arg(
"verbose") =
false),
82 "Retrieve all the reference configurations of a given model from the SRDF file.\n"
84 "\tmodel: model of the robot\n"
85 "\tsrdf_filename: path to the SRDF file containing the reference configurations\n"
86 "\tverbose: [optional] display to the current terminal some internal information");
89 "loadReferenceConfigurationsFromXML",
90 static_cast<void (*)(
Model &,
const std::string &,
const bool)
>(
92 (bp::arg(
"model"), bp::arg(
"srdf_xml_stream"), bp::arg(
"verbose") =
false),
93 "Retrieve all the reference configurations of a given model from the SRDF file.\n"
95 "\tmodel: model of the robot\n"
96 "\tsrdf_xml_stream: XML stream containing the SRDF information with the reference "
98 "\tverbose: [optional] display to the current terminal some internal information");
101 "loadRotorParameters",
103 (bp::arg(
"model"), bp::arg(
"srdf_filename"), bp::arg(
"verbose") =
false),
104 "Load the rotor parameters of a given model from a SRDF file.\n"
105 "Results are stored in model.rotorInertia and model.rotorGearRatio."
106 "This function also fills the armature of the model."
108 "\tmodel: model of the robot\n"
109 "\tsrdf_filename: path to the SRDF file containing the rotor parameters\n"
110 "\tverbose: [optional] display to the current terminal some internal information");
std::string path(const bp::object &path)
python pathlib.Path | str -> C++ std::string
void loadReferenceConfigurations(Model &model, const bp::object &filename, const bool verbose=false)
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(Model &model, const bp::object &filename, const bool verbose=false)
void loadReferenceConfigurationsFromXML(Model &model, const std::string &xmlStream, const bool verbose=false)
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...
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 removeCollisionPairs(const Model &model, GeometryModel &geom_model, const bp::object &filename, const bool verbose=false)
JointCollectionTpl & model
Main pinocchio namespace.
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...
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:12