Representation of semantic information about the robot. More...
#include <srdf_model.h>
Public Types | |
| using | ConstPtr = std::shared_ptr< const SRDFModel > |
| using | Ptr = std::shared_ptr< SRDFModel > |
Public Member Functions | |
| void | clear () |
| Clear the model. More... | |
| void | initFile (const tesseract_scene_graph::SceneGraph &scene_graph, const std::string &filename, const tesseract_common::ResourceLocator &locator) |
| Load Model given a filename. More... | |
| void | initString (const tesseract_scene_graph::SceneGraph &scene_graph, const std::string &xmlstring, const tesseract_common::ResourceLocator &locator) |
| Load Model from a XML-string. More... | |
| bool | operator!= (const SRDFModel &rhs) const |
| SRDFModel & | operator= (const SRDFModel &)=default |
| SRDFModel & | operator= (SRDFModel &&)=default |
| bool | operator== (const SRDFModel &rhs) const |
| bool | saveToFile (const std::string &file_path) const |
| Save the model to a file. More... | |
| SRDFModel ()=default | |
| SRDFModel (const SRDFModel &)=default | |
| SRDFModel (SRDFModel &&)=default | |
| virtual | ~SRDFModel ()=default |
Public Attributes | |
| tesseract_common::AllowedCollisionMatrix | acm |
| The allowed collision matrix. More... | |
| tesseract_common::CalibrationInfo | calibration_info |
| The calibration information. More... | |
| std::shared_ptr< tesseract_common::CollisionMarginData > | collision_margin_data |
| Collision margin data. More... | |
| tesseract_common::ContactManagersPluginInfo | contact_managers_plugin_info |
| The contact managers plugin information. More... | |
| KinematicsInformation | kinematics_information |
| Contact information related to kinematics. More... | |
| std::string | name { "undefined" } |
| The name of the srdf model. More... | |
| std::array< int, 3 > | version { { 1, 0, 0 } } |
| The version number major.minor[.patch]. More... | |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
| struct | tesseract_common::Serialization |
Representation of semantic information about the robot.
Definition at line 54 of file srdf_model.h.
| using tesseract_srdf::SRDFModel::ConstPtr = std::shared_ptr<const SRDFModel> |
Definition at line 62 of file srdf_model.h.
| using tesseract_srdf::SRDFModel::Ptr = std::shared_ptr<SRDFModel> |
Definition at line 61 of file srdf_model.h.
|
default |
|
virtualdefault |
|
default |
|
default |
| void tesseract_srdf::SRDFModel::clear | ( | ) |
Clear the model.
Definition at line 423 of file srdf_model.cpp.
| void tesseract_srdf::SRDFModel::initFile | ( | const tesseract_scene_graph::SceneGraph & | scene_graph, |
| const std::string & | filename, | ||
| const tesseract_common::ResourceLocator & | locator | ||
| ) |
Load Model given a filename.
| std::nested_exception | if an error occurs during parsing srdf |
Definition at line 62 of file srdf_model.cpp.
| void tesseract_srdf::SRDFModel::initString | ( | const tesseract_scene_graph::SceneGraph & | scene_graph, |
| const std::string & | xmlstring, | ||
| const tesseract_common::ResourceLocator & | locator | ||
| ) |
Load Model from a XML-string.
| std::nested_exception | if an error occurs during parsing srdf |
Definition at line 94 of file srdf_model.cpp.
| bool tesseract_srdf::SRDFModel::operator!= | ( | const SRDFModel & | rhs | ) | const |
Definition at line 446 of file srdf_model.cpp.
| bool tesseract_srdf::SRDFModel::operator== | ( | const SRDFModel & | rhs | ) | const |
Definition at line 433 of file srdf_model.cpp.
| bool tesseract_srdf::SRDFModel::saveToFile | ( | const std::string & | file_path | ) | const |
Save the model to a file.
Definition at line 253 of file srdf_model.cpp.
|
private |
Definition at line 449 of file srdf_model.cpp.
|
friend |
Definition at line 118 of file srdf_model.h.
|
friend |
Definition at line 119 of file srdf_model.h.
| tesseract_common::AllowedCollisionMatrix tesseract_srdf::SRDFModel::acm |
The allowed collision matrix.
Definition at line 106 of file srdf_model.h.
| tesseract_common::CalibrationInfo tesseract_srdf::SRDFModel::calibration_info |
The calibration information.
Definition at line 112 of file srdf_model.h.
| std::shared_ptr<tesseract_common::CollisionMarginData> tesseract_srdf::SRDFModel::collision_margin_data |
Collision margin data.
Definition at line 109 of file srdf_model.h.
| tesseract_common::ContactManagersPluginInfo tesseract_srdf::SRDFModel::contact_managers_plugin_info |
The contact managers plugin information.
Definition at line 103 of file srdf_model.h.
| KinematicsInformation tesseract_srdf::SRDFModel::kinematics_information |
Contact information related to kinematics.
Definition at line 100 of file srdf_model.h.
| std::string tesseract_srdf::SRDFModel::name { "undefined" } |
The name of the srdf model.
Definition at line 94 of file srdf_model.h.
| std::array<int, 3> tesseract_srdf::SRDFModel::version { { 1, 0, 0 } } |
The version number major.minor[.patch].
Definition at line 97 of file srdf_model.h.