#include <group_meta_config.hpp>
|
| bool | isConfigured () const override |
| | Return true if this part of the configuration is completely set up.
|
| void | loadPrevious (const std::filesystem::path &package_path, const YAML::Node &node) override |
| | Loads the configuration from an existing MoveIt configuration.
|
| void | deleteGroup (const std::string &group_name) |
| void | renameGroup (const std::string &old_group_name, const std::string &new_group_name) |
| const GroupMetaData & | getMetaData (const std::string &group_name) const |
| void | setMetaData (const std::string &group_name, const GroupMetaData &meta_data) |
| void | collectFiles (const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, std::vector< GeneratedFilePtr > &files) override |
| | Collect the files generated by this configuration and add them to the vector.
|
| void | collectVariables (std::vector< TemplateVariable > &variables) override |
| | Collect key/value pairs for use in templates.
|
| | SetupConfig ()=default |
| | SetupConfig (const SetupConfig &)=default |
| | SetupConfig (SetupConfig &&)=default |
| SetupConfig & | operator= (const SetupConfig &)=default |
| SetupConfig & | operator= (SetupConfig &&)=default |
| virtual | ~SetupConfig ()=default |
| void | initialize (const std::shared_ptr< DataWarehouse > &config_data, const rclcpp::Node::SharedPtr &parent_node, const std::string &name) |
| | Called after construction to initialize the step.
|
| virtual void | onInit () |
| | Overridable initialization method.
|
| const std::string & | getName () |
| | The name for this part of the configuration.
|
| virtual YAML::Node | saveToYaml () const |
| | Optionally save "meta" information for saving in the .setup_assistant yaml file.
|
| virtual void | collectDependencies (std::set< std::string > &) const |
| | Collect the package dependencies generated by this configuration.
|
Definition at line 64 of file group_meta_config.hpp.
◆ collectFiles()
| void moveit_setup::srdf_setup::GroupMetaConfig::collectFiles |
( |
const std::filesystem::path & | , |
|
|
const GeneratedTime & | , |
|
|
std::vector< GeneratedFilePtr > & | ) |
|
inlineoverridevirtual |
Collect the files generated by this configuration and add them to the vector.
- Parameters
-
| [in] | package_path | the path to the root of the config package |
| [in] | last_gen_time | The time (if any) when the config package was last generated |
| [out] | files | Where to put the new generated files |
Reimplemented from moveit_setup::SetupConfig.
Definition at line 107 of file group_meta_config.hpp.
◆ collectVariables()
| void moveit_setup::srdf_setup::GroupMetaConfig::collectVariables |
( |
std::vector< TemplateVariable > & | | ) |
|
|
overridevirtual |
◆ deleteGroup()
| void moveit_setup::srdf_setup::GroupMetaConfig::deleteGroup |
( |
const std::string & | group_name | ) |
|
◆ getMetaData()
| const GroupMetaData & moveit_setup::srdf_setup::GroupMetaConfig::getMetaData |
( |
const std::string & | group_name | ) |
const |
◆ inputKinematicsYAML()
| bool moveit_setup::srdf_setup::GroupMetaConfig::inputKinematicsYAML |
( |
const std::filesystem::path & | file_path | ) |
|
|
protected |
◆ isConfigured()
| bool moveit_setup::srdf_setup::GroupMetaConfig::isConfigured |
( |
| ) |
const |
|
overridevirtual |
◆ loadPrevious()
| void moveit_setup::srdf_setup::GroupMetaConfig::loadPrevious |
( |
const std::filesystem::path & | , |
|
|
const YAML::Node & | ) |
|
overridevirtual |
Loads the configuration from an existing MoveIt configuration.
The data can be loaded directly from files in the configuration via the package path.
Certain other pieces of "meta" information may be stored in the .setup_assistant yaml file in the root of the configuration. If there is a node in that file that matches this config's name, it is passed in as an argument.
- Parameters
-
| package_path | The path to the root folder of the configuration. |
Reimplemented from moveit_setup::SetupConfig.
Definition at line 51 of file group_meta_config.cpp.
◆ renameGroup()
| void moveit_setup::srdf_setup::GroupMetaConfig::renameGroup |
( |
const std::string & | old_group_name, |
|
|
const std::string & | new_group_name ) |
◆ setMetaData()
| void moveit_setup::srdf_setup::GroupMetaConfig::setMetaData |
( |
const std::string & | group_name, |
|
|
const GroupMetaData & | meta_data ) |
◆ changed_
| bool moveit_setup::srdf_setup::GroupMetaConfig::changed_ { false } |
|
protected |
◆ default_values_
| GroupMetaData moveit_setup::srdf_setup::GroupMetaConfig::default_values_ |
|
protected |
◆ group_meta_data_
| std::map<std::string, GroupMetaData> moveit_setup::srdf_setup::GroupMetaConfig::group_meta_data_ |
|
protected |
Planning groups extra data not found in srdf but used in config files.
Definition at line 120 of file group_meta_config.hpp.
The documentation for this class was generated from the following files: